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 |
#12
|
||||
|
||||
Installed this, and it works fine. However, for some reason the font color of Friends & Contacts is white, so you can't see it. (unless you mouse over of course) Does anybody know where I can change this?
|
#13
|
|||
|
|||
At the bottom:
Quote:
*shrugs*, I still am having issues.. Reverted templates back to default and tried again, I still don't have an overlay. I also have the same issue as Sadoy, Friends & contact text is white, which makes it hard to see unless you mouse over it. |
#14
|
||||
|
||||
Aye!
Vicious you know I like you man but here's the dealio for everyone new to this or just not aware: 1. You can't just copy someones code as Daten did yours without asking first unless you marked your mod as "Re-Usable Code". 2. You can upload SevenSkins product for download in your mod thread Vicious. 3. YOU all can however ask each other for permission to do so but the product of one coder should not be placed for download in another coders modification thread all sorts of issue come to mind including but not limited to the original coder updating his mod yet this version would remain and be outdated could cause issues int he future no matter how responsible you are it's still two edits and having to keep up with it = no no. 4. Daten should have come to you and offered his code no sense having a new thread about it, your Rework is slightly different that your original mod thread and it works fine on 4.0 not 4.0.1 and this version here works fine on 4.0.1 but looks off in 4.0 I bet due to the alignment issue so it can be left as it's for use with a specific version IF you make sure the version listed is 4.0 instead of 4.0.x Other stuff comes to mind but a few of you just needed that to be said I hope, meant as a fyi. Mike |
#15
|
|||
|
|||
okay try this instead
remove the top header info from vbulletin.css and add it like this to headerinclude template after dropdown.js script line Code:
<style type="text/css"> .top-header-info{ position:absolute; -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; 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; } </style> |
#16
|
|||
|
|||
Quote:
|
#17
|
|||
|
|||
You're getting there with it.
1. You should ditch the table, and use <div style="float: right; padding: 3px;"> for the avatar placement 2. You shouldn't make a call to yet another CSS file from the headinclude, instead those definitions should be added to vbulletin.css since you're already requesting an edit there. 3. z-index: 2px; isn't valid. z-index can't have a pixel value and instead should be just 2 if thats what you want it. 4. Why not make use of the already built in vBulletin drop down menus, rather than adding another call to a javascript file. Great work though! |
#18
|
||||
|
||||
Ahh thanks yeah that's a big no-no... I know the rules for posting mods are around here somewhere let me find the link, I just don't want you all to get in trouble and even Daten seems to be confused on the proper methods plus if we don't make it known when stuff like this happens others might make a repeat in the future and we don't want that either .
Mike |
#19
|
||||
|
||||
Quote:
|
#20
|
|||
|
|||
i cant see avatars when i use this
|
#21
|
|||
|
|||
Quote:
its easier with the table. i tested the code every way, so i think i know what im doing. ill fix the z-index part though |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|