PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | |

Go Back   PhotoPost Community > General Forums > PhotoPost Product FAQs

PhotoPost Product FAQs Answers to your most frequently asked questions about all our products.

Closed Thread
Thread Tools Rate Thread Display Modes
Old November 16th, 2004, 11:35 AM   #1
Michael P
PhotoPost Developer
Verified Customer
Join Date: Jan 2002
Posts: 11,833
PhotoPost Enhanced vB3 Index Integration

If you plan to integrate PhotoPost into your vB3 Main Index like we do on PhotoPostDev.Com, you can now use the included (and supported!) files inc_photopost.php and inc_features.php

inc_photopost.php is used to integrate a gallery listing into your forums
inc_features.php is used to add a "featured photos" box to your Main Index

We recommend installing PhotoPost into your vB database, doing so will prevent the need to swtich databases for PhotoPost access.


You have two options for integrating the galleries into your setup -

Type 1: As at PhotoPostDev.Com, you can put the galleries into their our "section", or
Type 2: You can list the galleries inside the same table as your forums.

By default we made $pp_headers = "yes"; so that it will create a section of galleries to include in your forum. If you want to list them in the same table (Type 2), you would set this to "no" so that it does not include the table wrappers.

Installation Instructions
1) Assuming you have already configured your config-int.php file, you can modify the first section in inc_photopost.php and inc_features.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. If your username password is different to connect to the databases then you will need to uncomment the $link statement and fill in the proper variables for the host username and password to access the photopost database

2) Upload the scripts to your PhotoPost 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 ############################


1) In your vB templates, select Forum Home Templates and edit the FORUMHOME template.

To include the PhotoPost "features" box, add the variable $photopostfeature to your template:


This places the feature at the top of the forum (as done on our site).

1) Down lower, to add your gallery section, add the $photopostcats variable under your Main section:

<!-- /main -->
<br />
<br />

You can also place the $photopostfeature above the $photopostcats if you wish to move your features to just above the gallery section.

1) Down lower, to add your galleries into your forum table, add $photopostcats under the $forumbits variable:

Content visible to verified customers only.
Then click SAVE and your Forum Index should be displaying your PhotoPost galleries on your forums!
Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 18th, 2006 at 07:10 AM.
Michael P is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.8.5 vB3 Enhanced Integration Instructions Michael P PhotoPost Product FAQs 0 November 16th, 2004 11:27 AM

All times are GMT -5. The time now is 01:42 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.