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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 651
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 136
  • Total: 136

Can you set a Default page after login?

Started by gyrene2083, July 19, 2009, 06:47:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gyrene2083

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

ZarPrime

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

gyrene2083

Thank you so much, it is greatly appreciated.

ZarPrime

Sure, no problem.  I will go ahead and mark this solved and if you have problems with it let us know. :up:

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.