XF 1.1 login Redirect

time

Active member
How to login as a member, Redirect to another page

For example, members are at home, after logging in, Redirect to the topic id = 3
 
Edit the login_bar_form template and change this:

Code:
<input type="hidden" name="redirect" value="{$requestPaths.requestUri}" />

To this:
Rich (BB code):
<input type="hidden" name="redirect" value="{xen:link 'threads/thread-title.id/'}" />

Change thread-title.id to the actual thread title and ID.
 
Last edited:
How to redirect users to "Home" after login?
Something like this?
Rich (BB code):
<input type="hidden" name="redirect" value="{xen:link 'Home/'}" />

Thank you for your time.


Edit the login_bar_form template and change this:

Code:
<input type="hidden" name="redirect" value="{$requestPaths.requestUri}" />

To this:
Rich (BB code):
<input type="hidden" name="redirect" value="{xen:link 'threads/thread-title.id/'}" />

Change thread-title.id to the actual thread title and ID.
 
Hi all,
Is this still achievable in 1.5.20?
I see 2FA could be an issue, but will this work?
EDIT;
I actually want to redirect to a page if that's possible.
 
Last edited:
Top Bottom