PDA

View Full Version : Administrative and Maintenance Tools - Enable/Disable Debug Mode


Jase2
04-19-2008, 10:00 PM
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.

M-Tuning
04-20-2008, 04:59 PM
Very nice!

jwaany
04-20-2008, 07:15 PM
nice..

PaulSonny
04-20-2008, 07:35 PM
Very nice modification I have to say. The amount of times I have to go into the vBulletin config file its unbelievable.

This will save me loads of time.

Thanks Jason.

Jase2
04-20-2008, 08:04 PM
No problems, Paul. And thanks for the comment :)

valdet
04-20-2008, 10:01 PM
Haven't tested with vBulletin 3.6, but it should work. If someone could report back and let me know, that would be great!

I tested it on 3.6.7 and it works great.
Thanks so much. You saved us a LOT of time.

Jase2
04-20-2008, 10:05 PM
Thanks for letting me know valdet. :)

Hornstar
04-21-2008, 06:30 AM
Yeah I might actually use it a bit more now. thanks.

KURTZ
04-21-2008, 10:33 AM
another great job Jason ;)

Jase2
04-21-2008, 05:33 PM
Thanks guys!

macc
04-21-2008, 06:49 PM
great ... thanks


regards

macc

Big Boss
04-23-2008, 12:23 AM
Thanks for this! Gonna install this once I've finally upgraded to 3.7. :)

Mike-D
04-23-2008, 02:30 PM
On a side note: Surviver's Debug Mode (https://vborg.vbsupport.ru/showthread.php?t=130212) Hack is more comfortable and also includes more Options ;)

Jase2
04-23-2008, 02:33 PM
That's fine, Mike. But why come here promoting another hack? This is a simple enable/disable debug mode. I am not going to be spending vast amounts of time on this hack. Although I may add more options soon.

Lynne
04-23-2008, 03:57 PM
On a side note: Surviver's Debug Mode (https://vborg.vbsupport.ru/showthread.php?t=130212) Hack is more comfortable and also includes more Options ;)
That looks like a nice mod, but sometimes simple is better if that is all you need. :)

Boofo
04-28-2008, 08:39 AM
Any luck on the explain query yet?

Jase2
04-28-2008, 01:46 PM
I haven't had the time yet, Boofo. I will however try to implement this week. :)

Boofo
04-28-2008, 01:51 PM
Looking forward to it.

Kaycee123
04-29-2008, 02:11 AM
Thanks for this! Great mod, saves a lot of time fiddling with the config file!!!











www.iwillfollowu2.com

Icy
05-03-2008, 08:07 AM
Installed :D

dartho
07-05-2008, 01:46 AM
I haven't had the time yet, Boofo. I will however try to implement this week. :)

Yet?

sockwater
07-05-2008, 05:46 AM
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

Jase2
07-21-2008, 04:03 PM
I'll check it over this week! :)

pattycake
02-12-2009, 04:13 AM
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.

pattycake
02-12-2009, 05:28 AM
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.

TWTCommish
02-18-2009, 10:56 PM
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).

anthonym16
04-21-2009, 06:11 PM
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...

Alfa1
06-10-2009, 04:24 PM
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?

sockwater
06-10-2009, 05:32 PM
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.

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

muratcan25
05-12-2011, 07:54 AM
Thank you

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

diades
09-20-2012, 02:35 PM
Golden question: does this work with v4+ suite?