Quote:
Originally Posted by Taringa! CS
I've got it working fine!
Is it possible to eliminate the user avatar with the facebook icon on navbar?
|
Yeah, just go into the fbconnect_button template and comment out/delete the image reference.
change this ...
Code:
<if condition="$vbulletin->userinfo['fbuid'] > 0">
<if condition="$show['member']">
<td class="alt2" nowrap="nowrap" align="center" style="width:51px;padding:0px">
<div style="position: relative; padding:0px;">
<a target="_new" href="http://www.facebook.com/profile.php?id={$vbulletin->userinfo['fbuid']}">
<img width="40" height="40" alt="Logged in with Facebook" src="https://graph.facebook.com/{$vbulletin->userinfo['fbuid']}/picture" title="Logged in with Facebook">
<img style="width: 15px; height: 15px; position: absolute; left: 2px; top: -3px; z-index: 2;" alt="Logged in with Facebook" src="images/facebook/fblogo.png" title="Logged in with Facebook" />
</a>
</div>
</td>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>
to this ...
Code:
<if condition="$vbulletin->userinfo['fbuid'] > 0">
<if condition="!$show['member']">
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>
<else />
<td class="alt2" nowrap="nowrap" align="center" style="width:58px;padding:0px">
<a href="#" onclick="javascript:fblogin(); return false;">
<img src="images/facebook/fbconnect.png" border="0" />
</a>
</td>
</if>