How to redirect straight to album pics. How to redirect straight to album pics.
 

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

How to redirect straight to album pics.

Started by fightrice, July 18, 2005, 07:54:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fightrice

Ok heres what i need done, just don't know how to/ if it can be done.

I run a photography site, and have chosen Coppermine for the software of course, and what i want to happen is when Client A logs in, they go straight to their album without having to go threw all the other screens, or better yet, if i could have them enter their username and password and then just have their images all appear on the page immeadiately. Any help would be appreciated. thanks

Nibbler

You can redirect to the users user gallery caetgory if you look in your login.php for

pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");

and before/above it redefine the referer:

$referer = "index.php?cat=" . (FIRST_USER_CAT + $USER_DATA['user_id']);

fightrice

Sweet, so if i made a page with clients names, then they clicked their name, i could link it to the login.php script somehow, and then it will take them directly to their album :woot: