View Full Version : inc_features.php
June 18th, 2008, 09:52 AM
I am trying to use the included inc_features.php file included with photopost to display a row of 4 pictures on a php page which Im calling main.php
Main.php is located in the same directory as my PhotoPost folder and Im calling inc_features.php using the following,
When I load main.php I get a picture place holder for a missing image called collapse_tcat.gif with the words Featured Photos next to it.
Am I using this file in the correct way?
June 18th, 2008, 10:21 AM
Well if everything works yes your using it right. However that file was written for vbulletin so you would have to modify it and remove any vbulletin html coding
June 18th, 2008, 11:55 AM
Its not working right, the blank placeholder is all I am getting! Would the vbulletin HTML stop the 4 recent pics from displaying?
June 18th, 2008, 12:09 PM
I think you would need to include the vBulletin global.php file in your vB dir... might work then :D but who knows....
June 18th, 2008, 01:04 PM
If your getting a black thumbnail you must ensure the data url and table prefix is filled out in edit integration in Admin. As noted this plugin is designed for vbulletin and not an external page.
You have a link?
June 18th, 2008, 03:38 PM
Main.php is running here,
Art Of Hoops - Main Page (http://www.artofhoops.com/main.php)
PhotoPost is running here,
My Photo Gallery - Main Index (http://www.artofhoops.com/gallery)
The output from inc_features.php is in the wide box towards the top of the page.
June 18th, 2008, 10:05 PM
Thanks for the info and help, I found the answer in this post,
After making the code adjustments I ended up with black thumb nails, which as you had sugested was a problem with the data path in the intergration config, it just needed a / adding to the end!
June 19th, 2008, 07:46 AM
Not a problem glad your custom file is working. Let us know if there is anything else we can do to assist.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.