Log in

View Full Version : [TEMPLATE] Logout Fix


GoTTi
08-09-2005, 10:00 PM
well, i finally upgraded my forum, which was heavily hacked up, to 308. and i noticed there was a problem logging out. Well over @ vbulletin.com, they say to revert your templates affected....well, if you have hacks and modifications in all your templates like i pretty much have, your gunna be pissed when your codes are removed, so here is what u need to do to fix the logout code.


Template edits: Should be 2
Time: 25 seconds
Skill Level: l33t


so here is the fix for everyone needing it:


Goto navbar and forumhome template search for:

logout

youll get 2 results that look something like:

login.php?$session[sessionurl]do=logout

you need to edit this to

login.php?do=logout&userid=$bbuserinfo[userid]

and save.


theres your fix.

GoTTi
08-10-2005, 09:01 PM
hey is this able ot be hack of the month? i think it is ;)

kall
08-10-2005, 09:06 PM
Are you 100% certain that the sessionurl is not needed?

What about those people who browse without cookies enabled?

diettalk
08-10-2005, 10:40 PM
that didn't work for me.. but this did...

http://forum.phpadsnew.com/index.php?showtopic=8281

GoTTi
08-10-2005, 11:06 PM
for ref: http://www.vbulletin.com/forum/showthread.php?t=129988

Tony G
08-11-2005, 04:55 AM
Are you 100% certain that the sessionurl is not needed?

What about those people who browse without cookies enabled?

Good point. You shouldn't remove the sessionurl from any of the links to certain files.