Menu: change "my gallery" to "latest uploads" Menu: change "my gallery" to "latest uploads"
 

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]

Main Menu

Menu: change "my gallery" to "latest uploads"

Started by Carolynne, November 16, 2016, 01:57:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Carolynne

I do apologize if this question has been answered. I have searched to try to find my answer but am having no luck. In essence what I want to do is have a link a user's navigation menu that takes each individual user to all of their uploads.

Basically I would like to change the menu option of "My Gallery" to the "Latest uploads" of each specific user. So when a user is logged in and they click "My gallery" (is there a way to change this text as well?), it will take them to their latest uploads. Exactly as if they were in their profile and click on "Click here to see all uploads by USER."

In my theme.php file, I have tried to replace: '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id", with: '{MY_GAL_TGT}' => "thumbnails.php?album=lastupby&uid='.$userID.'", but that doesn't work to go to a specific user's uploads.

Does anyone know how to do this? Thanks.

Gallery link: https://creativescrapbooker.ca/sketchy

ΑndrĂ©

Quote from: Carolynne on November 16, 2016, 01:57:13 AM
In my theme.php file, I have tried to replace: '{MY_GAL_TGT}' => "index.php?cat=$my_gallery_id", with: '{MY_GAL_TGT}' => "thumbnails.php?album=lastupby&uid='.$userID.'", but that doesn't work to go to a specific user's uploads.

You need to replace it with
'{MY_GAL_TGT}' => "thumbnails.php?album=lastupby&uid=".USER_ID,