vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vBDebug Options (https://vborg.vbsupport.ru/showthread.php?t=104933)

Logikos 01-09-2006 10:00 PM

vBDebug Options
 
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/

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

Quote:

Originally Posted by Paul M
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

Quote:

Originally Posted by Quillz
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!

[high]* Hellcat hits the INSTALL button[/high]

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

Quote:

Originally Posted by Boofo
Any way to limit this to the SuperAdmin? Or certain userids?

You could change the admin_global or global_start to

For the forums:
PHP Code:

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


For the admincp:
PHP Code:

if ($vbulletin->options['debug_admincp'] == true)
{
        if (
in_array($vbulletin->userinfo['userid'], array(XYZ)))
        {
                
$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
PHP Code:

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

anywhere in config.php.

Nathan2006 06-03-2006 02:07 AM

Thank you LiveWire

Install :)


All times are GMT. The time now is 09:37 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.01257 seconds
  • Memory Usage 1,772KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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