To add the FB Connect button in from VB 4.0.3 use this in your vbulletin.css instead of what's in the first post:
PHP 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: 95px;
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;
}
Then in your header template use this code instead of the on in the first post:
PHP 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><vb:if condition="$vboptions['enablefacebookconnect']">
{vb:raw facebook_header}
</vb:if><a rel="help" href="support.php{vb:raw session.sessionurl_q}">Help</a> - <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>
Also find the facebook_header template and remove:
PHP Code:
<li id="fb_headerbox">
and