Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
CES Debug Mode Switcher Details »»
CES Debug Mode Switcher
Version: 1.1.0, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 04-12-2009 Last Update: Never Installs: 13
DB Changes Uses Plugins
Code Changes Additional Files  
No support by the author.

CES DEBUG MODE SWITCHER
Version: 1.1.0
vBulletin 3.6.x, 3.7.x, 3.8.x supported

*** NEWS ***
4/13/2009 - created 3.8.x thread

Products to Install: 1
Files to Upload: 1
Template Edits: 0
Files to Edit: 1

What It Does:
Allows enabling/disabling of Debug Mode in the AdminCP.
Allows Debug Mode activation using Usergroup Permissions.
Query Explain works!

What makes it different from other similar mods that turn on Debug Mode in the ACP?
This one does require you to edit config.php (ONCE), but let me repeat the above... Query Explain works, and like the debug info, it uses the Usergroup Permissions. As of the new version, no queries are added.

Known Issues:
  • none at this time

*** Changelog ***
As of Version 1.1.0:
- updated: reduced file edits
- updated: increased code efficiency

* This mod is offered for free here. Please donate if you like this mod *

Download Now

File Type: zip ces_debug_110.zip (3.3 KB, 155 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-08-2009, 05:38 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thincom2000 View Post
After you make the file edit, Debug Mode is on all the time. Once set, the permissions and options will modify this on the fly.
I mean in my Admin CP. It's stays on all the time in my Admin CP, whether it's on or off. It works correctly in the forum area, but the ACP doesn't change. Is that normal?
Reply With Quote
  #13  
Old 09-17-2009, 03:06 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using this mod for awhile but never tried explain (never needed) now I need to keep an eye on something on my board and noticed that explain doesn't work.

Everything works fine, permissions are set up correctly as well as config.php but when I click explain all I can get is a blank screen.

Any idea ?
Reply With Quote
  #14  
Old 09-18-2009, 05:22 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A blank screen usually points to an error that has occurred, but your server is configured not to print the error message to the end user. Please check your server logs for any details.

Side note: I believe that explain doesn't work if vBSEO is installed. In its efforts to achieve link consensus, vBSEO 3.3.0 prevents some query strings from working correctly.
Reply With Quote
  #15  
Old 09-18-2009, 08:27 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi thincom,

Yes, you're correct. I'm running with vBSEO 3.3.0. I susppected about this but you know, it's hard to confirm.

I was searching about this at vBSEO forums and strange is they have tons of users and I couldn't find any thread from someone complaining about this issue. Somebody should report this issue already.

Can someone here running together with vBSEO confirm this issue ?
Reply With Quote
  #16  
Old 09-19-2009, 05:45 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used to have similar problems with vBSEO, but since then I have made file edits to fix these issues, so I can't confirm as my memory can't recall the original issue I was having.

Try using the sorting functions in forum display and you will see another variation on this issue.
Reply With Quote
  #17  
Old 09-21-2009, 11:28 AM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just opened a thread about this at vBSEO.com as I couldn't find any report about this over there. Let's see what they say.
If I come up with something new I will let people know about it here.
Reply With Quote
  #18  
Old 12-15-2010, 10:21 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting this to work in the ACP, but not in the forum.
vb 3.8.6

Here an excerpt of my config.php:
PHP Code:
/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to    |
| MySQL, you will need to email your webhost because we   |
| cannot tell you the correct values for the variables    |
| in this file.                                           |
\*-------------------------------------------------------*/

$config['Misc']['debug'] = true;
// buffer db explain until permission fetch
if ($_REQUEST['explain'])
{
    
ob_start();
}
    
//    ****** DATABASE TYPE ******
    //    This is the type of the database server on which your vBulletin database will be located.
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql'
Reply With Quote
  #19  
Old 12-16-2010, 01:28 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you set the Usergroup Permissions?
Check the mod's settings and add your IP address to the allow list.
Reply With Quote
  #20  
Old 12-16-2010, 10:07 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The settings where correct. It took some time before it showed. Maybe a caching issue. Works great now.
Reply With Quote
Reply


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 03:28 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.07188 seconds
  • Memory Usage 2,324KB
  • Queries Executed 27 (?)
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
  • (1)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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