3.8.0 Alpha 1 Community menu (Navbar Dropdown)

Hoxxy

New Member
As some of you may be aware vBulletin have now installed 3.8.0 Alpha 1 for testing purposes well as with all new releases there are new features and heres one for you right now...:)

3.8.0 Alpha 1 Community menu (Navbar Dropdown)
By: Hoxxybydesign

Easy, about 1-2 mins

This simple modification adds The 3.8.0 Alpha 1 Community dropdown menu to the navigation bar.



All edits take place in the navbar template

Open the navbar Template

FIND:
HTML:
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>

BELOW ADD:
HTML:
<td id="hbd_comnav" class="vbmenu_control"><a href="#hbd_comnav">Community</a> <script type="text/javascript"> vbmenu_register("hbd_comnav"); </script></td>

FIND AND DELETE:
HTML:
<if condition="$vboptions['enablememberlist']">
			<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		</if>

FIND AND DELETE:
HTML:
<tr><td class="thead">$vbphrase[networking]</td></tr>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
		<if condition="$show['quick_links_groups']">
			<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
		</if>
		<if condition="$show['quick_links_albums']">
			<tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
		</if>

FIND:

Code:
<!-- / NAVBAR POPUP MENUS -->

ABOVE ADD:
HTML:
<!--  HBD 3.8.0 Alpha 1 Community Drop down menu in navbar -->
<div class="vbmenu_popup" id="hbd_comnav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Community Links</td></tr>
		<if condition="$show['quick_links_groups']">
			<tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
		</if>
		<if condition="$show['quick_links_albums']">
			<tr><td class="vbmenu_option"><a href="album.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[pictures_and_albums]</a></td></tr>
		</if>
		<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>

<if condition="$vboptions['enablememberlist']">
			<td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
		</if>
</table>
</div>
<!-- / HBD 3.8.0 Alpha 1 Community Drop down menu in navbar -->


Save and you're done

Enjoy :)
 
Back
Top