After setting up a site with PunBB, I started getting a little off-put by the fact I can’t just click “publish” when I make changes. So I went looking for a forum backed that would give me the ability to easily integrate into a RW site that would allow me to easily publish site changes, and I found Vanilla Forum. It’s very, very easy to do, so I decided to type up notes in case I wanted to do it again. In the spirit of giving back to these forums which helped me out, I’m sharing my procedure. Below is a simple step-by-step to implement it. Enjoy!
Note: These directions assume you’re installing Vanilla into a folder named “forum” at the root level of your website.
1. Make a new HTML page called “index.php”. In the Inspector, set the parent folder to “forum”.
2. Adjust style & CSS as appropriate in RapidWeaver.
3. Duplicate this file and make sub pages named as follows. Make sure the parent folder in the Inspector palette is set to “/forum”.
• account.php
• categories.php
• comments.php
• extension.php
• people.php
• post.php
• search.php
• settings.php
• termsofservice.php
4. To the Prefix of each page, add:
<?php ob_start(); ?>
Without this, you’ll get a bunch of PHP errors… This bit of PHP will add any output to a buffer and put it at the end so that RapidWeaver can set your http headers in the middle of it.
5. Download and unzip the Vanilla installation
6. Copy the contents of each Vanilla file into the corresponding RW HTML file created in Step 3
7. In the Vanilla folder, open “themes/vanilla/style/default/”
8. Open “vanilla.css” in your favorite text editor and comment out (or remove):
• in the “body” section: the “background” line
• in the “#Header” section: the “background” line
9. Open “people.css” in your favorite text editor and comment out (or remove):
• entire “a,a:link,a:visited” section
• entire “a:hover” section
• entire “h1”, “h1,h1 a”, and “h1 strong” sections
10. Upload the contents of the Vanilla folder to your webserver to the /forums folder.
11. Publish your RapidWeaver site.
12. Install and test as per Vanilla’s instructions.
From now on, whenever you make any changes to your site, you can just click Publish.