• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

show all hooks available

Status
Not open for further replies.
A, maybe, stupid question. I've an admin user with id=1 but I don't use it. I use my user with admin privileges that has id=2. Can I change just this line in listener.php to make it work with my user?
Code:
if ($showHookName == 1 and $userid == 1 )
to
Code:
if ($showHookName == 2 and $userid == 2 )
 
A, maybe, stupid question. I've an admin user with id=1 but I don't use it. I use my user with admin privileges that has id=2. Can I change just this line in listener.php to make it work with my user?
Code:
if ($showHookName == 1 and $userid == 1 )
to
Code:
if ($showHookName == 2 and $userid == 2 )

Yes, you can change the id to reflect your other admin account. However $showHookName == 1 should stay intact.
 
This add-on Will Show all the Hooks available in the style and there position(location)
it can be disable from options
and it will work only for userID == 1

Cool Logical idea.
Definitely educational.

I think there should be a link in the Documents to this addon
http://xenforo.com/help/html-templates/
- references this: How to use Template Hooks - http://xenforo.com/community/threads/how-to-use-template-hooks.13167/
- I think there should be a link to this cool addon too !
 
I can't get this thing to do much to be honest. I have it enabled, but it doesn't show up. Is there something else I need to do?
 
15742-8c61005e84e37e1f49221cbc51c8047d.jpg

Too small ?
 
Status
Not open for further replies.
Top Bottom