The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to use debug mode
G'day folks. I'm writing my first plugin/product, and am trying to figure out how to use vBulletin's "debug mode".
After enabling it, the only things I see are: 1) A tiny bit of database output at the bottom of each admin page; 2) A table of debug information at the bottom of each public page. How does one get debug messages to be displayed somewhere on vBulletin pages, or should I simply write those debug messages to a file? Thanks, Nick |
#2
|
||||
|
||||
What are you trying to achieve with debug mode?
|
#3
|
||||
|
||||
I'd like to display custom debug messages.
What is debug mode for? How is debug mode meant to be used? |
#4
|
||||
|
||||
You can add your own debug info into the page, but you don't need debug mode to be on for it. The vb debug mode is for debugging the vb system - it will show you all the plugins, templates, phrases, and hooks used on each page (and other stuff) and all the queries that are made for that page. You can add some stuff into the dropdown (I think) by typing this into your php code:
PHP Code:
|
#5
|
||||
|
||||
Thanks, Lynne. That was easy.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|