Back to vBulletin 3.5 Add-ons

Photopost 5.21 Forum Thumbnails for vb 3.54
Mod Version: 1.00, by TOZ

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 3
Released: 29 Mar 2006 Last Update: Never Downloads: 0
Not Supported Code Changes  

Photopost 5.21 Forum Thumbnails for VB 3.54

After playing around with this I finally got it right, here is my final advise.
This is for people that has the photopost software in a different database name from your vbulletin.

Black bold letter (changes made to the files)
Green letters: Instructions

1st.
In your Forum index.php file from VB 3.54

Find:
require_once('./global.php');

require_once(DIR . '/includes/functions_bigthree.php');
require_once(DIR . '/includes/functions_forumlist.php');
*******************************************************
Under these add:
include(DIR . '/photopost/inc_features.php');
include(DIR . '/photopost/inc_photopost.php');
Where "photopost" is, make sure is your correct path if you changed it.

2nd:
Edit your file: inc_features.php (From Photopost)
Edit your file: inc_photopost.php (From Photopost)

inc_photopost.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");

In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.

On line: 310 ( The very last part of the file)
Find:
// If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database!
//mysql_select_db ("vb_bulletin");
In here, delete the 2 green slashes and replace the black bold with your vbulletin database name; Example: vb_bulletin or vb_whatevernameitis.

Save and upload to your FTP photopost directory, Done.

inc_features.php:
On line 26 (On inc_photopost.php file)Find:
//mysql_select_db ("vb_photopost")or die("Could not select photopost database");
In here, delete the 2 green slashes and replace the black bold with your photopost database name; Example: vb_photopost or vb_gallery, how ever you named your photopost databse.

Save and upload to your FTP photopost directory, Done.
*********************************************************

3rd.
Now, the last thing to do:
Go to your Style manager, select and Edit FORUMHOME
Right under $navbar, or where ever you wanna ad the thumbnails box,
ad this command: $photopostfeature
*********************************************************

Well I hope this help to set up your Random Thumbnail box on your Forumhome page.

Danny

Download

No files for download.

Similar Mods

Add PhotoPost Pro to each forum. vBulletin 3.5 Add-ons
Thumbnails of Attachments on Forum-Display vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024