The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
It looks like it's 4.0.1.
|
#12
|
|||
|
|||
Yeah, that hook didn't exist in that version. I guess now we know why it was added.
You could add it to your version. I wouldn't normally suggest adding a hook, but in this case you'll probably upgrade someday and then you won't have to change your plugin. (Also, I don't see any other way to do what you want to do using hooks) Anyway, you can edit the file includes/xml/hooks_vbulletin.xml and in the section <hooktype type="general"> add Code:
<hook>memberaction_dropdown</hook> Then in the file includes/functions.php around line 3180 add the line in red: Code:
fetch_online_status($memberinfo); } ($hook = vBulletinHook::fetch_hook('memberaction_dropdown')) ? eval($hook) : false; $templater = vB_Template::create('memberaction_dropdown'); $templater->register('template_hook', $template_hook); $templater->register('memberinfo', $memberinfo); Then you should see it appear in the list and you can proceed from there. (I tried adding to the xml file and saw the hook appear in the list, but I haven't tested it completely to see if it works). |
#13
|
|||
|
|||
Fantastic! Does exactly what was required. Thanks so much for your help. I will look at upgrading to the latest version.
Cheers. Mike. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|