PDA

View Full Version : Administrative and Maintenance Tools - vBDebug Options


Logikos
01-09-2006, 10:00 PM
vBDebug Options
vBulletin 3.5.1
www.vBHackers.com

What this does
This will give you 2 options in the vBulletin options to enable debug mode in just the admincp, or the forums, or both.


To do list...

Time to install: 1 minute
Queries to run: 0
File Mods: 0
Templates to edit: 0
Templates to add: 0
New Phrases: 0
New Plugins: 1


Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It For Support!
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=104933)

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.

El_Muerte
01-10-2006, 05:03 AM
Aren't you going to miss some of the debug entries because the variables are set after a lot of things are initialized?

waza
01-10-2006, 04:31 PM
thx, now I don't have to edit the config file every time.
I think this should be standard in vb

Logikos
01-11-2006, 01:14 AM
Its set in the global.php file which is called before anything else, including the config.php file ;) all debug options will show.

Paul M
01-11-2006, 01:21 AM
I actually do this in reverse - I have debug set on in my config files, and two plugins - one to turn it off in the forum, and one to turn it off in the ACP. I just disable the appropiate plugin when I need debug mode.

Quillz
01-11-2006, 01:25 AM
I actually do this in reverse - I have debug set on in my config files, and two plugins - one to turn it off in the forum, and one to turn it off in the ACP. I just disable the appropiate plugin when I need debug mode.

That sounds interesting. Will you be releasing that as a seperate plug-in?

And Live Wire's works great.

Paul M
01-11-2006, 01:36 AM
That sounds interesting. Will you be releasing that as a seperate plug-in?.Nope, I had/have no plans to release it, otherwise I would have done so months ago - besides this hack will do the job, so there is no need now anyway. :)

Allan
01-11-2006, 05:39 AM
Very Nice, thanks Live Wire
Click Install

File Attach:: French Language ;)

Antivirus
01-11-2006, 06:27 PM
nice job Livewire, thank you!

Marky
01-11-2006, 06:35 PM
Nice job, totally didnt think of this :D

Antivirus
01-11-2006, 06:38 PM
... and it's toit for the hack to have different settings for adminCP and forums as well.

bashy
01-11-2006, 08:37 PM
HI

I have installed this BUT
There are no options in vBulletin Options nor is the product showing in the product list, i know its installed as when i try again it says already installed

Any ideas?

Regards

Bashy

COBRAws
01-11-2006, 09:12 PM
sweet

/me installs

Antivirus
01-11-2006, 09:17 PM
<font color="#15a018">bashy</font> , it should be about 4/5 of the way down in vboptions witin admincp.

Hellcat
01-17-2006, 11:26 PM
Hi!

I just gave this a try, and it works wonderfull :)
Thanx, man!

* Hellcat hits the INSTALL button

Logikos
01-18-2006, 01:16 AM
Thanks for the support Hellcat! :)

Sooner95
02-14-2006, 01:19 PM
Just what I needed. Thx a bunch! Clicked

Snake
02-14-2006, 01:39 PM
Screeny?

Logikos
02-14-2006, 07:28 PM
Its a radio box checking if you want to enable debug mode.

Enable dubug mode? (x) Yes - () No

Use of imagination should do the trick :p

Boofo
04-26-2006, 02:41 PM
Any way to limit this to the SuperAdmin? Or certain userids?

Logikos
04-26-2006, 07:51 PM
Any way to limit this to the SuperAdmin? Or certain userids?
You could change the admin_global or global_start to

For the forums:

if ($vbulletin->options['debug_forums'] == true)
{
if (in_array($vbulletin->userinfo['userid'], array(X, Y, Z)))
{
$vbulletin->debug = true;
}
}

For the admincp:

if ($vbulletin->options['debug_admincp'] == true)
{
if (in_array($vbulletin->userinfo['userid'], array(X, Y, Z)))
{
$vbulletin->debug = true;
}
}

Antivirus
05-11-2006, 03:50 PM
Has anyone noticed after upgrading to 3.5.4 the "explain queries" link doesn't seem to work? Any idea how to fix?

Boofo
05-11-2006, 04:43 PM
You're right. With this hack enabled, the Explain link no longer works. And that is on a fresh 3.5.4 install, not just an upgrade.

Snake
05-16-2006, 11:38 AM
Thanks for the hack!

/me clicks on install

forum_maniac
05-21-2006, 11:24 PM
The "Explain" links do not work for me either on a fresh install on vBulletin 3.5.4.

Logikos
05-21-2006, 11:45 PM
That is correct. The Explaine links will not show any results. If you need the explain option avaliable, your better off just adding the following code in your config.php file and uninstall this hack.

Add
$config['Misc']['debug'] = true;

anywhere in config.php.

Nathan2006
06-03-2006, 02:07 AM
Thank you LiveWire

Install :)