forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: Grendel on January 30, 2006, 05:46:54 pm

Title: Use the Username for the users picture directory name.
Post by: Grendel on January 30, 2006, 05:46:54 pm
It would be nice if CPG could use a username for the userpics directory name. It would help in serving alot of functions when trying to integrate CPG features into other platforms etc.  Mostly for account level access integration and other types of CMS plugins.

Here is an example.  username: skippy would have a picture directory of /albums/userpics/skippy/  instead of /albums/userpics/10001/ .
Title: Re: Use the Username for the users picture directory name.
Post by: Tranz on January 30, 2006, 06:32:40 pm
That would then limit the kinds of usernames people can have. The directory structure is more strict about allowed characters. This might benefit some people so you're welcome to code it but it's not helpful to most people.

Thank you for taking the time to provide feedback.
Title: Re: Use the Username for the users picture directory name.
Post by: Grendel on January 30, 2006, 06:38:03 pm
I understand the issues around limiting the usernames. Yet couldn't it be configurable with options to turn it on or off?  Many times when integrating CPG with CMS or other applications it uses a bridge that manages username issues.
Title: Re: Use the Username for the users picture directory name.
Post by: Nibbler on January 30, 2006, 06:44:55 pm
It's based on the userid, if you have integrated coppermine with something then it would be easier to use the userid than the username for whatever it is you are trying to do.