Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Getting a users album from their name or ID  (Read 2693 times)

0 Members and 1 Guest are viewing this topic.

nanothree

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 70
    • RockThoseLocks
Getting a users album from their name or ID
« on: March 12, 2005, 06:41:35 pm »

Is there a way of finding out a users album by their username or user id?
« Last Edit: March 14, 2005, 10:27:56 am by TranzNDance »
Logged

Nibbler

  • Guest
Re: Getting a users album from their name or ID
« Reply #1 on: March 13, 2005, 05:08:15 pm »

For the user's user gallery cat, add 10000 to the ID (or better yet use the FIRST_USER_CAT constant if you are working within coppermine). And make sure you add, not concatenate.
Logged

nanothree

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 70
    • RockThoseLocks
Re: Getting a users album from their name or ID
« Reply #2 on: March 14, 2005, 10:09:52 am »

thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.