PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old September 2nd, 2009, 11:34 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 117
Add Username to Filename

Is there a way to add the username to the filename at the time of upload? For example, if the user uploading is named John and the file is 0001.jpg it would be named John-0001.jpg?
ghinton is offline   Reply With Quote
Old September 2nd, 2009, 12:39 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Possibly in pp-inc.php you could try adding this line in bold where noted in the fixfilenames function

Code:
Content visible to verified customers only.
__________________
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 September 2nd, 2009, 01:14 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 117
Thanks Chuck! But this one is for vbGallery not Photo Post, or I am missing the pp-inc.php file then. I would think it is somewhere in the upload.php file, but everything I try causes error messages.
ghinton is offline   Reply With Quote
Old September 2nd, 2009, 01:51 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
ah yeah did not see that. I dont know off the top of my head how to do that
__________________
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
Sort by Filename DieselStorm Photopost Pro How Do I...? 1 January 18th, 2008 12:36 PM
Corrupt tumbnames, mismatch between server filename, and dB filename imported_tamarian Installs and Upgrade - vBulletin 3.0.X 3 March 7th, 2005 11:06 AM


All times are GMT -5. The time now is 02:32 AM.

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