PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   inc_features.php (http://www.photopost.com/forum/photopost-pro-installation-upgrades/136978-inc_features-php.html)

gothmandave June 18th, 2008 09:52 AM

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.
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?

Chuck S 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

gothmandave 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?

b6gm6n 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....

Chuck S 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?

gothmandave June 18th, 2008 03:38 PM

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.

gothmandave June 18th, 2008 10:05 PM

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!

Chuck S 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.


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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97