coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: lordprodigy on February 18, 2006, 11:15:21 PM

Title: registration confirmation redirect
Post by: lordprodigy on February 18, 2006, 11:15:21 PM
I was wondering, if its possible to redirect users to the login.php after users have confirmed their registration (link sent by email), as oppose to the index page of the gallery. I think it makes more sense to do that, assuming people want to get in right away. What do you guys think?
Title: Re: registration confirmation redirect
Post by: Nibbler on February 18, 2006, 11:32:19 PM
Then change index.php to login.php in register.php
Title: Re: registration confirmation redirect
Post by: lordprodigy on February 20, 2006, 01:19:11 AM
Thanks a lot! It works. I changed:
msg_box($lang_register_php['information'], $lang_register_php['thank_you'], $lang_continue, 'index.php');
to
msg_box($lang_register_php['information'], $lang_register_php['thank_you'], $lang_continue, 'login.php');

thread solved :)