Wondering how to install BellaBuzz into your WordPress-powered site? The tutorial below will help you to do it easily.
Step 1
Download BellaBuzz here.
Step 2
Unzip the folder. Look for the prefs.php file and then customise it.
Step 3
Open up questions.php. Look for these lines:
require('prefs.php')?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>BellaBuzz</title> <style type="text/css"> * { font: 11px/15px Verdana, Sans-Serif; } .question { font-weight: bold; font-size: 12px; } .answer { font-style: italic; } .dates { display: block; text-align: right; font-size: 10px; } </style> </head> <body>
Replace those lines with these:
require('prefs.php'); include('/your/absolute/path/wp-blog-header.php'); get_header(); ?>
Replace /your/absolute/path/ with your real absolute path. Keep wp-blog-header.php as it is. Do not change it.
Step 4
Next, look for these 2 lines:
</body> </html>
Replace them with:
<?php get_footer(); ?>
Extra
To include sidebar in your questions.php file, this is what you do.
Step 1
Add this line before the code for the footer call:
<?php get_sidebar(); ?>
Save the file.
Step 2
Open up ask.php. Look for these lines:
?> Your question was successfully added thank you! <a href="questions.php">Return to questions?</a>
Replace that with:
include('/your/absolute/path/wp-blog-header.php'); get_header(); ?> Your question was successfully added thank you! <a href="questions.php">Return to questions?</a> <?php get_footer(); ?>
Step 3
If you wish to include the sidebar into this file, add the sidebar code before the footer call.
Upload all the files in the BellaBuzz folder into a directory on your site. You may name the directory with whatever name you want.
Don’t forget to CHMOD the .txt files (answered.txt and unanswered.txt) to 666.
Now everything’s done. You have successfully integrated BellaBuzz into your WordPress!