The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with hooks
I have a plugin issue in this area of my plug in manager
Hook Location This specifies the location within the vBulletin code of the hook that will fire this plugin function. I've tried to install a mod and it wants me to choose hooks and I have no clue about them, anyone have any advice please Here's the bit of code that is coming up with the issue. I did look for links_navbar but it isn't there so can't choose that, I'm a novide with vb and have never came across this before require_once(DIR . '/includes/local_links_defns.php'); if (LDM_NAVBAR_LOCATION) { if (defined('THIS_SCRIPT') and ( THIS_SCRIPT == LDM_LINKS_SCRIPT or THIS_SCRIPT == 'local_links' or THIS_SCRIPT == LDM_ACTION_SCRIPT or THIS_SCRIPT == 'local_links_actions' or THIS_SCRIPT == LDM_ADMIN_SCRIPT or THIS_SCRIPT == 'local_links_admin' or THIS_SCRIPT == LDM_SEARCH_SCRIPT or THIS_SCRIPT == 'local_links_search' ) ) { // Highlight ldm tab when in LDM and create actual tab and navbar $vbulletin->options['selectednavtab'] = 'ldm'; $templater = vB_Template::create('links_navbar'); $templater->quickRegister(array( 'ldm_links_script'=>LDM_LINKS_SCRIPT, )); $template_hook[LDM_NAVBAR_LOCATION] .= $templater->render(); } } I've opened the hooks xml and don't see this particular hook. What is involved in making the hook (if I have to), is it just a matter of typing it and uploading it again? Or do I need to find the other corresponding file somewhere and edit that too? Or is that anything like what I need to do? Help would be appreciated as I've been working on this issue for two days now. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|