The Arcive of vBulletin Modifications Site. |
|
|
[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:
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
Just surrounded the JavaScript part of the STANDARD_REDIRECT template with:
HTML Code:
<if condition="!$vbulletin->debug"> </if> |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
It does work for sure.
Do you have Debug Mode enabled? |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
It's in the Debug-Dropdown at the Bottom of the Page, right above the Template Usage Table.
|
|
#9
|
|||
|
|||
|
I couldn't get my admin panel redirect to not redirect. Any other ideas?
Thanks, Tim |
![]() |
|
|