1
faheja
Help! how to redirect from login
  • 2005/12/11 9:25

  • faheja

  • Just popping in

  • Posts: 11

  • Since: 2005/11/16


Hey,
How do i manually redirect what module your homepage is?
Like when you login what file would i need to edit to say where they end up after loggin in?

I need to know how to do it manually without going through xoops.


thanks

- Jonathan

2
indiear
Re: Help! how to redirect from login
  • 2005/12/11 10:22

  • indiear

  • Just popping in

  • Posts: 31

  • Since: 2004/11/16


Open checklogin.php in the includes folder, look for:


if (!$allowed) {redirect_header(XOOPS_URL.'/index.php', 1, _NOPERM);exit();

(this should be line 70)

Change '/index.php' to the page you want to redirect to.

Make a backup of this file incase you have problems, I did this and it worked for me but backup original file is a good thing

Login

Who's Online

260 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits