Back to vBulletin 4.x Template Modifications

Neat menu for header
Mod Version: 1.00, by zascok

vB Version: 4.2.0 Rating: (3 votes - 4.67 average) Installs: 26
Released: 17 Aug 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

I scratched my left ear by right hand, it helps thinking (true story) and here is what I thought: Why keep links in the header 2 of them (nickname and my Profile) are doing exactly the same thing. While there are no links to the other things that can be useful to reach any time. Someone should have done this way earlier but who if not you? Enough of lyrics. Forgive my English lets start.


What does it do?


It adds a drop-down menu on the forum header where most usefull links can be reached at any time from any place of the http://askalon.ws/forum.php.

No additional java-scripts.
No additional css.
No translation necessary.
We are going to use builder in function, slides, styles.
This is why it's going to fit your forum stile, no matter what have you done: changing the colours or something else.

The only word you might wanna change and/or traslate is "Office"
======================================================

Go to the templates. Open the 'header' one. Back it up. Find this

Code:
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
				<li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li>
and get rid of it.

Now copy and paste this in that empty space you have got

Code:
				<li class="popupmenu nonotifications" id="nonotifications">
<a class="popupctrl" href="#">Office</a>
<ul class="popupbody popuphover">
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li>
<li><a href="private.php?{vb:raw session.sessionurl}do=newpm"> {vb:rawphrase send_private_message}</a></li>
<li ><a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a></li>
<li ><a href="profile.php?{vb:raw session.sessionurl}do=editprofilepic">{vb:rawphrase edit_profile_picture}</a></li>
<li ><a href="profile.php?{vb:raw session.sessionurl}do=editavatar">{vb:rawphrase edit_avatar}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw bbuserinfo.userid}&amp;starteronly=1&amp;contenttype=vBForum_Thread">{vb:rawphrase find_all_started_threads}</a></li>
<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw bbuserinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1">{vb:rawphrase find_all_posts}</a></li>
</ul>
</li>
Hit the save button, obviously you can give it a better name that Office

And if you can think of any other links that you would like to see in there. O, well you know what to do now, just keep that ul li in proper order.

Enjoy, install, vote, buy me a coffee ... etc

P.S. If you want to get rid of Notification in header as well as I wanted, use this mode . Really nice job
TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl)

Download

No files for download.

Screenshots

Click image for larger version
Name:	Untitled-1.jpg
Views:	866
Size:	61.1 KB
ID:	140569   Click image for larger version
Name:	2.jpg
Views:	625
Size:	78.8 KB
ID:	140570   Click image for larger version
Name:	3.jpg
Views:	685
Size:	69.7 KB
ID:	140571  


vblts.ru supports vBulletin®, 2022-2024