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: How to redirect straight to album pics.  (Read 2431 times)

0 Members and 1 Guest are viewing this topic.

fightrice

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How to redirect straight to album pics.
« on: July 18, 2005, 07:54:58 pm »

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
Logged

Nibbler

  • Guest
Re: How to redirect straight to album pics.
« Reply #1 on: July 18, 2005, 08:10:24 pm »

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

Code: [Select]
pageheader($lang_login_php['login'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");
and before/above it redefine the referer:

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

fightrice

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to redirect straight to album pics.
« Reply #2 on: July 18, 2005, 08:13:38 pm »

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:
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.