PDA


View Full Version : Blogicles Dropdown menu


Infantrymen
02-26-2007, 11:58 PM
Blogicles menu (Navbar Dropdown)
By: Roms (http://www.vbulletin.org/forum/member.php?u=60324) (view my mods on vBorg)
Easy, about 1-2 mins

This simple modification adds a dropdown menu to the navigation bar
with a few Blogicles links.



------------------------------
Open the navbar Template
------------------------------
FIND:
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>

BELOW ADD:
<!-- Blogs Setup for drop down -->
<td id="blogicles" class="vbmenu_control" ><a href="#blogicles">Blogging</a> <script type="text/javascript"> vbmenu_register("blogicles"); </script></td>
<!-- End Blog Setup for drop down -->

-------------------------------
navbar Template
FIND:
<!-- / NAVBAR POPUP MENUS -->

ABOVE ADD:
<!-- Blogs drop down -->
<div class="vbmenu_popup" id="blogicles_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Member Blogs</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions[homeurl]blogs">Blogs Home</a></td></tr>
<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="$vboptions[homeurl]blogs/newentry.php?$session[sessionurl]c=$catid_int" rel="nofollow">Submit Entries</a></td></tr></if>
<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="$vboptions[homeurl]blogs/browsecategory.php?$session[sessionurl]do=favorites">My Favorites</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="$vboptions[homeurl]blogs/search.php$session[sessionurl_q]" rel="nofollow">$vbphrase[search]</a></td></tr>
</table>
</div>
<!-- End Blogs drop down -->

Note: you will need to change the word "blogs" in the code to the name that you have changed your Blogicles folder to.

Save and you're done!!! :)

Infantrymen
02-27-2007, 01:12 AM
Updated...

attroll
02-27-2007, 01:23 AM
This does not work in all navbar locations. It only work properly when in the blogs area. The drop down does not display right in CMPS or in the forums. It defeats the purpose to only have it working properly in the blogs area because all these commands are already in the blogs navbar.

Also you need to add a "/" in front of the blogs so it looks like this "[homeurl]/blogs".

Nice work. With some tweaks to get it working properly this will be a great feature.

Infantrymen
02-27-2007, 01:31 AM
This does not work in all navbar locations. It only work properly when in the blogs area. The drop down does not display right in CMPS or in the forums.

Also you need to add a "/" in front of the blogs so it looks like this "[homeurl]/blogs".

The updated version works fine for me and I'm using CMPS. (removed "My Entires" :) )

Most vB users add thier Home URL into the vB settings with a "/" (ie: http://www.yoursite.com/) on the end, that's why I left it out. but either way will work. :)

I'll try to fine tune it this week. I just threw it together tonight.

Thanks

attroll
02-28-2007, 04:15 AM
The updated version works fine for me and I'm using CMPS. (removed "My Entires" :) )

Most vB users add thier Home URL into the vB settings with a "/" (ie: http://www.yoursite.com/) on the end, that's why I left it out. but either way will work. :)

I'll try to fine tune it this week. I just threw it together tonight.

Thanks
Oh don't get me wrong I was not complaining. I was trying to help out. I have found that when posting hacks you have to post the details right down to the littlest detail because some people do not have common sense or don't know anything about html.

Infantrymen
02-28-2007, 10:04 PM
Thanks, I appreciate that. :)