[HOW-TO] Easy way of finding executed hook locations
If you are developing a new hack, you are sometimes lost on which hooks are executed and in which order. You could ofcourse go check teh source files, but there is also another way:
open your includes/class_hook.php, and find: PHP Code:
PHP Code:
|
PS on my Dev-Board, i have redirection message enabled, and i edited the STANDARD_REDIRECT template. I added a condition to disable the redirect script from being executed if running in debug mode, so i have all time to look at the DEVDEBUG information. To proceed to the next (redirected) page, simply click on proceed.
|
Quote:
|
Just surrounded the JavaScript part of the STANDARD_REDIRECT template with:
HTML Code:
<if condition="!$vbulletin->debug"> |
Quote:
|
It does work for sure.
Do you have Debug Mode enabled? |
Quote:
|
It's in the Debug-Dropdown at the Bottom of the Page, right above the Template Usage Table.
|
I couldn't get my admin panel redirect to not redirect. Any other ideas?
Thanks, Tim |
All times are GMT. The time now is 07:43 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|