vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   [TEMPLATE] Logout Fix (https://vborg.vbsupport.ru/showthread.php?t=94021)

GoTTi 08-09-2005 10:00 PM

[TEMPLATE] Logout Fix
 
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:

Code:

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

Quote:

Originally Posted by kall
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.


All times are GMT. The time now is 03:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00921 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete