![]() |
I made the debug mode really visible, in RED.
The big advantage is that you will not be forced anymore to edit the config.php file and insert a variable there, in order to activate the Debug Mode. My option will do this for you in a snap. Still, remember to disable it when you don't need it anymore... I repeat myself: Make sure you enable this option, ONLY with your board off, orelse it can lead to security breaches (yes, is that powerful). |
haha well it wasnt an idea so much as misunderstanding. :$
Question: Will this(debug mode) show to members and admins? |
The Debug Mode is for advanced troubleshooting your board, you must use it only with your Board turned OFF.
If you leave it ON, a good hacker could grab all the data you don't want him to know about it... unless the board is OFF. Even then, I don't like it to have it turned ON on a live setup. On my test board, is always ON. You can start a new thread, asking what exacly does the Debug Mode in vBulletin. :) |
Guys and girls, please let me know what you think about the new version. Thanks.
|
You saved us tons of time to enable debug each other time :) Thanks again Floren
Nominated HOTM :) |
yeah same here Nominated HOTM
|
Quote:
I wanted the same for my live site, its simple to just use conditional statements... Granted I have no idea if it’s bad to nest these <if> statements? It worked for me… :cool: Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"> I very much like the addition to turn debug on/off via cp, less time when testing... thanks again TECK -I love it :up: |
Thanks for the update!
|
Quote:
ncweb, is best to filter it in the actual code, not only template. Why? Because the script will still process all the microstats code for nothing, if you are not an admin. Waisting memory and processing time for no reason. Take a look at the admin attachment I made earlier to see the differences. Also, you could use a simpler condition: Code:
<if condition="$show['microstats'] AND is_member_of($bbuserinfo, 5, 6, 7)"><!-- {microstats} --></if> Go ahead and release it for everyone, have fun. :) |
I nominate this thread for HOTM.Saves us tons of times,thank you for your hard work.:up:
|
All times are GMT. The time now is 12:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|