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 |
#12
|
||||
|
||||
Great work
I have a small comment Why do not you add an image expressive on the list ?You attached a photo caption explains the idea more |
#13
|
||||
|
||||
nice edits, thanks for sharing!
|
#14
|
|||
|
|||
Quote:
Code:
<li>your link</li> Quote:
let's say if you place your icons into site_icons folder all you have to do is is add the image location into template Code:
<li><img src="{vb:stylevar imgdir_siteicons}/my_icon.png" alt="the name" /><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase user_control_panel}</a></li> |
#15
|
||||
|
||||
Thanks for that. It installed on my default skin but my Zen skin doesn't have that code in the header www.tooraktimes.com.au
|
#16
|
|||
|
|||
Hi, sorry have no glue of that skin, the skin-designer might give you an idea how to do it.
|
#17
|
|||
|
|||
thanks. works great.
|
#18
|
|||
|
|||
thanks, 4.2.5
|
Благодарность от: | ||
scottkoz20 |
#19
|
|||
|
|||
I added the "whats new" to the bottom of mine so I can remove this from the Menu Bar
I Bolded what I added to this Code:
<li class="popupmenu nonotifications" id="nonotifications"> <a class="popupctrl" href="#">CHANGE THE MENU NAME HERE</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> <li><a href="activity.php">See All New Posts on SCF</a></li> </ul> </li> |
Благодарность от: | ||
rodriiverduguez |
#20
|
||||
|
||||
Works 4.2.5. thanks
|
#21
|
||||
|
||||
working on 4.2.6. php 7.2
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|