If you plan to integrate ReviewPost into your vB3 Main Index you can now use the included (and supported!) files inc_reviewpost.php and inc_reviews.php
inc_reviewpost.php is used to integrate a review category listing into your forums
inc_reviews.php is used to add a "featured reviews" box to your Main Index
We recommend installing ReviewPost into your
vB database, doing so will prevent the need to swtich databases for ReviewPost access.
Installation Instructions
=========================
1) Assuming you have already configured your config-intr.php file, you can modify the first section in inc_reviewpost.php and inc_reviews.php to customize your layout. Follow the instructions in the Configuration section for any options which you can set.
If you have PhotoPost and
vB in different databases, you'll need to scroll to the bottom of the script and uncomment the mysql_select_db() command (on line 26) and insert your
vB database name and uncomment the mysql_select_db on line 310 and add your vB3 database in quotes.
2) Upload the scripts to your ReviewPost directory.
These next steps involve changes to your vBulletin script files - this is necessary as you plan to display these items from within your
vB forums.
3) In your
vB index.php file, you will need to add two lines under under these four:
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('../reviewpost/inc_reviews.php');
include('../reviewpost/inc_reviewpost.php');
NOTE ABOVE PATHS ARE EXAMPLES. Change to the actual full path or correct short path.
vB TEMPLATE ADDITIONS
=====================
1) In your
vB templates, select Forum Home Templates and edit the FORUMHOME template.
To include the PhotoPost "features" box, add the variable $reviewpostfeature to your template:
$header
$navbar
$reviewpostfeature
This places the feature at the top of the forum
TYPE 1
------
1) Down lower, to add your reviewpost section, add the $reviewpostcats variable under your Main section:
<!-- /main -->
<br />
$reviewpostcats
<br />
You can also place the $reviewpostfeature above the $reviewpostcats if you wish to move your features to just above the reviewpost category section.
TYPE 2
------
1) Down lower, to add your galleries into your forum table, add $reviewpostcats under the $forumbits variable:
Code:
Content visible to verified customers only.
Then click SAVE and your Forum Index should be displaying your ReviewPost categories on your forums!