1
jmass
Logon redirection?
  • 2004/8/2 16:13

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


Any ideas why sometimes when I log in to my XOOPS site it takes me to my user profile and other times back to the page I was at when I logged in? I would like to always go back to where I was at.

JMass

2
tl
Re: Logon redirection?
  • 2004/8/2 17:48

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Xoops keeps track the page url (re-direct) when you first attempt to log in.

But if you were to log into the system in the second try or the third try, your re-direct page would always be user.php (user profile), since XOOPS had lost your previous re-direct url (first try).

You could change the "default" user profile page by modifying the user.php file, but I don't think you could recover the first try url without major hacks (I could be wrong on this)


3
tjnemez
Re: Logon redirection?
  • 2004/8/2 17:54

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


for me redirect takes me to user profile when my first login is incorrect, otherwise it always returns me to home, no matter what module i am in. i know this may be a simple edit, but i have never pursued it.

edit: in reference to my own sites.

4
tl
Re: Logon redirection?
  • 2004/8/2 18:01

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:

tjnemez wrote:
for me redirect takes me to user profile when my first login is incorrect, otherwise it always returns me to home, no matter what module i am in. i know this may be a simple edit, but i have never pursued it.


Make sure your login block have the xoops_redirect in it.



This happened to me when I used someone else's template. It did not have the re-redirect in the login block.

5
tjnemez
Re: Logon redirection?
  • 2004/8/2 18:03

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


thanks tl

6
jmass
Re: Logon redirection?
  • 2004/8/2 18:19

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


Thank you all for the information. It makes more sense now.

JMass

Login

Who's Online

310 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 310


more...

Donat-O-Meter

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

Latest GitHub Commits