The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced Header V2 Rework Details »» | |||||||||||||||||||||||||||||
NEW Version works with version 4.0.8 and above!
Check Out The New Version ------------------------------------------------------------------------- Sorry for the long wait, but here is the working and better version of Advanced Header v2 this version will work on 4.0.1 + Up Look at the screenshot below First upload the files from the archive to the correct folders in your forum. Now its time to edit the templates. Step 1. Upload the files to the image directory. Step 2. Edit vbulletin.css (inside CSS templates) add this code at the very bottom Code:
.top-header-info{ position:absolute; z-index: 2000; top:0px; right:0px; padding-left: 12px; padding-top: 8px; padding-right: 6px; padding-bottom: 0px; margin-top: -0px; height: 85px; width:320px; color:#FFFFFF; background: #7192A8 url(images/gradients/gradient-grey-down.png) top left repeat-x; font: 12px verdana; -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius-topright: 0px; -webkit-border-radius-top-right: 0px; -moz-border-radius-topleft: 0px; -webkit-border-radius-top-left: 0px; -moz-border-topright-radius: 0px; -webkit-border-top-right-radius: 0px; -moz-border-topleft-radius: 0px; -webkit-border-top-left-radius: 0px; } #one-ddcontent li a:link{ color: #000000; } #one-ddcontent li a:hover{ color: #FFFFFF; } Edit the header template Find This Code:
<div class="above_body"> <!-- closing tag is in template navbar --> <div id="header" class="floatcontainer doc_header"> Code:
<script type="text/javascript" src="images/dropdown.js"></script> <link rel="stylesheet" href="images/dropdown.css" type="text/css" /> Code:
<ul class="isuser"> <li><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">{vb:rawphrase log_out}</a></li> <vb:if condition="$show['registerbutton']"> <li><a href="register.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase register}</a></li> </vb:if> <li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li> <li><a href="{vb:link member, {vb:raw bbuserinfo}}">{vb:rawphrase your_profile}</a></li> <vb:if condition="$notifications_total"> <li class="popupmenu notifications" id="notifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a> <ul class="popupbody popuphover"> {vb:raw notifications_menubits} </ul> </li> <vb:else /> <li class="popupmenu nonotifications" id="nonotifications"> <a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}</a> <div class="popupbody popuphover"> <p>{vb:rawphrase no_new_messages}</p> <p><a href="private.php{vb:raw session.sessionurl_q}">{vb:rawphrase inbox}</a></p> </div> </li> </vb:if> <li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li> </ul> <vb:comment><p>{vb:rawphrase last_visited_x_at_y, {vb:raw pmbox.lastvisitdate}, {vb:raw pmbox.lastvisittime}}</p></vb:comment> Code:
<div class="top-header-info"> <table border="0"> <tr> <td width="66" valign="top" style="padding-top: 1px;">{vb:raw header_avatar}</td> <td valign="top" align="left"><vb:if condition="$notifications_total"> <dl class="th-dropdown"> <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"><img src="images/arrowdown.png" border="0" /> {vb:raw bbuserinfo.username} - ({vb:raw notifications_total})</dt> <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)"> <ul> {vb:raw notifications_menubits} <vb:else /> <dl class="th-dropdown"> <dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"><img src="images/arrowdown.png" border="0" /> {vb:raw bbuserinfo.username}</dt> <dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)"> <ul> </vb:if> <li><a href="{vb:link member, {vb:raw bbuserinfo}}" class="th-underline">My Profile</a></li> <li><a href="profile.php?do=editprofile{vb:raw session.sessionurl_q}" class="th-underline">Edit Profile</a></li> <li><a href="usercp.php{vb:raw session.sessionurl_q}" class="th-underline">My Settings</a></li> <li><a href="profile.php?do=buddylist{vb:raw session.sessionurl_q}" class="th-underline">Friends & Contacts</a></li> <li><a href="private.php{vb:raw session.sessionurl_q}">Private Messages</a></li> </ul> </dd> </dl><div style="margin: 0px 0px 7px 0px; font-size: 11px;"><b>Last Login:</b> {vb:raw pmbox.lastvisitdate} @ {vb:raw pmbox.lastvisittime}</div> <div style="width: 194px; color: #FFF; padding: 4px 4px 4px 4px; background:#2f4456; font-size: 11px;"><b><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">Get Help</a><b> - <b><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">Logout</a></b></div></td></tr> </table> </div> Code:
<div class="ad_global_header"> {vb:raw ad_location.global_header1} {vb:raw ad_location.global_header2} </div> <hr /> {vb:raw ad_location.ad_header_end} Code:
<vb:if condition="$show['member']"><div style="height: 50px"></div></vb:if> Edit navbar_notifications_menubit template Replace all with this - Fixed. Code:
<li><a href="{vb:raw notification.link}" class="th-underline">{vb:raw notification.phrase} ({vb:raw notification.total})</a></li> add This above My Profile link Code:
<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}" class="th-underline">Admin cPanel</a></li></vb:if> <vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}" class="th-underline">Mod cPanel</a></li></vb:if> Download Now
Show Your Support
|
Comments |
#122
|
||||
|
||||
Ok, so got it on my test site, and IE messes it up a bit....
FireFox As you can see it all looks good with FireFox. IE 8 - Without Compatability As you can see in IE 8 without Compatability View the word "last" is on the end of the whole thing at the top? Also there is apparently a non-existent image trying to appear? IE 8 - With Compatability As you can see it gets worse. This is using IE 8 with Compatability View on. What a mess. Anything i can do to clean up the IE one without affecting it in FF? |
#123
|
|||
|
|||
Clarkey25, I had the same issue.
In the .top-header-info css structure, I changed the padding-right to 6px. See if that helps. |
#124
|
||||
|
||||
Thanks, Ok well the padding-right was already set to 6px. However, I changed the width:320px to 300px and that moved the "last" on to the correct line. So that's that bit solved.
Now to figure out this white square with the red cross in IE. EDIT: Of course... i've just figured it out.... there's supposed to be an image there "arrowdown.png" but the link to it isn't right. That's why IE shows the red cross and FF shows nothing.... silly me. EDIT 2: Fixed. Now there's only the IE 8 Compatability View problem, but I can live with that for now. |
#125
|
|||
|
|||
Dangit that was the property. Sorry I gave you the wrong one. As for the the missing pic, check your code in the header for the correct path to the image that you're using.
|
#126
|
||||
|
||||
Yep sorted the missing image issue.
|
#127
|
|||
|
|||
First off, awesome mod, had to make a few of my own tweaks but I have ran into a few things I can't figure out.
Attachment 117557 In the picture above, can someone please tell me how do i change this font from grey to white? Mind sharing what you did, and how you did it? |
#128
|
|||
|
|||
thank you, works perfectly
|
#129
|
|||
|
|||
Quote:
Code:
<div style="width: 194px; color: #FFF; padding: 4px 4px 4px 4px; background:#2f4456; font-size: 11px;"><b><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">Get Help</a><b> - <b><a href="login.php?{vb:raw session.sessionurl}do=logout&logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">Logout</a></b></div></td></tr> |
#130
|
||||
|
||||
good job ... I like it
|
#131
|
|||
|
|||
Quote:
I am using digitalvb morbid blue theme btw. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|