PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 1st, 2008, 07:03 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
How do I fix my script to show the right data dir for thumbs?

I have one of those scripts that makes an HTML block of the latest photopost pics.

It has this bug where when someone uploads to a board other than member galleries it thinks the thumb is in another data dir.

Example..
http://www.3reef.com/photos/data/531.../NI37876-4.jpg (correct)
It thinks it is in data dir 503 and puts:
http://www.3reef.com/photos/data/503.../NI37876-4.jpg

This bug is just for the thumbnails. It links correctly to the full image.

Do see what is wrong here?

Code:
Content visible to verified customers only.
caliman is offline   Reply With Quote
Old November 1st, 2008, 07:09 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
Here is the HTML output (the 2nd and 3rd thumb are incorrect):

Code:
Content visible to verified customers only.
caliman is offline   Reply With Quote
Old November 1st, 2008, 07:12 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
Actually this may be more than a data thumb dir issues as you will note that the same thumbnail name is used for 1-3 above.
caliman is offline   Reply With Quote
Old November 1st, 2008, 07:16 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
It also seems to think 'member galleries' is the photo name toward the bottom. I am confused.
caliman is offline   Reply With Quote
Old November 2nd, 2008, 08:26 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
There are no bugs in the code. I am not sure what your asking really. The photo would be located in whatever numeric category under data the user uploaded it to. If its members gallery its 500 otherwise if they upload to another directory its that one. Our scripting pulls the proper category id from the photos table of the photo so if your using some custom code you could have issues with that code.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 2nd, 2008, 04:20 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
The problem: This script shows a black (null) thumbnail if the photo was uploaded to any other photo gallery category than the member gallery one.

Do you have a link to an updated version of a script like this?
caliman is offline   Reply With Quote
Old November 2nd, 2008, 07:17 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
I do not know what you mean by an updated script. Our files are current and work fine so I am not really sure what script your referring to. If your using a hack then you might need to post in a hack thread otherwise you need to give explicit url links to what you mean where.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 3rd, 2008, 03:09 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 109
Sorry Chuck. I believe I am using a hack if it doesn't look familiar to you. I will look for your scripts to do this. Do you have a link handy?
caliman is offline   Reply With Quote
Old November 3rd, 2008, 07:24 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,654
well I am not real sure what or where your doing what your doing so its hard to suggest anything without seeing the issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
bug on the SMF integration script [and fix] omriamos Classifieds Bug Reports 9 March 1st, 2007 08:30 AM
data dir on separate server? funfry Photopost Pro Installation & Upgrades 1 March 31st, 2005 07:40 AM
major fault, all photo's cleared from data dir snyx General Discussion 8 March 15th, 2005 08:26 PM
Data Dir Problems davidthornton Photopost Pro Installation & Upgrades 1 December 29th, 2004 10:16 PM


All times are GMT -5. The time now is 01:37 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0