vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Enable Debugmode just for your PC (https://vborg.vbsupport.ru/showthread.php?t=59605)

Xenon 01-04-2004 03:52 PM

@Chen: :p

of course it's very easy if you have a static ip, but not all of us have, and the cookie part is important for me :)

@Bob: you can change the link in admin/index.php to tell you the actual info as well, but as the ACP is based on frames, that won't help you once you've toggled the debug madoe, that's why the neutral way was choosen by me :)

if the debug mode is enabled is easy to see on your forum's footer ;)

Boofo 01-04-2004 03:56 PM

Stefan, I was wondering if there was a way to erase the cookie for the debug mode without having to log out. That way we can turn it off just as easy as turning it on. The redirect would also be nice instead of it sitting at DEBUG MODE ON (or whatever it says). ;)

But this is a great hack and idea, sir. ;)

Xenon 01-04-2004 04:14 PM

oops, sorry, there was a little bit missing in the file.

Code:

if ($_COOKIE['admindebugcookie'] == 'enabled')
should have been
Code:

if ($_COOKIE['bbadmindebugcookie'] == 'enabled')
that way, it will delete the debugcookie after the second click :)
(damn, new cookieprefixes ;))

i've uploaded a new installfile, changed another small issue as well :)

Boofo 01-04-2004 04:17 PM

Is that in this part?

Quote:

REQUIRE BACK-END

Xenon 01-04-2004 04:22 PM

just dl the whole file again, and reinstall again.
most of the bugs were just damn little typings ;)

Boofo 01-04-2004 04:22 PM

I think you also need to change this:
Code:

<a href="debugcookie.php">
to this:

Code:

<a href="admindebug.php">
;)

Xenon 01-04-2004 04:26 PM

hmm, you could be right there :p

Link14716 01-04-2004 04:39 PM

Nice one. :)

*Installs*

Boofo 01-04-2004 04:46 PM

That filename still needs to be changed in the install file, but other than that, it works like a charm! Thank you, sir. ;)

MindTrix 01-10-2004 04:01 PM

I did everything as said and yet i see no difference :S Must have done something wrong along the way (Yes i clicked the link and it said Cookie set, or something like that. Odd


All times are GMT. The time now is 07:56 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.01074 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete