Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 09:25 pm EST

Geeklog Forums

Redirection after login


Rob

Anonymous
Ok Here's what I want to be able to do. Right now when a user logs in the site refreshes to index.php. Well I would like it to refresh to wherever they were sent from. So if I require a login in the forum and they go to the forum page and get the "you must be logged in message" when they log in I would like them to be sent to the forum rather than have to navigate back there. But it is not neccesarily always going to sent them to the same place, could send them back to the forum, the store, filemgmt etc...
Now the hard part, I don't even know where to begin on this hack, or could I get lucky and only need to reconfigure config.php??

-Rob
 Quote

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
Geeklog already does that by default. Try going to a forum page here on geeklog.net and login. Assuming you use the correct userid/passwd combo, you'll be redirected back to the page you came from.

-Vinny
 Quote

All times are EST. The time is now 09:25 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content