TinyPortal

Development => Support => Topic started by: Zugluk on May 15, 2008, 01:44:44 AM

Title: how can i keep the users from going straight to the forum after loggin in?
Post by: Zugluk on May 15, 2008, 01:44:44 AM
when a user logs in to my site they go straight to the forums instead of logging in and staying at the front page where the news ect is.  Is there a setting somewhere i'm missing?
Title: Re: how can i keep the users from going straight to the forum after loggin in?
Post by: IchBin on May 15, 2008, 02:02:47 AM
This question has been asked at least 15 times since the release of TP 1.0 beta....
Title: Re: how can i keep the users from going straight to the forum after loggin in?
Post by: Zugluk on May 15, 2008, 02:04:11 AM
i'm sorry :(
Title: Re: how can i keep the users from going straight to the forum after loggin in?
Post by: Zugluk on May 15, 2008, 02:24:43 AM
here is the solution just in case anyone else is looking..

http://www.tinyportal.net/index.php?topic=23213.msg188221#msg188221

If you want to change it for all though, you can do that too. Open up Sources/Subs.php and find:
Code:

function redirectexit($setLocation = '', $refresh = false, $tp_not = false)

replace with:
Code:

function redirectexit($setLocation = '', $refresh = false, $tp_not = true)
Title: Re: how can i keep the users from going straight to the forum after loggin in?
Post by: Ken. on May 15, 2008, 02:41:48 AM
You found it... good for you Zugluk.  :up:

Marking this one as solved.
Title: Re: how can i keep the users from going straight to the forum after loggin in?
Post by: G6Cad on May 15, 2008, 06:17:43 AM
Always when you post code in the posts, please use the code tags or the code might not be working.

I edited the posts and added the codetags to it.