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: Change continue link after register?  (Read 2962 times)

0 Members and 1 Guest are viewing this topic.

iblazed

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Change continue link after register?
« on: January 28, 2006, 07:02:36 am »

After a user registers they get a message "Your account is now active and you can login" with a continue button. The continue button currently links to index.php how can I change it so it links to login.php?
I appreciate any help on this. Everything I have tried hasn't worked. Thanks
« Last Edit: January 28, 2006, 03:03:10 pm by TranzNDance »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Change continue link after register?
« Reply #1 on: January 28, 2006, 08:35:22 am »

What have you tried?  There are a number of places in register.php where continue message boxes are sent with a link to 'index.php'.  For example, this is the one with the message you mentioned ("your account is now active ..."):
Code: [Select]
msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
You should be able to change 'index.php' to 'login.php' on this line.  The other message boxes are for various possibilities of the config settings for admin activation and valid email.  For whatever page you want the continue to link to the login page, look for the message on the page, find it in lang/english.php, then find the key value (like 'acct_active' above) in register.php and change the line as desired.
Logged

iblazed

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Change continue link after register?
« Reply #2 on: January 28, 2006, 02:54:45 pm »

That worked. I don't know how I missed that. Thanks for your help.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.