Taragon
07-06-2008, 10:00 PM
Blog dropdown menu in navbar
Creates a more easy way to navigate your vBulletin Blog product for your forum.
Demo: http://www.letsgather.net/
----------------------------
navbar
FIND
----------------------------
$template_hook[navbar_buttons_left]
----------------------------
REPLACE with:
----------------------------
<if condition="$vbulletin->products['vbblog']">
<td id="blog_menu" class="vbmenu_control"><a href="$show[nojs_link]#blog_menu">$vbphrase[blogs]</a> <script type="text/javascript"> vbmenu_register("blog_menu"); </script></td>
</if>
----------------------------
FIND:
----------------------------
</table>
</div>
<!-- / user cp tools menu -->
----------------------------
ADD after:
----------------------------
<!-- blog_menu -->
<div class="vbmenu_popup" id="blog_menu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="blog.php">$vbphrase[blogs]</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist">Blog Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist&blogtype=best">Best Blogs</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=list&blogtype=best">Best Entries</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog_search.php?do=search">Find Blogs</a></td></tr>
</table>
</div>
<!-- / blog_menu -->
----------------------------
Done!
Please keep in mind also some other mods are using the $template_hook[navbar_buttons_left] hook. (vBulletin Project Tools, GTUserCP Interface + UserCP navbar menu (https://vborg.vbsupport.ru/showthread.php?t=177774) by Princeton (https://vborg.vbsupport.ru/member.php?u=925))
By removing this, also all other mods/tabs will reposition this same way and need to be manually added after. I currently haven?t found a working solution for this yet.
Also keep in mind this template modification is currently unphrased. Feel free to do this if you prefer.
All the best,
Cor
Creates a more easy way to navigate your vBulletin Blog product for your forum.
Demo: http://www.letsgather.net/
----------------------------
navbar
FIND
----------------------------
$template_hook[navbar_buttons_left]
----------------------------
REPLACE with:
----------------------------
<if condition="$vbulletin->products['vbblog']">
<td id="blog_menu" class="vbmenu_control"><a href="$show[nojs_link]#blog_menu">$vbphrase[blogs]</a> <script type="text/javascript"> vbmenu_register("blog_menu"); </script></td>
</if>
----------------------------
FIND:
----------------------------
</table>
</div>
<!-- / user cp tools menu -->
----------------------------
ADD after:
----------------------------
<!-- blog_menu -->
<div class="vbmenu_popup" id="blog_menu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="blog.php">$vbphrase[blogs]</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist">Blog Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist&blogtype=best">Best Blogs</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=list&blogtype=best">Best Entries</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog_search.php?do=search">Find Blogs</a></td></tr>
</table>
</div>
<!-- / blog_menu -->
----------------------------
Done!
Please keep in mind also some other mods are using the $template_hook[navbar_buttons_left] hook. (vBulletin Project Tools, GTUserCP Interface + UserCP navbar menu (https://vborg.vbsupport.ru/showthread.php?t=177774) by Princeton (https://vborg.vbsupport.ru/member.php?u=925))
By removing this, also all other mods/tabs will reposition this same way and need to be manually added after. I currently haven?t found a working solution for this yet.
Also keep in mind this template modification is currently unphrased. Feel free to do this if you prefer.
All the best,
Cor