I've been trying to figure out how to fix the Add to Friends List link, but I can't figure out a way after many hours last night and this morning trying. Anyways, I just left it as a link to the profile of the user for now until I can ever figure out a way to do it the right way.
All the other links have been updated, and I fixed some placing errors that seem to be included with the default script. Here's my updated templates:
GXBL
Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" <vb:if condition="!is_browser('ie') OR is_browser('ie',8)"> dir="{vb:stylevar textdirection}"</vb:if> lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
{vb:raw gxbl_headinclude}
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
<vb:if condition="$includecss">
<vb:each from="includecss" value="file">
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}{vb:raw file}.css" />
</vb:each>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<vb:if condition="$show['pagenav']">
<div id="pagination_top" style="float:{vb:stylevar right};">
{vb:raw pagenav}
</div>
</vb:if>
<br /><br />
<div class="block">
<div class="blockhead">
{vb:rawphrase gxboxlive_title}
<a class="textcontrol" href="profile.php?do=editprofile#cfield_{vb:raw vboptions.gxbl_user_field}" rel="nofollow" style="margin-top:-3px;">{vb:rawphrase gxbl_addtag}</a>
</div>
<div class="blockbody formcontrols">
<table width="100%">
<tr class="columnsort">
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=s&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_rank}<vb:if condition="$sortfield == 's'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=n&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_username}<vb:if condition="$sortfield == 'n'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=gt&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_gamertag}<vb:if condition="$sortfield == 'gt'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th class="blocksubhead"></td>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=s&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_score}<vb:if condition="$sortfield == 's'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=r&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase reputation}<vb:if condition="$sortfield == 'r'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=z&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_zone}<vb:if condition="$sortfield == 'z'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
<th class="blocksubhead" style="text-align:center;">{vb:rawphrase gxbl_lastgames}</th>
</tr>
{vb:raw gxbl_bit}
</table>
</div>
</div>
<br /><br />
<vb:if condition="$show['pagenav']">
<div id="pagination_bottom" style="float:{vb:stylevar right};">
{vb:raw pagenav}
</div>
</vb:if>
<br />
<vb:if condition="$gxbl_stats">
<br />
{vb:raw gxbl_stats}
</vb:if>
<br />
{vb:raw footer}
</body>
</html>
gxbl_bit
Code:
<tr <vb:if condition="$player['gamertagid'] == $highlight['gamertagid']">class="gxblhighlight" id="currentPost"</vb:if>>
<td class="padding">
<vb:if condition="in_array($player['rank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$player['rank'] == '1'">gold<vb:else /><vb:if condition="$player['rank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw player.rank}" /></vb:if> {vb:raw player.rank}<sup>{vb:raw player.ranksuff}</sup>
</td>
<td nowrap="nowrap" class="padding">
<a href="member.php?u={vb:raw player.userid}">{vb:raw player.username}</a>
</td>
<td nowrap="nowrap" class="padding">
<a href="http://live.xbox.com/en-US/MyXbox/Profile?gamertag={vb:raw player.url_gamertag}" target="_blank">{vb:raw player.gamertag}</a>
</td>
<td nowrap="nowrap" class="padding">
<vb:if condition="$show['gxbl_message'] == '1'"><a href="http://live.xbox.com/en-US/MessageCenter/Compose?gamertag={vb:raw player.url_gamertag}" target="_blank"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/email_link.png" alt="{vb:rawphrase gxbl_message_x_friend, {vb:raw player.gamertag}}" /></a></vb:if>
<vb:if condition="$show['gxbl_friend'] == '1'"><a href="http://live.xbox.com/en-US/MyXbox/Profile?gamertag={vb:raw player.url_gamertag}" target="_blank" onClick="return confirm('{vb:rawphrase gxbl_confirm_x_friend, {vb:raw player.gamertag}}');"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/group_link.png" alt="{vb:rawphrase gxbl_add_x_friend, {vb:raw player.gamertag}}" /></a></vb:if>
<a href="http://gamercard.xbox.com/{vb:raw player.url_gamertag}.card" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw player.url_gamertag}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="{vb:raw player.avatar}" style="border: 1px solid <vb:if condition="$player['gold'] == '1'">gold<vb:else />silver</vb:if>;" /></a>
<a href="http://avatar.xboxlive.com/avatar/{vb:raw player.gamertag}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw player.gamertag}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw player.gamertag}/avatarpic-s.png" style="border: 1px solid <vb:if condition="$player['gold'] == '1'">gold<vb:else />silver</vb:if>;" /></a>
</td>
<td class="padding">
<acronym title="{vb:rawphrase gxbl_last_updated}: {vb:raw updated.date} {vb:raw updated.time}">{vb:raw player.score}</acronym>
</td>
<td class="padding">
<img class="inlineimg" border="0" src="{vb:raw gxbl.rep_path}{vb:raw player.reputation}{vb:raw gxbl.rep_suffix}" alt="{vb:rawphrase reputation}: {vb:raw player.reputation}" />
</td>
<td class="smallfont" class="padding">
{vb:raw player.zone}
</td>
<td class="padding">
{vb:raw player.games}
</td>
</tr>
gxbl_headinclude
Code:
<script type="text/javascript" src="clientscript/overlib/overlib.js"></script>
<script type="text/javascript">
function gXBL_show(type, gamertag){
switch(type){
case "gamercard":
return overlib('<iframe src="http://gamercard.xbox.com/'+gamertag+'.card" scrolling="no" frameBorder="0" height="140" width="204">'+gamertag+'</iframe>', BORDER, 0, FULLHTML, WIDTH, 204, HEIGHT, 140, VAUTO, HAUTO);
case "nxeavatar":
return overlib('<iframe src="http://avatar.xboxlive.com/avatar/'+gamertag+'/avatar-body.png" scrolling="no" frameBorder="0" height="300" width="150">'+gamertag+'</iframe>', BORDER, 0, FULLHTML, WIDTH, 150, HEIGHT, 300, VAUTO, HAUTO);
}
}
var gXBL_hide = nd;
</script>
<style type="text/css">
.gxblhighlight {
border:2px solid yellow;
}
.padding {
text-align: center;
}
</style>
You can just replace the existing templates with these, of course backing up any personal changes you have already made - if any. I'm not guaranteeing they will work for every style out there, but for the default style, and style I have it seems to work fine.
Example:
http://forums.gamerhandles.com/gxboxlive.php