The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Neat menu for header Details »» | |||||||||||||||||||||||||||||||
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 forum. 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> 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&userid={vb:raw bbuserinfo.userid}&starteronly=1&contenttype=vBForum_Thread">{vb:rawphrase find_all_started_threads}</a></li> <li><a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw bbuserinfo.userid}&contenttype=vBForum_Post&showposts=1">{vb:rawphrase find_all_posts}</a></li> </ul> </li> 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 https://vborg.vbsupport.ru/showthread.php?t=254231 Screenshots
Show Your Support
|
3 благодарности(ей) от: | ||
rodriiverduguez, Toorak Times, WendM |
Comments |
#2
|
|||
|
|||
Reserved?
|
#3
|
||||
|
||||
Nice, installed
|
#4
|
||||
|
||||
Installed and nominated.
I suggest, instead of "office" the display menu may be like "My Account" or "Manage" |
#5
|
|||
|
|||
Thanks. It's up to, I'm not using English on my board, so 'office' was the first think I could think of.
|
#6
|
||||
|
||||
What about if you wish to keep the Links already there and not remove them but add this alongside them So it could be used with other needed links ????
Is there a place inside the code of the header template to add it for it to show this way? |
#7
|
|||
|
|||
Quote:
In that case , don't remove the lines, place the code under or before those lines but remove this 1st line from the menu to don't keep double links Code:
<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li> |
Благодарность от: | ||
ProFifaLeagues |
#8
|
|||
|
|||
if i want to move this menu to below the nev bar??? like the sub manu (calendar, Quicklinks etc) are at left side and the manu u are editing is on right side in the same position how to do that?
|
#9
|
|||
|
|||
in case of 4.2 you put the links thought Navigation Manager and give the names but I'm not sure it will work from there.
|
#10
|
||||
|
||||
Hi Zascok,
I can use links to mods like the Graphic editor and Tournaments to a community or say call it Tools drop down? |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|