View Full Version : vbulletin 3.0.7 and PP 5.11 - Forum integration not working
June 17th, 2005, 07:24 PM
Well, I just upgraded to PP 5.11, but now the "Featured Photos" box on my forumhome does not work...so I've tried to re-do the inc_photopost file, just like it says in the guide, but when I replace the new file with it, I get the following error when I try to view my site:
Fatal error: Cannot redeclare pp_get_ext() (previously declared in /home/global/public_html/pictures/inc_features.php:66) in /home/global/public_html/pictures/inc_photopost.php on line 36
Is there a more recent version of the file?
June 17th, 2005, 10:34 PM
You would need to replace both files in the new distribution to the photopost directory. Your still using an old inc_photopost.php file
June 17th, 2005, 11:09 PM
ok...but the new inc_photopost.php file does not have a place for me to insert my database info like the old one did...therefore I can't get my featured photos box working...that is my question.
How do I get that working again?
go to http://www.globalpaw.com, you'll see the featured photos box is blank.
June 18th, 2005, 09:02 AM
features photos are inserted using inc_features.php not inc_photopost.php
June 18th, 2005, 11:24 AM
I'm starting to think you and I are not on the same page, because none of this is making sense for my situation.
You see how the featured photos page on my forumhome is now blank, right? Well, the method that I got of this site to set that up includes an inc_photopost.php file and a readme file. The inc_photopost.php file has all that setup information, and the file aven adds a line that calls to that file as well...
// ######################### REQUIRE BACK-END ############################
So, now how do I not use that anymore? This is all very confusing which is why I asked if there was an updated file...or an updated method for adding pictures to my forumhome.
Please see http://www.globalpaw.com to see how the featured photos page is no longer working.
June 18th, 2005, 04:11 PM
This is what you want to read. It will tell ya what ya want to know
As I stated the new files are inc_features.php and inc_photopost.php files are all new. You got an error trying to use inc_features.php because you still had an old inc_photopost.php file included also instead of uploading the new one which does not have the pp_get_ext in it anymore.
June 18th, 2005, 04:20 PM
the only way i could get it to work is to put include ('./photopost/inc_features.php'); in the index.php on the forums
June 18th, 2005, 04:43 PM
Yes thats correct inc_features.php has the thumbnail block and inc_photopost just now has the categories display. They are separated into two files.
June 18th, 2005, 06:20 PM
June 18th, 2005, 06:57 PM
Well...now I'm confused.
I've done everything I needed to do, but I'm not seeing the pictures in the featured photos box...does anyone have any ideas?
see the forum home here: http://www.globalpaw.com/home.php
June 18th, 2005, 08:35 PM
Thats because the file does not pull pictures from the members gallery and thats all you have. You can adjust the query to pull members gallery pics by removing the following in the query lines
AND p.cat != 500
June 18th, 2005, 08:43 PM
ahh, I forgot that I had to do that before.
Thanks for putting up with me :D
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.