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 May 17th, 2006, 11:07 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 56
Add user number to file name

Awhile back (over a year ago), our version of PhotoPost would add the member number to the beginning of a filename when they uploaded their files. So for example, if user #9 uploaded a photo named "test.gif", the filename would end up being "9test.gif". The newer versions of PhotoPost don't do that anymore. How can I change it so it goes back to appending the number to the beginning of the file name?

Recently we've had a few occasions when 2 members tried to each upload a photo that happened to be the same file name (at approximately the same time) -- and one member's photo ended up overwriting the other's. (So member A's photo was showing up in member B's gallery!) We're thinking if the usernumber was appended to the filename again, it would eliminate this from happening.
kwrd is offline   Reply With Quote
Old May 18th, 2006, 07:00 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
If a photo is uploaded with the same name as a photo that already exists then the photo is renamed with a number prepended on the end.

If you would like to prepend the userid onto files you may post questions in the mod corner on code modification as we support our files as they are distributed.
__________________
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 May 18th, 2006, 08:22 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 56
Usually it does that -- but we've had a few instances where they uploaded the same file name at the same time -- and that's when the problem comes in. (It seems like it would be a rare occasion but it's happened several times now.)
kwrd is offline   Reply With Quote
Old May 26th, 2006, 06:22 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2004
Posts: 56
I haven't gotten any assistance in the Mods area, so can you please direct me to which PhotoPost file determines the filename (so I know which file I need to update)?

Also, are past versions of PhotoPost available for download? Maybe if I look at the code from previous versions (where the user number was made part of the filename), I could use that to figure this out...
kwrd is offline   Reply With Quote
Old May 26th, 2006, 07:05 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
There is no past code versions for download no. Most of the filenaming is within uploadphoto.php bulkupload.php and image-inc.php
__________________
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
Limit Number of Classifieds by One User ldk Classifieds Suggestions 21 July 23rd, 2007 03:08 PM
limit number of pictures user uploads? ncg Photopost Pro How Do I...? 3 April 19th, 2006 10:21 AM
File Size adjustments - number of posts per day vegascoug Photopost Pro Installation & Upgrades 11 October 10th, 2005 11:20 PM
Add an Number of thumbnails to process next? criscokid Photopost Pro How Do I...? 1 June 16th, 2005 09:31 PM


All times are GMT -5. The time now is 11:41 PM.

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