coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: bacil on April 17, 2006, 06:23:51 PM

Title: All users photos
Post by: bacil on April 17, 2006, 06:23:51 PM
Hi there,

i have read several threads about this or simillar topic, but as it stands no exact answer there. I know it os possible to show users all uploads by clicking on right picture in his/hers profile.

BUT QUESTION IS HOW TO DO IT FOR MYSELF ?

It is about how registered user can see all his/hers photos, does the user needs to find his/hers photo then click on the name to get to his/hers profile ?

So here is idea ... there is my profile link already with op=edit_profile on link, can we somehow alter this link to go to the profile with those two links and have there edit link ?

Thanks

Bacil :-)
Title: Re: All users photos
Post by: Nibbler on April 17, 2006, 07:02:05 PM
The link is thumbnails.php?album=lastupby&uid=xxx. Make the link wherever you like, using USER_ID to get the current user's id.
Title: Re: All users photos
Post by: bacil on April 17, 2006, 07:31:48 PM
Quote from: Nibbler on April 17, 2006, 07:02:05 PM
The link is thumbnails.php?album=lastupby&uid=xxx. Make the link wherever you like, using USER_ID to get the current user's id.

Thanks,

so the option is to use thumbnails.php?album=lastupby&uid= in custom menu but i am not sure how to pass there USER_ID just did few test and none of them worked.

Bacil
Title: Re: All users photos
Post by: Nibbler on April 17, 2006, 08:09:10 PM
Post your code.
Title: Re: All users photos
Post by: bacil on April 17, 2006, 08:21:13 PM
Ok,

here it is.

thumbnails.php?album=lastupby&uid='.$USER_ID.'

in link for custom link .. that was last test.

Bacil