Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Enable/Disable Debug Mode Details »»
Enable/Disable Debug Mode
Version: 1.00, by Jase2 Jase2 is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.0 RC 3 Rating:
Released: 04-19-2008 Last Update: 04-19-2008 Installs: 95
Uses Plugins
Translations  
No support by the author.

Enable/Disable Debug Mode for vBulletin version 3.6 and 3.7.
version: 1.0.0

Please remember to click Mark as Installed if you use this modification. Support questions from members who have not marked this as installed will be considered low priority.

What is this?
With this product, you can enable/disable Debug Mode on your forums, ACP, and MCP. You can input your IP address, so that Debug Mode will only show for you, or you can enter a user id, for either your forums, or the ACP, so that it will only show for that specific user or users.

No more editing your config.php file!

Installation

Simply import the attached .xml product via your vB Product manager, in your ACP.

Configuration
ACP --> vBulletin Options --> vBulletin Debug Mode

What doesn't work?

The explain query. Will try to implement in a future version.

Please report any bugs or feature requests into this thread.

Thanks and enjoy!

History:

Version1.0.0 : Initial version for vB 3.7.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-05-2008, 01:46 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jase2 View Post
I haven't had the time yet, Boofo. I will however try to implement this week.
Yet?
Reply With Quote
  #23  
Old 07-05-2008, 05:46 AM
sockwater's Avatar
sockwater sockwater is offline
 
Join Date: Apr 2008
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Any luck on the explain query yet?
The *only* way to get the explain query to work right is to set debug mode in your config.php file. This is because vBulletin either loads the regular database class or the "explain" database class based on your config.php file settings, and this of course happens before you have access to the database to call a plugin to set debug mode. For reference this happens at about line 100 of includes/init.php
Reply With Quote
  #24  
Old 07-21-2008, 04:03 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll check it over this week!
Reply With Quote
  #25  
Old 02-12-2009, 04:13 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I uninstall this thing?? I've removed it from the products, deleted the XML, yet it still comes back after I enable debug mode.
Reply With Quote
  #26  
Old 02-12-2009, 05:28 AM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pattycake View Post
How do I uninstall this thing?? I've removed it from the products, deleted the XML, yet it still comes back after I enable debug mode.
never mind... I saw the debug code at the bottom and I thought it was the XML that I had installed when in fact, its the debug code displayed from vbulletin. Sorry.
Reply With Quote
  #27  
Old 02-18-2009, 10:56 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update on the explain issue? Would love to have it; it would really cap this off (still works on 3.8, by the way).
Reply With Quote
  #28  
Old 04-21-2009, 06:11 PM
anthonym16 anthonym16 is offline
 
Join Date: Feb 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone have this working w/ 3.8.2? I guess the best I can say is that is sort of works for me. It seems like something is switched because I can see debug info in the forums normally, then the debug info is hidden once I log in. I don't think I have the settings wrong...
Reply With Quote
  #29  
Old 06-10-2009, 04:24 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it works for me on 3.8.2. (except the explain query function )

Is there a guide somewhere that discusses how to interpret the data?
Reply With Quote
  #30  
Old 06-10-2009, 05:32 PM
sockwater's Avatar
sockwater sockwater is offline
 
Join Date: Apr 2008
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TWTCommish View Post
Any update on the explain issue? Would love to have it; it would really cap this off (still works on 3.8, by the way).
Let me reiterate.

Quote:
Originally Posted by sockwater View Post
The *only* way to get the explain query to work right is to set debug mode in your config.php file. This is because vBulletin either loads the regular database class or the "explain" database class based on your config.php file settings, and this of course happens before you have access to the database to call a plugin to set debug mode. For reference this happens at about line 100 of includes/init.php
Reply With Quote
  #31  
Old 05-12-2011, 07:54 AM
muratcan25's Avatar
muratcan25 muratcan25 is offline
 
Join Date: May 2009
Location: Turkey
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you

How do I add this manually to the config I
How do I add just a member id?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:25 PM.


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.09727 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete