Login/Registration Page Redirect

Discussion forum for MOD Writers regarding MOD Development.
sleaver
Registered User
Posts: 24
Joined: Tue Jul 28, 2009 11:11 am

Re: Login/Registration Page Redirect

Post by sleaver »

For the one that is built into the template can it have a dynamic redirect and if so how?

Sorry if this is going on but I am a bit confused.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52137
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Login/Registration Page Redirect

Post by Brf »

As I said....
The login form can have a hidden input named "redirect". Its value would be the URL to redirect to.
You can also put the redirect as a parameter in the form's action URL.
comkidwizzer3
Registered User
Posts: 375
Joined: Fri Jul 13, 2007 8:24 am
Location: $user->data['user_location'];
Contact:

Re: Login/Registration Page Redirect

Post by comkidwizzer3 »

In the form use this example (I hope get it right):

Code: Select all

<input type="hidden" name="random" value="URL" />
~My MODs~
Login After Register - v1.0.0 | Custom Ranks MOD - RC

~!Hasher!~
Locked

Return to “[3.0.x] MOD Writers Discussion”