FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » want to logout and leave forum with one click
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: want to logout and leave forum with one click [message #8422 is a reply to message #8408] Tue, 28 January 2003 01:22 Go to previous messageGo to previous message
kowitsch is currently offline  kowitsch   Germany
Messages: 10
Registered: January 2003
Location: Germany
Karma:
Junior Member
Hello Prottoss,
it took me the whole evening to figure out what you had in mind. Some people are slower than others.
But after all, it works now.

Did you mean a solution like this (for other users as slow as me)?

I made a file myredir.php with a fixed redir-value
<?php
header("Location: http://myserver");
exit();
?>

placed it in "/forum/theme/default"

and called it via
<a href="{ROOT}?t=login&amp;{DEF: _rsid}&amp;returnto={ROOT}?t=myredir&amp;logout=1">back to homepage</a>

which I inserted in my header template.

Question:
What happens to myredir.php and the modified header template, if I upgrade FUD?

P.S. I realized why my home server did the logout+redir the way I described in my first post and the "real" server didn't.
The home server had v2.2.3 of fud. The "real" server had v2.3.6. When I updated my home server, my redirection method didn't work as well. The check_return() function you mentioned has been completely rewritten since then. Now all "returnto" calls go via index.php?t=abc... instead of direct calls as in v2.2.3. Suppose, this was for security reasons.

Thank you Prottoss
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: help "i need the forum to be right to left"?????
Next Topic: Password for autocreated users.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 20:37:42 GMT 2024

Total time taken to generate the page: 0.04286 seconds