Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Oct 2010, 08:53
flutter flutter is offline
 
Join Date: Oct 2010
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:14.

Layout Options | Width: Wide Color: