TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 25, 2024, 02:42:19 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,197
  • Total Topics: 21,221
  • Online today: 144
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

how can i keep the users from going straight to the forum after loggin in?

Started by Zugluk, May 15, 2008, 01:44:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Zugluk

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?

IchBin

This question has been asked at least 15 times since the release of TP 1.0 beta....


Zugluk

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)

Ken.

You found it... good for you Zugluk.  :up:

Marking this one as solved.
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

G6Cad

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.