Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Use the Username for the users picture directory name.  (Read 3388 times)

0 Members and 1 Guest are viewing this topic.

Grendel

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Use the Username for the users picture directory name.
« 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/ .
« Last Edit: January 30, 2006, 06:33:22 pm by TranzNDance »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Use the Username for the users picture directory name.
« Reply #1 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.
Logged

Grendel

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Use the Username for the users picture directory name.
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: Use the Username for the users picture directory name.
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.