TinyPortal

Development => Support => Topic started by: gyrene2083 on July 19, 2009, 06:47:28 PM

Title: Can you set a Default page after login?
Post by: gyrene2083 on July 19, 2009, 06:47:28 PM
Hello All,

I was just curious, if it's possible to set a default page after you login. Right now it defaults to the forum page, and I would like it to stay on the frontpage after a user logs in.

Any help would be greatly appreciated.

-Semper Fi
gyrene2083
Title: Re: Can you set a Default page after login?
Post by: ZarPrime on July 19, 2009, 07:09:25 PM
Hi gyrene2083,

Currently this is not a feature of TinyPortal.  However, it has been requested as an enhancement for a future version of TP.  At the present time, if you would like to default to the Front Page instead of the Forum, do the following ...

Quote from: Bloc on April 10, 2008, 04:21:12 PM
If you want to change it for all though, you can do that too. Open up Sources/Subs.php and find:
function redirectexit($setLocation = '', $refresh = false, $tp_not = false)

replace with:
function redirectexit($setLocation = '', $refresh = false, $tp_not = true)


ZarPrime
Title: Re: Can you set a Default page after login?
Post by: gyrene2083 on July 19, 2009, 07:14:49 PM
Thank you so much, it is greatly appreciated.
Title: Re: Can you set a Default page after login?
Post by: ZarPrime on July 19, 2009, 07:22:48 PM
Sure, no problem.  I will go ahead and mark this solved and if you have problems with it let us know. :up:

ZarPrime