vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   KX - Debug Mode (https://vborg.vbsupport.ru/showthread.php?t=196422)

cobaku 11-16-2009 01:27 PM

Quote:

Originally Posted by dartho (Post 1804920)
You could probably edit the Global Debug plugin and replace if (can_moderate()) with if (in_array($vbulletin->userinfo['userid'], $kx_debug_admin_id))

This should only show debug info to the Admin ID's specified in the Enable the debug mode in administrator control panel? section ...

untested

not working

VonDoom 01-15-2010 05:40 PM

Good One :D

Ramsesx 03-02-2010 08:21 AM

Thanks, really useful.

jujubins 04-21-2010 06:58 PM

Can you do that to VB4?

foxfirediego 06-26-2010 03:30 PM

Quote:

Originally Posted by jujubins (Post 2025054)
Can you do that to VB4?

Works for ACP in vB 4.0.4

Boofo 08-12-2010 09:17 PM

And in 4.0.6.

CvP 12-04-2010 12:31 AM

1 Attachment(s)
I have modified it a little to adjust to my needs.
Changes:
  1. works on ALL vB page (current one doesn't work in CMS)
  2. Works on user ID basis instead of "staff only" that included super mods

So this is like enabling debug from config.php just for the user IDs listed.
Let me know if there's any problem.

And thanks to the author of this mod :up:


EDIT: updated some phrases to reflect the changes properly.

EDIT 2: just for the reference, it's tested on 4.0.7 [s](will test it soon on 4.1PL2)[/s] works on 4.1.0pl2

caf20012 07-17-2012 03:47 PM

any chance this can be ported to vb4? or does it work the same?

Thanks

BirdOPrey5 07-17-2012 05:14 PM

See the post right above yours.

Ziki 07-18-2012 07:38 AM

Quote:

Originally Posted by CvP (Post 2129027)
I have modified it a little to adjust to my needs.
Changes:
  1. works on ALL vB page (current one doesn't work in CMS)
  2. Works on user ID basis instead of "staff only" that included super mods

So this is like enabling debug from config.php just for the user IDs listed.
Let me know if there's any problem.

And thanks to the author of this mod :up:


EDIT: updated some phrases to reflect the changes properly.

EDIT 2: just for the reference, it's tested on 4.0.7 [s](will test it soon on 4.1PL2)[/s] works on 4.1.0pl2

Thanks, I did not notice that it didn't work in the CMS as I never use it :) I updated the vB4 version, which by the way has been for quite some time here: https://vborg.vbsupport.ru/showthread.php?t=267270


All times are GMT. The time now is 05:41 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.02284 seconds
  • Memory Usage 1,729KB
  • 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_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
  • (10)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