![]() |
inc_features.php 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, Code: Content visible to verified customers only.Am I using this file in the correct way? |
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 |
Its not working right, the blank placeholder is all I am getting! Would the vbulletin HTML stop the 4 recent pics from displaying? |
I think you would need to include the vBulletin global.php file in your vB dir... might work then :D but who knows.... |
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? |
Main.php is running here, Art Of Hoops - Main Page PhotoPost is running here, My Photo Gallery - Main Index The output from inc_features.php is in the wide box towards the top of the page. |
Thanks for the info and help, I found the answer in this post, http://www.photopost.com/forum/photo...ml#post1226133 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! |
Not a problem glad your custom file is working. Let us know if there is anything else we can do to assist. |
| All times are GMT -5. The time now is 08:04 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0