Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
KX - Debug Mode Details »»
KX - Debug Mode
Version: 1.0.4, by Ziki Ziki is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.x.x Rating:
Released: 07-22-2011 Last Update: 08-26-2012 Installs: 51
Uses Plugins
 
No support by the author.

This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Modification name
Debug Mode

~Modification description
This modification enables debug mode in forums,admincp and modcp.This version is different from all debug mode modification as this plugin version supports the query explain feature .A must have for every vBulletin developer.Works from 3.5.x to 4.x.x.

~Modification options
  • Turn on/off globally
  • Only show for admins
  • Turn on/off in administrator control panel
  • Administrator ID
  • Turn on/off in moderator control panel
  • Moderator ID
  • Show template name in comments only to admins
~Modification info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 5
SQL Queries: 0
Phrases: 15
Settings: 7

Install time: 3 sec
Install level: Easy

~Modification installation
Step 1: Import product

~Modification Changelog
  • 1.0.0 - Initial release
  • 1.0.2
    1. Changed staff viewing permission from can_moderate() to users with admin permission, to make sure it also works with custom groups with admin rights
    2. New option to hide template name in HTML comments for people without admin rights
  • 1.0.3 - Debug Mode works now in CMS
  • 1.0.4 - Explain feature now works even if debug mode is disabled in the forums

~Modification copyright
This may not be distributed,released or claimed as your work without author's permission.

Download Now

File Type: xml kx_debug.xml (7.8 KB, 168 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
eTiKeT?, Sayid, seb5594

Comments
  #32  
Old 08-28-2012, 07:28 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nirjonadda View Post
KX - Spider Permissions ! Have any update for work on 4.1.10 ?
Quite irrelevant, but no
Reply With Quote
  #33  
Old 03-31-2017, 10:01 AM
seb5594's Avatar
seb5594 seb5594 is offline
 
Join Date: Jun 2011
Location: Germany / Frankfurt
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really useful addon, works like a charm on vB 4.2.4
Reply With Quote
  #34  
Old 05-11-2017, 11:48 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI for those who upgrade to VB 4.2.5 and PHP 7.x this mod was causing a fatal error in the init_startup plugin which means you can't get to the admincp or the forum. You can either do the edits below before upgrading to PHP7, or add the disable hooks line to your config.php file to get access back if you already updated:

PHP Code:
define("DISABLE_HOOKS",true); 

In Plugin Manager edit the Explain plugin (on hook init)startup) as follows.

Find the line:

PHP Code:
$newdb =& new vB_Database_Explain($vbulletin); 
and comment it out - which means change it to:

PHP Code:
//$newdb =& new vB_Database_Explain($vbulletin); 
Then find the line:

PHP Code:
$newdb =& new vB_Database_MySQLi_Explain($vbulletin); 
and change it to:

PHP Code:
$newdb = new vB_Database_MySQLi_Explain($vbulletin); 
That should fix the error.

If you added the disable hooks line to config.php you can now remove it or comment it out.
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 08:53 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.04265 seconds
  • Memory Usage 2,266KB
  • Queries Executed 19 (?)
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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (3)post_thanks_box_bit
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (1)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete