The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
template_hook.navtab_end
Hell all,
Which <hookname> do I need to use in a plugin so I can add the code below? Code:
$templater = vB_Template::create('modreg_navbar'); $template_hook['navtab_end'] .= $templater->render(); Thank you Chris --------------- Added [DATE]1488302193[/DATE] at [TIME]1488302193[/TIME] --------------- I read somewhere an example using process_templates_complete but even this does not works. |
#2
|
|||
|
|||
Strange. Didn't noticed that the menu created but in the tabs row. How I can add it on the right of Quick Links? What is the hookname there. From what I seen in the template is navtab_end
|
#3
|
|||
|
|||
I tried navbar_end ... No results... And a dozen others like before_community, after_community etc etc. The code appears only in tabs (end). The template code is:
Code:
<li class="popupmenu" id="vbmenu_modreg"> <a href="javascript://" class="popupctrl">{vb:var vbphrase.modreg_link_registrations}</a> <ul class="popupbody popuphover"> <li id="modreg_moderate"><a href="modreg.php?do=moderate">{vb:var vbphrase.modreg_link_moderate}</a></li> <li id="modreg_log"><a href="modreg.php?do=log">{vb:var vbphrase.modreg_link_log}</a></li> <li id="modreg_fylkes"><a href="modreg.php?do=fylkes">{vb:var vbphrase.modreg_link_fylkes}</a></li> </ul> </li> |
#4
|
||||
|
||||
You may have to do some sort of str_replace to add it in where you want it.
(Everything is done in the navigation manager now and so there really isn't a way to hook to the sub-nav menu.) |
Благодарность от: | ||
paradoxG(r)eek |
#5
|
|||
|
|||
Quote:
Thank you Lynne ! --------------- Added [DATE]1488390563[/DATE] at [TIME]1488390563[/TIME] --------------- Another question. I used at register_form_complete Code:
$human_verify .= $templater->render(); Why similar code does not works? Which hookname is the correct to add something in navbar? Now I'm using process_templates_complete |
#6
|
||||
|
||||
Quote:
I think there are even some posts about it, if you search. Links are also stored in the product XML if they are just static. I havent had to do anything on NavMan for a very long time so I dont remember off the top of my head how you do all of it. (Some of my products do it, List Reported Items is one). |
Благодарность от: | ||
paradoxG(r)eek |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|