Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: Shades. on September 21, 2021, 07:16:48 PM

Title: Redirect after login
Post by: Shades. on September 21, 2021, 07:16:48 PM
Was searching for a way to change where the board redirects after login and found this thread but no final answer:
https://www.simplemachines.org/community/index.php?topic=531515.0

Maybe it was answered somewhere else?

I can see where it could be irritating if you're in a forum with 4 or 5 (even 2 or 3) sublevels and decided to login and get redirected back to the index and lost your place. Happens to me all the time, horrible..lol! :o

Is there a way to change the redirect after login? :)
Title: Re: Redirect after login
Post by: Diego Andrés on September 21, 2021, 08:02:08 PM
There was this mod https://www.simplemachines.org/community/index.php?topic=398387.0
Maybe it's still on their website?
Also doubt it works with 2.1 out of the box
Title: Re: Redirect after login
Post by: Shades. on September 21, 2021, 09:13:21 PM
Thanks thats a good starting place but don't think it will work on 2.1 either! :)  Last update was September 10, 2015 ;)

(and the site is still 2.0.17)
Title: Re: Redirect after login
Post by: ozp on September 22, 2021, 07:53:31 AM
How do you login?
On my test forum, if I go into a board or a topic, and click the login link in the top bar, and then login using the login popup box, it will stay in the same page after login.

Is this not working for you?
Title: Re: Redirect after login
Post by: Shades. on September 22, 2021, 03:57:53 PM
Actually yes (I didn't think it did in my first post, but it does you're right) but what I want is to be able to redirect the login somewhere else after login if it was possible! :)
Title: Re: Redirect after login
Post by: Doug Heffernan on September 22, 2021, 04:34:30 PM
Quote from: Shades. on September 22, 2021, 03:57:53 PMActually yes (I didn't think it did in my first post, but it does you're right) but what I want is to be able to redirect the login somewhere else after login if it was possible! :)

Do you mean to redirect your members to a certain url after they log in at your forum? If so, you will need a custom mod for that.