Back to vBulletin 3.8 Template Modifications

User-CP Drop-Down Menu
Mod Version: 1.00, by ShawneyJ

vB Version: 3.8.7 Rating: (1 vote - 5.00 average) Installs: 3
Released: 09 Oct 2012 Last Update: Never Downloads: 0
Not Supported  

A Simple User CP Drop-Down Menu. Was a Re-Quest from a member here at vBulletin.org.
No real difference from other Mods im guessing, but, this Drop-Down should be Inline, NOT over to the left or right. just a little neater. Some mite think this may come in handy. For now i'll post here for safe keeping!

Looks fine Using FF and IE. Not Tested With Any Other Browsers.

HOW TO INSTALL. GO TO Styles & Templates>>Style Manager>>Edit Templates To The Style Of Your Choice, Go To>>Navigation / Breadcrumb Templates>>NAVBAR...

IN YOUR TEMPLATE (NAVBAR)

FIND:

Code:
        <if condition="$show['member']">
            <td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
REPLACE ALL OF THE CODE ABOVE WITH THIS:

Code:
        <if condition="$show['member']">
            <td class="vbmenu_control"><a id="customlinks" href="$show[nojs_link]#customlinks" rel="nofollow" accesskey="6">User CP</a> <script type="text/javascript"> vbmenu_register("customlinks"); </script></td>
</if>
NEXT FIND IN NAVBAR TEMPLATE:

Code:
<!-- / NAVBAR POPUP MENUS -->
ADD BELOW THE FOLLOWING CODE:

Code:
<div class="vbmenu_popup" id="customlinks_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Your Profile</td></tr>
<td class="vbmenu_option">
<a href="profile.php?do=editprofile" title="Edit Your Details">Edit Your Details</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=privacy" title="Profile Privacy">Profile Privacy</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=editprofilepic" title="Edit Profile Picture">Edit Profile Picture</a></td>
</td>
</tr>
<tr><td class="thead">Networking</td></tr>
<td class="vbmenu_option">
<a href="profile.php?do=buddylist" title="Contacts & Friends">Contacts & Friends</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="group.php" title="Social Groups">Social Groups</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="album.php" title="Pictures & Albums">Pictures & Albums</a></td>
</td>
</tr>
<tr><td class="thead">Settings & Options</td></tr>
<td class="vbmenu_option">
<a href="profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=editsignature" title="Edit Signature">Edit Signature</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=editpassword" title="Edit Email & Password">Edit Email & Password</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=editoptions" title="Edit Options">Edit Options</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=ignorelist" title="Edit Ignore List">Edit Ignore List</a></td>
</td>
</tr>
<tr><td class="thead">Private Messages</td></tr>
<td class="vbmenu_option">
<a href="private.php" title="List Messages">List Messages</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="private.php?do=newpm" title="Send New Message">Send New Message</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="private.php" title="List Messages">List Messages</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="private.php?do=trackpm" title="Track Messages">Track Messages</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="private.php?do=editfolders" title="Edit Folders">Edit Folders</a></td>
</td>
</tr>
<tr><td class="thead">Subscribed Threads</td></tr>
<td class="vbmenu_option">
<a href="subscription.php?do=viewsubscription" title="List Subscriptions">List Subscriptions</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="subscription.php?do=editfolders" title="Edit Folders">Edit Folders</a></td>
</td>
</tr>
<tr><td class="thead">Miscellaneous</td></tr>
<td class="vbmenu_option">
<a href="calendar.php?do=viewreminder" title="Event Reminders">Event Reminders</a></td>
</td>
</tr>
<td class="vbmenu_option">
<a href="profile.php?do=editattachments" title="Attachments">Attachments</a></td>
</td>
</tr>
    </table>
</div>
In that last code, you can edit or add any links you want.

PLEASE NOTE: This Edit is for Default Style Navbars.
It can be used in Header Buttons ETC, but with a little playing around.

See Screen Shot.
Enjoy!

Download

No files for download.

Screenshots

Click image for larger version
Name:	test.jpg
Views:	246
Size:	90.9 KB
ID:	141619  


vblts.ru supports vBulletin®, 2022-2024