Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
Advice for new people wanting to modify vBulletin
James Birkett
Join Date: Jun 2009
Posts: 633

by James Birkett James Birkett is offline 23 Aug 2009

In vBulletin they have a debug mode - and it is extremely useful, especially for people wanting to modify vBulletin.
Their debug mode allows you to see what parts of the forum are calling which hooks, as shown below:



As you can see, it shows what hooks are being called (that is the showthread.php page) - so you have an idea of which hook to use. It also holds information about page loads, global phrases etc.

How to turn debug mode on?
Put this in your config.php:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You could always have debug mode on for yourself by doing:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Hope this helps - it's very basic.

Additional info:
You must be in debug mode in order to edit/create new settings/settings groups, as well as adding templates to custom products.
Some other features is the rebuild bitfields, option to edit the admin help manager (blue ?) and some more.

Last edited by James Birkett; 17 Sep 2009 at 17:05..
Views: 4724
Reply With Quote
Comments
  #2  
Old 26 Aug 2009, 04:05
RLShare RLShare is offline
 
Join Date: Jun 2008
You should also add that you need to be in debug mode in order to create new settings/setting groups, add new templates to custom products and etc...
__________________
Reply With Quote
  #3  
Old 28 Aug 2009, 04:45
bluej's Avatar
bluej bluej is offline
 
Join Date: Jan 2007
maybe some dumb questions, but does it matter where on the config.php you put this code?

also, once you have it added how do you use it? i mean what do you do to see this list?

this is new to me, so sorry if it is a silly question...
Reply With Quote
  #4  
Old 28 Aug 2009, 18:03
Brandon_R Brandon_R is offline
 
Join Date: Aug 2009
You can add it anywhere as long as its inside the PHP tags <?php ?>. After you add it look at the bottom of your forum pages it will show the information.
Reply With Quote
  #5  
Old 17 Oct 2009, 12:11
MaXeL3G3ND MaXeL3G3ND is offline
 
Join Date: Dec 2007
Wow nice info, I didn't even know that you needed to be in debug mode for
some of those developer features! :-D (I thought it was JUST for debugging xD)

I should seriously consider reading the documentation now
Reply With Quote
  #6  
Old 11 Dec 2009, 11:00
lm3a.net's Avatar
lm3a.net lm3a.net is offline
 
Join Date: May 2009
Thank you for the information
Reply With Quote
  #7  
Old 25 Feb 2013, 18:11
Dorgham's Avatar
Dorgham Dorgham is offline
 
Join Date: May 2012
Thank you
__________________
AdSense revenue sharing 100% - [ Hanan ]
News, egypt : أخبار مصر - Photo, picture : صور
Reply With Quote
  #8  
Old 04 Apr 2013, 16:11
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
does it work with 3.8.x forums ?
Reply With Quote
  #9  
Old 04 Apr 2013, 16:18
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by matrex722 View Post
does it work with 3.8.x forums ?
Yes, debug mode is available in 3.8.x also.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #10  
Old 04 Apr 2013, 16:20
matrex722's Avatar
matrex722 matrex722 is offline
 
Join Date: Jan 2007
ok i will edite it now
thank you so much
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:41.

Layout Options | Width: Wide Color: