 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 20th, 2005, 03:55 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
| Thumb includer script
Prior to upgrading, I was running a script called "thumbincluder.php" that allowed the most recent images to show on my non-photopost home page. Now that I have upgraded - that script no longer works. Does anyone have a new script or an updated thumbincluder.php that will work with the newest photopost?
Patti
|
| |
March 20th, 2005, 03:57 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
Code modifications are posted over at http://www.photopostdev.com however you should be able to make a similar script using the inc_features.php file as a base.
|
| |
March 20th, 2005, 04:28 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
| thumbincluder
Unfortunately - this seems to be a never ending loop!  Over there - they send you to a vbulletin area that you can't access unless you are a premium member - or just lots of other people asking for the same thing.
I am not a PHP programmer - and only know enough to get predone scripts loaded, and running - so unfortunately I don't have a clue on how to adapt the inc_features.php to work.
I'm hoping someone who does know how to do this will post to either the dev site or here so that all the people who were using thumbincluder.php can have it and use it again.
Patti
|
| |
March 20th, 2005, 04:37 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
well it all depends what you need
We have directions to include a photos block on your main forum page here using files we provide PhotoPost Enhanced vB3 Index Integration
You might be able to adapt those instructions to do a home page thing
|
| |
March 21st, 2005, 11:21 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2002 Location: Northern California
Posts: 383
|
If you have vbadvanced, do a search at http://www.vbadvanced.com for reviewpost and pick up the mod for reviewpost. I had it installed and working in about 5 minutes.
Most vbulletin sites do require a verification that you actually own a vbulletin license. It's not a premium member thing, and the license can be expired, they just need to know you have one.
Regards,
Matt
|
| |
March 22nd, 2005, 08:29 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
| Thumbincluder
I am not running a forum like vbulletin, etc... just want them added to a regular shtml home page. I will look at the items noted in previous messages and see if I can figure it out.
Patti
|
| |
March 22nd, 2005, 09:12 AM
|
#7 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
I'm sure you can understand that we didn't write that mod, so we cannot support it here.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
August 12th, 2005, 08:56 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2003
Posts: 84
|
This was posted as a fix - it worked for me - I simply found those two lines in the file and changed them to be exactly as he shows below:
I found a simple fix for the includer I use.
When you have installed 5.0 and up you have to rebuild your thumbnail database first.
Then you have to change only two links since the thumbnails are placed in the 'thumbs' folder.
My links look like:
$filepath = "$data_dir"."$thecat/thumbs/$photo_name.$theext";
$rel_path = "$rel_dir"."$thecat/thumbs/$photo_name.$theext";
See samples: http://www.xboxusersgroup.com (thumbincluder build into vBPortal) http://www.xboxusersgroup.com/forums/games.php (thumbnailer build into a game review hack) http://www.xboxusersgroup.com/gallery/index.php (Our Gallery).
|
| |
August 12th, 2005, 12:46 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
|
Awesome - thank you so much! This has *almost* worked for me!  I it seems to call the right files, shows the poster name, etc - but the image I get is the "no thumb" image, and not the actual image. I looked at the most recent images, and checked to be sure that the thumbnail rebuild finished and had the thumbnails there - and they are.
Any more ideas?
|
| |
August 12th, 2005, 12:49 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2003
Posts: 84
|
Try re-looking at the paths that are suggested. I modified mine and tried it, had the same results.. then I looked real close and saw that they had removed something else from the path. I think it was something like "-thumb" from the end of photo_name. I clipped that off and then it ran ok.
I'm not saying you didn't look mind you, just saying that its something I missed... ;-)
|
| |
August 12th, 2005, 01:02 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
|
You rock! THANKS SO MUCH! My subscribers will be so excited to see these again!!
THANKS AGAIN!
|
| |
January 19th, 2007, 07:11 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 25
|
The problem is database prefixes, we are trying to rewrite to code so one can specify the prefix. If it works, we will post it here.
|
| |
January 19th, 2007, 09:59 PM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 25
| Code: Content visible to verified customers only.
The only change is: Code: Content visible to verified customers only.
Because this can be used for photopost and photopost classifieds, the new versions of each software use different prefixes in the databases. Thus just define your prefix in the above code and it will work with the current versions.
|
| |
April 28th, 2007, 11:21 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
| thumbincluder or inc_features
I have had thumbincluder working on my home page for quite some time. I do not run any bulletin boards, etc. I just have photopost.
I recently moved to a new server. I changed the information in the thumbincluder (that was working fine on the other server) - and now I get a "no thumbnail" image. I didn't change anything else in the file - just the database variables
I have looked around and have seen reference to the inc_features to use instead of thumbincluder - but when I add the information to it - all I get is a blank screen - no errors, no pictures - just a blank page.
Anyone have tips on making this work again?
|
| |
April 29th, 2007, 11:46 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
As we have posted above in our initial reply if you have a question on some external hack which is not a part of Photopost you must post for support in that actual hack thread. We do not support 3rd party hacks or scripts.
|
| |
April 29th, 2007, 10:37 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 110
| Inc_features
Thank you Chuck - yes I understand that you do not support the thumbincluder. I didn't word my question as well as I should have. I was looking for help on the Inc_features. I have it loaded, as I saw several times mentioned that it chould work instead of the thumbincluder - since I was having trouble with the thumbincluder I figured I would try to use the inc_features since it was a supported file.
I have filled in the info in the inc_features, and I don't get any errors at all - just a blank screen when I access it.
I do not have a bulletin board attached to my PP - so I uncommented the lines like it said - but is there something else I need to change to make the inc_features show images?
Patti
|
| |
April 30th, 2007, 08:42 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
well if you dont have vbulletin it might be tough getting that to work but if you get a blank page its no doubt because of the need to uncomment and fill out the mysql database info and lines. Do realize I can not support that file not installed as it is supported to be installed. I can give you some hints. Like in whatever php file your including it after editing inc_features.php with the right database info etc you edit whatever php file you want to include it in and maybe put this changing to your right paths etc
You will no doubt need to hack up that file to match styles etc Code: Content visible to verified customers only.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:09 AM. | |