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

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

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,