vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Turn on the debug mode (https://vborg.vbsupport.ru/showthread.php?t=82835)

Surviver 01-05-2007 07:10 PM

I think you mean
PHP Code:

if($vbulletin->debug

;)

Greetings Surviver

BigJimTheLug 01-07-2007 02:36 AM

What is debug for?

Does it repair the forum by itself if something is not acting correctly?

If so, how can I enact it?

troybtj 07-11-2007 11:22 PM

(regarding plugin product above by Surviver)
Installed in 3.6.7, but it won't show me the queries when I click "Explain" as it does when I put my IP addy in config.php. Tried both using IP and userid modes. Rest of it (forum/ACP) work perfect!
(/regarding plugin product above by Surviver)

What is the method used to cache templates? I have many red ones, and saw that mentioned here. I'm a newb, and I tried RTFM, but the FM doesn't really include much for devel info.

Where is a link to a bit more extensive info on vB Structures (if condition, bbuserinfo, etc?)

flynnibus 01-29-2008 01:15 AM

Cleaned up array IP example

Code:

$debug_ips = array('10.10.10.10','10.1.1.1', '10.2.2.2');
$config['Misc']['debug'] = (in_array($_SERVER['REMOTE_ADDR'], $debug_ips));

Replace 10.x.x.x IPs above with the IPs you want to use of course.

1Unreal 07-07-2009 05:26 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=165623" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=165623</a>

James Birkett 10-01-2009 07:52 PM

Quote:

Originally Posted by Paul M (Post 849070)
Actually, I have debug mode permanantly enabled in my config file - I then have a couple of plugins that disable it in the ACP and main forum, so if I need to turn it on I just disable the relevant plugin.

(bumps an old article)
Care to share the plugin? :rolleyes:

I'm forever commenting the line out and uncommenting it.

MoMan 08-29-2010 01:59 AM

That debug mode plugin linked above is simply fantastic. More importantly, why didn't I know that vbulletin options could be added in-browser rather than through XML before I started writing my own plugins? :p


All times are GMT. The time now is 11:20 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01638 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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