View Full Version : Help with this code in navbar
Hi all,
I have tried to include a code in the end of navbar or under it
Picture in attach will explain it more
Specially like if you add any code under
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
So How to add any addtional code under "{vb:raw navbar}" in forum home ?
I have tried this but it doesn't work
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Any help will be great!
BBR-APBT
30 Nov 2009, 19:24
Either add your code below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Or you can make a plugin that will use the following template hook location.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Make a new plugin and add something like this. Set the hook location to global_start.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
See attached screen shot. I do believe this will work.
Either add your code below:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Or you can make a plugin that will use the following template hook location.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Make a new plugin and add something like this. Set the hook location to global_start.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
See attached screen shot. I do believe this will work.
Yes That's worked but it's not in the correct place
See
http://www.vbulletin.org/forum/attachment.php?attachmentid=106969&stc=1&d=1259614382
But I need it here :
http://www.vbulletin.org/forum/attachment.php?attachmentid=106970&stc=1&d=1259614382
Thanks For your reply,
Much Appreciated :up:
BBR-APBT
30 Nov 2009, 19:58
Let me find the correct hook.
--------------- Added 1259615808 at 1259615808 ---------------
Ok here you go.
Go to your navbar template and add the following at the very end or where ever you want it to show.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
And this will be your plugin code.
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Let me know how it works.
So If I want my mod work should any one add template_hook in the forumhome to get the Mod work
Is there any way to didn't make it with any manual changes ?
BBR-APBT
01 Dec 2009, 15:25
I can't find a hook that is in the location so my only thought was to add my own hook.
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.