View Full Version : Add-On Releases - gXboxLive - Xbox Live Leaderboard
Hippy
09-12-2012, 10:11 PM
try this
look in your
gxbl_stats template
for
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase reputation}: {vb:raw gxblusercount.reputation}</div>
if you dont have it add it around about after
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_score}: {vb:raw gxblusercount.score}</div>
Hippy
09-12-2012, 10:13 PM
as far as code for the postbit
its using a hook..
and calling the gxbl_postbit template
make sure yours looks like this
<vb:if condition="$show['gxblrank']"><div><a href="gxboxlive.php?gt={vb:raw post.url_gxblgamertag}" onmouseover="gXBL_show('gamercard','{vb:raw post.url_gxblgamertag}');" onmouseout="return gXBL_hide();">{vb:rawphrase gxboxlive_title}</a>: <vb:if condition="in_array($post['gxblrank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$post['gxblrank'] == '1'">gold<vb:else /><vb:if condition="$post['gxblrank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw post.gxblrank}" /></vb:if> {vb:raw post.gxblrank}<sup>{vb:raw post.gxblranksuff}</sup></div></vb:if>
JAnders
09-12-2012, 11:59 PM
yep both the stats and the postbit are exactly as you listed.
here the part in the gxbl_stats gxbl_postbit is exactly as you posted
<div class="blockbody formcontrols" id="gxblstatistics">
<table width="100%">
<tr class="columnsort">
<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_stats}}</th>
<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_players}}</th>
<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_avatars}}</th>
<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_games}}</th>
</tr>
<tr align="center">
<td>
<div class="shade">{vb:rawphrase gxbl_players}: {vb:raw gxblusercount.usercount}</div>
<div class="shade">{vb:rawphrase gxbl_gold} {vb:rawphrase gxbl_accounts}: {vb:raw gxblusercount.gold}</div>
<div class="shade">{vb:rawphrase gxbl_silver} {vb:rawphrase gxbl_accounts}: {vb:raw gxblusercount.silver}</div>
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_score}: {vb:raw gxblusercount.score}</div>
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase reputation}: {vb:raw gxblusercount.reputation}</div>
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_games}: {vb:raw gxblusercount.games}</div>
Hippy
09-13-2012, 12:07 AM
In the plug in are they all checked?
JAnders
09-13-2012, 12:09 AM
as far as code for the postbit
its using a hook..
and calling the gxbl_postbit template
make sure yours looks like this
<vb:if condition="$show['gxblrank']"><div><a href="gxboxlive.php?gt={vb:raw post.url_gxblgamertag}" onmouseover="gXBL_show('gamercard','{vb:raw post.url_gxblgamertag}');" onmouseout="return gXBL_hide();">{vb:rawphrase gxboxlive_title}</a>: <vb:if condition="in_array($post['gxblrank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$post['gxblrank'] == '1'">gold<vb:else /><vb:if condition="$post['gxblrank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw post.gxblrank}" /></vb:if> {vb:raw post.gxblrank}<sup>{vb:raw post.gxblranksuff}</sup></div></vb:if>
ok i understand a lot more what's going on so the template part for the postbit is fine, however the problem is not there is in the plugin called post bit stats display "
postbit_display_complete" it's disabled by default, when I enable the threads go blank. when you click on a thread there's nothing displaying just a completely blank page.
JAnders
09-13-2012, 12:12 AM
all other plugins for gxbl are enabled
Hippy
09-13-2012, 09:08 AM
Turn on post bit stats display plugin,
turn off the Show_post Plugin
now open up your
gxbl_headinclude template and copy it.
Now paste it into the top of your headinclude template
save
and see if that does it.
I have to figure out what's causing your blank white Page.
Let me know how you make out
JAnders
09-13-2012, 02:06 PM
alright thanks, i did see a few pages back that a few people had complained about the same issue when they turned the plugin on.
did as you suggested and still got the blank page if the show_post plugin was turned off. if all plugins are enabled except the postbit stats display. the threads display fine. as soon as it's turned on it goes blank even if the show_post plugin is off too.
Hippy
09-13-2012, 02:19 PM
When I get home I'll figure it out, I'm on a cell phone at work atm.
JAnders
09-13-2012, 02:28 PM
hey thanks for all the help!
Hippy
09-13-2012, 02:35 PM
Question, I went five plus pages back and only see one mention of a blank Page but it wasn't the thread / posts it was the main leader board Page.
Also you said it worked before in the last version. Did you mean with vb3 or?
JAnders
09-13-2012, 03:43 PM
sorry yeah on v3.7 i just updated to v4.
i did a search and here's some posts of users who complained about the blank page in the post bit:
https://vborg.vbsupport.ru/showpost.php?p=2304537&postcount=409
https://vborg.vbsupport.ru/showpost.php?p=2210319&postcount=287
https://vborg.vbsupport.ru/showpost.php?p=2083249&postcount=87
i did read thru and didn't see a fix on any of the posts
Hippy
09-13-2012, 04:18 PM
Thanks this was before I made the plugin to render the game card. So I now know its something else. I have it working on a live Site I manage and the test Site on the same server same copy of the db and it's getting that white Page, it's just a possess of a limitation... Will figure it out....
Ross L
09-13-2012, 04:36 PM
post me your
gxbl_bit temlate
seems like something is missing
Thanks for that my gxbl_bit template is below:
<tr <vb:if condition="$player['gamertagid'] == $highlight['gamertagid']">class="gxblhighlight" id="currentPost"</vb:if>>
<td style="padding-left:5px;">
<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" style="padding-left:10px;">
<a href="member.php?u={vb:raw player.userid}">{vb:raw player.username}</a>
</td>
<td nowrap="nowrap" style="padding-left:10px;">
<a href="http://live.xbox.com/en-US/MyXbox/Profile?gamertag={vb:raw player.gamertag}" target="_blank">{vb:raw player.gamertag}</a>
</td>
<td style="padding-left:25px;">
<acronym title="{vb:rawphrase gxbl_last_updated}: {vb:raw updated.date} {vb:raw updated.time}" style="border-bottom:1px dotted;">{vb:raw player.score}</acronym>
</td>
<td style="padding-left:10px;">
{vb:raw player.games}
</td>
<td class="padding" style="padding-left:30px; padding-top:5px;">
<a href="http://gamercard.xbox.com/en-us/{vb:raw player.gamertag}.card" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw player.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>
<vb:if condition="$show['gxbl_message'] == '1'"><a href="http://live.xbox.com/en-US/MessageCenter/Compose?gamertag={vb:raw player.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.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>
</td>
</tr>
Hippy
09-13-2012, 08:55 PM
@JAnders
what version of mysql and apache2
@Ross L
change that template to this
over write yours
<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.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/Messages?gamertag=vb:raw player.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.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/en-us/{vb:raw player.gamertag}.card" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw player.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"><div class="xblrep"><div class="Stats">{vb:raw player.reputation}</div></div></td>
<td class="padding">
{vb:raw player.games}
</td>
</tr>
and your GXBL template
{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>
<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:left;">{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:left;">{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:left;">{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><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=gt&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_zone}<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><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=s&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{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:left;">{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 class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_lastgames}</th>
</tr>
{vb:raw gxbl_bit}
</table>
</div>
</div>
<vb:if condition="$show['pagenav']">
<div id="pagination_bottom" style="float:{vb:stylevar right};">
{vb:raw pagenav}
</div>
</vb:if>
<vb:if condition="$gxbl_stats">
<br />
{vb:raw gxbl_stats}
</vb:if>
{vb:raw footer}
</body>
</html>
JAnders
09-14-2012, 12:46 AM
mysql 5.0 PHP Version 5.3.14
JAnders
09-15-2012, 04:47 AM
so I broke down and created my own custom code to add to the postbit_legacy template so it would display the gamertag.
with the below code it will show the gamertag name and a thumb of the avatar if you hoover on each it will show the actual image and if you click on the gt it will take you to the compose message screen on xbox.live.com
<!-- xbox live gt -->
<div>
<vb:if condition="$post['field9']"><fieldset><legend>XBox LIVE Gamercard</legend>
<a href="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw post.field9}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="https://live.xbox.com/en-US/Messages?gamertag={vb:raw post.field9}" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw post.field9}');" onmouseout="return gXBL_hide();">{vb:raw post.field9}</a></vb:if>
</fieldset>
</div>
<!-- endxbox live gt -->
i usually place it right below the post.posts portion on the template. but you may want to play around and use it where you want.
if you're using the eTiKeT™ 2011 Posbit_legacy - Postbit modification for the threads then use the code like this:
<!-- xbox live gt -->
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
<vb:if condition="$post['field9']"><fieldset><legend>XBox LIVE Gamercard</legend>
<a href="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw post.field9}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="https://live.xbox.com/en-US/Messages?gamertag={vb:raw post.field9}" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw post.field9}');" onmouseout="return gXBL_hide();">{vb:raw post.field9}</a></vb:if>
</fieldset>
</div>
<!-- endxbox live gt -->
JAnders
09-15-2012, 04:48 AM
thanks hippy for all your help and I hope figure out what the issue is with the blank page.
thedarkroom
09-16-2012, 05:07 AM
installed https://vborg.vbsupport.ru/showthread.php?t=247698 template, but when i activate the mod breaks the forum, can someone help me? vbulletin version 4.2 patch 2
TheSupportForum
09-16-2012, 06:02 AM
installed https://vborg.vbsupport.ru/showthread.php?t=247698 template, but when i activate the mod breaks the forum, can someone help me? vbulletin version 4.2 patch 2
that style is meant for 4.0.2 not 4.2.0
TheSupportForum
09-16-2012, 06:03 AM
so I broke down and created my own custom code to add to the postbit_legacy template so it would display the gamertag.
with the below code it will show the gamertag name and a thumb of the avatar if you hoover on each it will show the actual image and if you click on the gt it will take you to the compose message screen on xbox.live.com
<!-- xbox live gt -->
<div>
<vb:if condition="$post['field9']"><fieldset><legend>XBox LIVE Gamercard</legend>
<a href="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw post.field9}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="https://live.xbox.com/en-US/Messages?gamertag={vb:raw post.field9}" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw post.field9}');" onmouseout="return gXBL_hide();">{vb:raw post.field9}</a></vb:if>
</fieldset>
</div>
<!-- endxbox live gt --> i usually place it right below the post.posts portion on the template. but you may want to play around and use it where you want.
if you're using the eTiKeT? 2011 Posbit_legacy - Postbit modification for the threads then use the code like this:
<!-- xbox live gt -->
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
<vb:if condition="$post['field9']"><fieldset><legend>XBox LIVE Gamercard</legend>
<a href="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw post.field9}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw post.field9}/avatarpic-s.png" style="border: 1px solid gold;" /></a>
<a href="https://live.xbox.com/en-US/Messages?gamertag={vb:raw post.field9}" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw post.field9}');" onmouseout="return gXBL_hide();">{vb:raw post.field9}</a></vb:if>
</fieldset>
</div>
<!-- endxbox live gt -->
you should post this information in that template modification post
JAnders
09-17-2012, 12:44 PM
well I'm hoping it's not a permanent thing and the issue gets sorted ;)
Hippy
09-18-2012, 09:05 PM
well I'm hoping it's not a permanent thing and the issue gets sorted ;)
I worked on this for 6 hours
your game cards is working partially off the original code and the plugin I made...
weird..
I dont get this..
I will attack this again
when I clear my head
Hippy
09-18-2012, 09:07 PM
installed https://vborg.vbsupport.ru/showthread.php?t=247698 template, but when i activate the mod breaks the forum, can someone help me? vbulletin version 4.2 patch 2
might want to post over in that mods thread..
thedarkroom
09-25-2012, 07:45 PM
sorry my mistake, how can i move the block of stadistics to below navbar?
Hippy
09-25-2012, 08:25 PM
disable Forum Home Statistics in the options for the this mod and manualy add
{vb:raw gxblstats} where you want it to display.
CAG CheechDogg
09-26-2012, 09:26 AM
I regularly check back to see if a solution for the blank page has been found. Very weird how enabling it triggers the white blank page.
CAG CheechDogg
09-26-2012, 09:27 AM
Hippy, did you ever find a solution for the Reputation still showing (0) all the time?
I might of stumbled into something Hippy.
I use the Post Thank You Hack and it uses the following:
Varname $vbphrase[post_thanks_total_thanks]
Text Total Thanks
I changed that to something else and it reflected on the xbox live leaderboards as well changing the phrase for Reputation to what I changed it for the Post Thank You Hack as well. Could there be something connected here? I mean it shouldn't except for the phrase being the same, but it seems it is using the Post Thank You Hack's "reputation" phrase right?
MegaManSec
09-26-2012, 09:48 AM
XSS Vulnerability Found.
gxboxlive.php:199: $pagenav = construct_page_nav($pagenumber, $perpage, $gxblcounts['usercount'], 'gxboxlive.php?do=getall', (!empty($sortfield) ? "&sortfield=$sortfield" : "") . (!empty($sortorder) ? "&sortorder=$sortorder" : ""));
OP's last activity was 2011 December, so I'm assuming it won't be fixed.
To fix it yourself, find these lines in gxboxlive.php
$sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR);
$sortorder = $vbulletin->input->clean_gpc('r', 'sortorder', TYPE_STR);
and add under it
$sortfield = htmlspecialchars($sortfield);
$sortorder = htmlspecialchars($sortorder);
CAG CheechDogg
09-26-2012, 10:14 AM
XSS Vulnerability Found.
gxboxlive.php:199: $pagenav = construct_page_nav($pagenumber, $perpage, $gxblcounts['usercount'], 'gxboxlive.php?do=getall', (!empty($sortfield) ? "&sortfield=$sortfield" : "") . (!empty($sortorder) ? "&sortorder=$sortorder" : ""));
OP's last activity was 2011 December, so I'm assuming it won't be fixed.
To fix it yourself, find these lines in gxboxlive.php
$sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR);
$sortorder = $vbulletin->input->clean_gpc('r', 'sortorder', TYPE_STR);
and add under it
$sortfield = htmlspecialchars($sortfield);
$sortorder = htmlspecialchars($sortorder);
I know about XSS Vulnerabilities but how high risk is this if we don't add that fix of yours
MegaManSec
09-26-2012, 10:54 AM
I know about XSS Vulnerabilities but how high risk is this if we don't add that fix of yours
Well, it's non-persistent, so it's not 100% harmful, but if somebody were to construct a URL, and get a mod, or an admin to click on it, they could steal your cookies, use it as there own, and they would be logged in as a mod / admin.
There are also more things they could do, exploit 0days in the browser etc.
I would recommend you apply my fix :)
CAG CheechDogg
09-26-2012, 11:01 AM
Well, it's non-persistent, so it's not 100% harmful, but if somebody were to construct a URL, and get a mod, or an admin to click on it, they could steal your cookies, use it as there own, and they would be logged in as a mod / admin.
There are also more things they could do, exploit 0days in the browser etc.
I would recommend you apply my fix :)
Thank you for the explanation loaep, just wanted to gain some knowledge about what the risks were. I see you work in web security and it's good to see that you offer us vBulletin modification security checks.
Again thank you so much for that bit of knowledge!
EasyEazy
09-26-2012, 11:06 AM
XSS Vulnerability Found.
gxboxlive.php:199: $pagenav = construct_page_nav($pagenumber, $perpage, $gxblcounts['usercount'], 'gxboxlive.php?do=getall', (!empty($sortfield) ? "&sortfield=$sortfield" : "") . (!empty($sortorder) ? "&sortorder=$sortorder" : ""));
OP's last activity was 2011 December, so I'm assuming it won't be fixed.
To fix it yourself, find these lines in gxboxlive.php
$sortfield = $vbulletin->input->clean_gpc('r', 'sortfield', TYPE_STR);
$sortorder = $vbulletin->input->clean_gpc('r', 'sortorder', TYPE_STR);
and add under it
$sortfield = htmlspecialchars($sortfield);
$sortorder = htmlspecialchars($sortorder);
Thank you for the update
Hippy
09-26-2012, 08:41 PM
Im a little confused ..
you mean the total rep ?that always displays 0
if you have a place I can come by and peek..
this would be great to get it working ..
as far as the post thanks..
there could be ..would be great to add a fix for the thanks mod and this one..
pm me..
Hippy, did you ever find a solution for the Reputation still showing (0) all the time?
I might of stumbled into something Hippy.
I use the Post Thank You Hack and it uses the following:
Varname $vbphrase[post_thanks_total_thanks]
Text Total Thanks
I changed that to something else and it reflected on the xbox live leaderboards as well changing the phrase for Reputation to what I changed it for the Post Thank You Hack as well. Could there be something connected here? I mean it shouldn't except for the phrase being the same, but it seems it is using the Post Thank You Hack's "reputation" phrase right?
CAG CheechDogg
09-26-2012, 08:57 PM
@ Hippy
Correct Hippy, the Total Rep which always displays 0.
And as for my site just lick on my Signature or go to www.cagclan.com , you had already tried to help me figure out the blank page issue but we had no luck remember?
I have been looking trying to figure out the Total Rep issue myself with no success. I tried to see how it called for it from xbox.com but still no luck.
CAG CheechDogg
09-26-2012, 09:07 PM
@ Hippy
If we could get the template/code from this person's website, http://forums.3drealms.com/vb/gxboxlive.php, we might find a fix for the "total reputation" bug, it seems to be working on his site.
Hippy
09-26-2012, 10:07 PM
@ Hippy
If we could get the template/code from this person's website, http://forums.3drealms.com/vb/gxboxlive.php, we might find a fix for the "total reputation" bug, it seems to be working on his site.
I pmed him... will see what he says :up:
CAG CheechDogg
09-26-2012, 10:11 PM
Ok everyone this is very crazy! If you guys don't have your stars showing under "Reputation" it's because xbox.com had decided to once again change the location of the stars png image file.
To fix this go and open your gxbl_headinclude template and replace the url of the image from this:
http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png
To this:
http://live.xbox.com/content/gamercard/default/gamerCard_Icons.png
If you also added this to your headinclude template do the same changes.
CAG CheechDogg
09-26-2012, 10:13 PM
I pmed him... will see what he says :up:
Good stuff Hippy, I just ran into something I don't know if it was just me that reverted the templates or if indeed xbox.com again switched the urls of the stars png for the Repuation, but I posted it above just in case they did switch it again.
Hopefully he replies back. If he does you should ask him for zipped package of all the files for the mod, good idea? Then we can compare them to ours.
Hippy
09-26-2012, 10:13 PM
@ Hippy
Correct Hippy, the Total Rep which always displays 0.
And as for my site just lick on my Signature or go to www.cagclan.com , you had already tried to help me figure out the blank page issue but we had no luck remember?
I have been looking trying to figure out the Total Rep issue myself with no success. I tried to see how it called for it from xbox.com but still no luck.
so what fixed the blank page ?
Hippy
09-26-2012, 10:14 PM
Good stuff Hippy, I just ran into something I don't know if it was just me that reverted the templates or if indeed xbox.com again switched the urls of the stars png for the Repuation, but I posted it above just in case they did switch it again.
Hopefully he replies back. If he does you should ask him for zipped package of all the files for the mod, good idea? Then we can compare them to ours.
yeah he has the zone working as well
Hippy
09-26-2012, 10:15 PM
if your taking about the postbit.. (blank page)
do this https://vborg.vbsupport.ru/showpost.php?p=2365580&postcount=517
temp fix for now
I am working with him on his test site when I have time to figure out the issue..
CAG CheechDogg
09-26-2012, 10:22 PM
so what fixed the blank page ?
Nothing yet, lol...I haven't enabled the plugin that triggers the blank page.
yeah he has the zone working as well
Right! So he has to have a different template or templates, maybe even the gxboxlive.php file might be different. Hopefully he can help out.
if your taking about the postbit.. (blank page)
do this https://vborg.vbsupport.ru/showpost.php?p=2365580&postcount=517
temp fix for now
I am working with him on his test site when I have time to figure out the issue..
Ok, I will try this out later tonight when I get back home, that will be in about 2 hours.
Once again thanks a lot Hippy !
CAG CheechDogg
09-26-2012, 10:25 PM
So post 517 should fix the gXBL: Postbit Stats Display blank page issue?
CAG CheechDogg
09-26-2012, 10:26 PM
Better yet, is there an image to illustrate what this gXBL: Postbit Stats Display does when it is activated?
I am a bit confused as to what it is supposed to do since it never worked to begin with! lol...
Hippy
09-26-2012, 10:26 PM
So post 517 should fix the gXBL: Postbit Stats Display blank page issue?
temp fix..
CAG CheechDogg
09-26-2012, 10:28 PM
temp fix..
Ok cool! I will try it when I get back, I am already late for this meeting! lol...
Hippy
09-26-2012, 10:33 PM
Better yet, is there an image to illustrate what this gXBL: Postbit Stats Display does when it is activated?
I am a bit confused as to what it is supposed to do since it never worked to begin with! lol...
here
CAG CheechDogg
09-27-2012, 02:16 AM
here
HAHHA! Oh snaps! Ok , now I know what it is supposed to do! Pretty cool, I will add that temp fix and see how it goes. Once again thank you Hippy.
CAG CheechDogg
09-27-2012, 09:32 AM
Very weird Hippy!
I have activated the gXBL: Postbit Stats Display plugin and I no longer have the blank white page, but I also don't see what it is supposed to display from your post above.
:confused:
Hippy
09-28-2012, 07:54 PM
the mouse over on the the xbox live leader board link in your postbit
CAG CheechDogg
09-28-2012, 07:55 PM
the mouse over on the the xbox live leader board in your postbit
It didn't display anything in my postbit Hippy, very weird because like I stated, I have the plugin in activated and there is no more blank white page. Very weird! lol...
Hippy
09-29-2012, 10:51 AM
Do I have access there I can't remember ?..
send me info via pm
haincha
11-19-2012, 03:18 PM
Anyone still offering help with this? I had it all set up, and it is working for most people. Just not gamertags with spaces in them. It was working yesterday, but today my whole set of information went away.
technonook.com is where I am having the issues.
*Update*
Okay, I completely uninstalled. Deleted the current files and reinstalled. Now it is working... Not sure what happened.
Heardy
12-09-2012, 09:28 PM
Never mind, figured it out!
GamerPerfection
12-10-2012, 03:55 AM
If you are using 4.2.0 then go to admincp > Settings > Navigation Manager.
Then put it in there. Use the link: http://www.xxxxxxxxxxx.com/gxboxlive.php
Gemma
12-10-2012, 08:05 AM
So wish that vBulletin had a Xbox 360 mod like the one xenForo has :(
Gamelobby
01-25-2013, 05:48 AM
Anyone having problems with the "Top 5" updating.? (or how ever many yours is set to)
Mine just wont change.. it still says that games that came out 3 years ago is still top 5.
(Madden 11 is #5 & Black Ops 2 isn't even listed. lol)
If you are using 4.2.0 then go to admincp > Settings > Navigation Manager.
Then put it in there. Use the link: http://www.xxxxxxxxxxx.com/gxboxlive.phpgxboxlive.php{session.sessionurl_q}
So wish that vBulletin had a Xbox 360 mod like the one xenForo has :(What does theirs do.?
Naftalina
04-10-2013, 09:04 PM
hello I know how to insert a link to the Leaderboard on the menu of the forum, thank you ....
zapiy
04-22-2013, 11:29 AM
Anyone have any issues with this no longer updating?
GamerPerfection
04-26-2013, 06:38 PM
No problems with mine. I just updated to vB 4.2.1 and this Mod still seems to function correctly.
Ross L
04-27-2013, 11:53 AM
Still working fine here :)
ggrimes620
05-08-2013, 01:25 AM
Not sure about the postbit part because I don't use that but to get the gamercard showing up on forumhome copy the contents of gxbl_headinclude into your headinclude template :)
Gemma,
I want to get the stats displayed on the forum like CAG CheechDogg did on his website here:
https://vborg.vbsupport.ru/external/2013/05/43.png
Link: http://www.cagclan.com/community/forum.php
Is this the "headinclude" you are talking about?
https://vborg.vbsupport.ru/external/2013/05/44.png
If so, I need to take the entire contents of "gxbl_headinclude" and copy it directly into my "headinclude", right?
Here are the contents of "gxbl_headinclude":
<script type="text/javascript" src="clientscript/overlib/overlib.js"></script>
<script type="text/javascript">
function gXBL_setcursor(type) {
document.getElementsByTagName('body')[0].style.cursor = typeof type == 'undefined' ? 'default' : type;
links = document.getElementsByTagName('a');
for(i = 0; i < links.length; i++) links.item(i).style.cursor = typeof type == 'undefined' ? 'pointer' : type;
}
function gXBL_show( type, gamertag) {
if(type == 'gamercard')
{
gXBL_setcursor('progress');
var html = '<iframe onload="gXBL_setcursor();" src="http://gamercard.xbox.com/'+gamertag+'.card" scrolling="no" frameBorder="0" height="135" width="200">'+gamertag+'</iframe>';
return overlib(html, BORDER, 0, FULLHTML, WIDTH, 204, HEIGHT, 140, VAUTO, HAUTO);
}
if(type == 'nxeavatar')
{
gXBL_setcursor('progress');
var html = '<iframe onload="gXBL_setcursor();" src="http://avatar.xboxlive.com/avatar/'+gamertag+'/avatar-body.png" scrolling="no" frameBorder="0" height="300" width="150">'+gamertag+'</iframe>';
return overlib(html, BORDER, 0, FULLHTML, WIDTH, 150, HEIGHT, 300, VAUTO, HAUTO);
}
}
function gXBL_hide() {
return nd();
}
</script>
<style type="text/css">
.gxblhighlight td {
border:1px solid yellow;
}
div.xblrep .Stats
{
float:left;
}
div.xblrep .Stats .Stat
{
float:left;
text-align:left;
}
div.xblrep .Stats .Star
{
float:left;
width:12px;
height:12px;
}
div.xblrep .Stats .Empty
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -10px no-repeat;
}
div.xblrep .Stats .Quarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -30px no-repeat;
}
div.xblrep .Stats .Half
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -50px no-repeat;
}
div.xblrep .Stats .ThreeQuarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -70px no-repeat;
}
div.xblrep .Stats .Full
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -90px no-repeat;
}
</style>
Here is the contents of MY "headinclude":
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" />
<meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" />
<base href="{vb:raw basepath}" /><!--[if IE]></base><![endif]-->
<meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" />
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<vb:if condition="$stylevar['favicon']">
<link rel="Shortcut Icon" href="{vb:stylevar favicon}" type="image/x-icon" />
</vb:if>
<vb:if condition="$show['threadinfo']">
<vb:elseif condition="$show['foruminfo']" />
<meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" />
<meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, {vb:raw pagenumber}}-</vb:if>{vb:raw foruminfo.description_clean}" />
<vb:else />
<meta name="keywords" content="{vb:raw vboptions.keywords}" />
<meta name="description" content="{vb:raw vboptions.description}" />
</vb:if>
<vb:if condition="$show['fb_opengraph']">
{vb:raw facebook_opengraph}
</vb:if>
<vb:if condition="$show['remoteyui']">
<vb:if condition="$show['remoteyuicombo']">
<script type="text/javascript" src="{vb:stylevar yuicombopath}?{vb:stylevar yuiversion}/build/yuiloader-dom-event/yuiloader-dom-event.js&{vb:stylevar yuiversion}/build/connection/connection-min.js"></script>
<vb:else />
<script type="text/javascript" src="{vb:stylevar yuipath}/yuiloader-dom-event/yuiloader-dom-event.js"></script>
</vb:if>
</vb:if>
<script type="text/javascript">
<!--
if (typeof YAHOO === 'undefined') // Load ALL YUI Local
{
document.write('<script type="text/javascript" src="clientscript/yui/yuiloader-dom-event/yuiloader-dom-event.js?v={vb:raw vboptions.simpleversion}"><\/script>');
document.write('<script type="text/javascript" src="clientscript/yui/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>');
var yuipath = 'clientscript/yui';
var yuicombopath = '';
var remoteyui = false;
}
else // Load Rest of YUI remotely (where possible)
{
var yuipath = '{vb:stylevar yuipath}';
var yuicombopath = '{vb:stylevar yuicombopath}';
var remoteyui = true;
if (!yuicombopath)
{
document.write('<script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>');
}
}
var SESSIONURL = "{vb:raw session.sessionurl_js}";
var SECURITYTOKEN = "{vb:raw bbuserinfo.securitytoken}";
var IMGDIR_MISC = "{vb:stylevar imgdir_misc}";
var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}";
var vb_disable_ajax = parseInt("{vb:raw vboptions.disable_ajax}", 10);
var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}";
var BBURL = "{vb:raw vboptions.bburl}";
var LOGGEDIN = {vb:raw bbuserinfo.userid} > 0 ? true : false;
var THIS_SCRIPT = "{vb:raw this_script}";
var RELPATH = "{vb:raw relpath}";
var PATHS = {
forum : "{vb:raw vboptions.vbforum_url}",
cms : "{vb:raw vboptions.vbcms_url}",
blog : "{vb:raw vboptions.vbblog_url}"
};
var AJAXBASEURL = "{vb:raw ajaxbaseurl}";
// -->
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script>
{vb:raw template_hook.headinclude_javascript}
<vb:if condition="$vboptions['externalrss']">
<link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2" />
<vb:if condition="$show['foruminfo'] OR $show['threadinfo']">
<link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} - {vb:raw foruminfo.title_clean} - {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2&forumids={vb:raw foruminfo.forumid}" />
</vb:if>
</vb:if>
<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile main-rollup.css}
{vb:raw template_hook.custom_css_links}
<vb:else />
{vb:cssfile bbcode.css,editor.css,popupmenu.css,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css{vb:raw template_hook.custom_css_list}}
</vb:if>
<!--[if lt IE 8]>
{vb:cssfile popupmenu-ie.css,vbulletin-ie.css,vbulletin-chrome-ie.css,vbulletin-formcontrols-ie.css,editor-ie.css}
<![endif]-->
{vb:raw template_hook.headinclude_css}
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
<script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script>
<script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script>
<link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/>
<!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) -->
Where in MY "headinclude" do I put the entire contents of "gxbl_headinclude" to get the same results as CAG CheechDogg had on his website, as seen up above?
Sorry I'm being so descriptive, but I tried doing just this and nothing showed up on my forum page like what is on his website. Am I doing something wrong? Is the fault with the theme I am using?
Any help from anyone would be greatly appreciated. I'm at my wits end trying to get this on my forum home.
Thanks guys
CAG CheechDogg
05-08-2013, 06:54 AM
No you don't need to do all that, I just used the hook...
Open up your FORUMHOME template and find the following:
{vb:raw navbar}
right below that that add the following:
{vb:raw template_hook.xboxstats}
and check that the hook is not at the bottom or in any other section in your FORUMHOME template.
Let me know if it worked for you.
ggrimes620
05-08-2013, 02:58 PM
Thanks for replying so quick.
Here is a screenshot of my "FORUMHOME" with the addition of the code you gave me:
https://vborg.vbsupport.ru/external/2013/05/42.png
I cleared the cache and checked my forum and didn't see the stats block that you have. Do you think since I am using a different theme I may have to edit a different template file for it to show up?
Here is my ENTIRE "FORUMHOME" file with the addition:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw vboptions.bbtitle}</title>
<script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script>
<vb:if condition="$vboptions['storecssasfile']">
{vb:cssfile forumhome-rollup.css}
<vb:else />
{vb:cssfile forumbits.css,forumhome.css,options.css}
</vb:if>
<!--[if lt IE 8]>{vb:cssfile forumbits-ie.css,options-ie.css}<![endif]-->
<vb:if condition="$show['sidebar']">
{vb:cssfile sidebar.css,widgets.css,tagcloud.css}
<!--[if lt IE 8]>{vb:cssfile sidebar-ie.css}<![endif]-->
<script type="text/javascript">
<!--
document.write('<script type="text/javascript" src="' + yuipath + '/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>');
var sidebar_align = '{vb:raw show.sidebarposition}';
var content_container_margin = parseInt('{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}}');
var sidebar_width = parseInt('{vb:stylevar forum_sidebar_width}');
//-->
</script>
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}
{vb:raw template_hook.xboxstats}
<div id="pagetitle">
<h1>{vb:raw vboptions.bbtitle}</h1>
<p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p>
</div>
<vb:if condition="$show['sidebar']">
<div id="content_container" class="{vb:raw $sidebar_class} <vb:if condition="$show['sidebarposition'] == 'left'">contentright</vb:if>">
<div id="content" <vb:if condition="$sidebar_class">class="{vb:raw $sidebar_class}"</vb:if>>
</vb:if>
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<ol id="forums" class="floatcontainer">
{vb:raw forumbits}
</ol>
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->
<div id="navcustom" class="navlinks">
<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:ra w bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a>
<vb:if condition="$vboptions['forumleaders']">|
<a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
<vb:if condition="$vb_suite_installed">
{vb:rawphrase view_site_leaders}
<vb:else />
{vb:rawphrase view_forum_leaders}
</vb:if>
</a></vb:if>
</div>
{vb:raw ad_location.board_after_forums}
<!-- what's going on box -->
<!-- Start Whats Going Heading PurevB -->
<div class="tcat">
<div class="tcatLeft"><div class="tcatRight foruminfo L1 collapse"><div class="tcatWrap">
<h2>
<span class="forumtitle">{vb:rawphrase whats_going_on}</span>
</h2>
</div></div></div>
</div>
<!-- End Whats Going Heading PurevB -->
<div id="wgo" class="collapse wgo_block block">
<div class="blockbody formcontrols floatcontainer">
{vb:raw template_hook.forumhome_wgo_pos1}
<vb:if condition="$show['loggedinusers']">
<!-- logged-in users -->
<div id="wgo_onlineusers" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
<div>
<p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
<p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
<vb:if condition="$activeusers">
<ol class="commalist" id="wgo_onlineusers_list">
<vb:each from="activeusers" value="loggedin">
<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li>
</vb:each>
</ol>
</vb:if>
</div>
</div>
<!-- end logged-in users -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos2}
<!-- Start Members Today -->
<vb:if condition="$show['wgo_members']">
<div id="wgo_wgo_members_users" class="wgo_subblock section collapse">
<h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3>
<a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a>
<div id="wgo_members_list" {vb:raw wgo_members.style}>
<p>{vb:raw wgo_members.visitors}</p>
<vb:if condition="$vboptions['wgo_members_names']">
<vb:if condition="$wgo_members['totaltoday'] == 0">
{vb:phrase no_members_list}
<vb:else />
<ul class="commalist" id="wgo_wgo_members_list">
<vb:if condition="$wgo_members['template_hook']">
{vb:raw wgo_members.template_hook}
<vb:else />
<vb:each from="wgo_members_list" value="row">
<li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li>
</vb:each>
</vb:if>
</ul>
</vb:if>
<vb:else />
{vb:phrase member_list_disabled}
</vb:if>
</div>
</div>
</vb:if>
<!-- End Members Today -->
{vb:raw template_hook.forumhome_wgo_pos6}
<vb:if condition="$show['upcomingevents']">
<div id="wgo_events" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
<ol>
{vb:raw upcomingevents}
</ol>
</div>
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos3}
<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div id="wgo_birthdays" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3>
<ol class="commalist">
<vb:each from="birthdays" value="row">
<li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
<!-- end today's birthdays -->
</vb:if>
{vb:raw template_hook.forumhome_wgo_pos4}
<div id="wgo_stats" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
<div>
<dl>
<dt>{vb:rawphrase threads}</dt>
<dd>{vb:raw totalthreads}</dd>
<dt>{vb:rawphrase posts}</dt>
<dd>{vb:raw totalposts}</dd>
<dt>{vb:rawphrase members}</dt>
<dd>{vb:raw numbermembers}</dd>
<vb:if condition="$show['activemembers']">
<dt>{vb:rawphrase active_members}</dt>
<dd>{vb:raw activemembers}</dd>
</vb:if>
</dl>
<p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
{vb:raw template_hook.forumhome_wgo_stats}
</div>
</div>
{vb:raw template_hook.forumhome_wgo_pos5}
</div>
<div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight"> </div></div></div>
</div>
<!-- end what's going on box -->
{vb:raw ad_location.board_below_whats_going_on}
<vb:if condition="$show['sidebar']">
</div>
</div>
<div id="sidebar_home">
<div id="sidebar_container" class="<vb:if condition="$show['sidebarposition'] == 'left'">sidebarleft</vb:if><vb:if condition="$close_sidebar"> sidebar_closed</vb:if>">
<a id="sidebar_button_link" href="#">
<vb:if condition="$show['sidebarposition'] == 'left'">
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" />
<vb:else />
<img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" />
</vb:if>
</a>
<ul id="sidebar" <vb:if condition="$close_sidebar">class="sidebar_hidden"</vb:if> >
{vb:raw sidebar}
</ul>
</div>
</div>
</vb:if>
<script type="text/javascript">
<!--
vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}";
init_forum_readmarker_system();
//-->
</script>
{vb:raw footer}
</body>
</html>
CAG CheechDogg
05-08-2013, 03:04 PM
Hhmmmm...I don't think so...it should work with what I gave you...weird
CAG CheechDogg
05-08-2013, 03:09 PM
Can you post a link to your forums?
ggrimes620
05-09-2013, 01:20 AM
Sure.
www.thelocclan.com
CAG CheechDogg
05-09-2013, 03:59 AM
Can't see it, allow guest to view xbl stats
ggrimes620
05-09-2013, 04:08 AM
Does a direct link work?
http://www.thelocclan.com/gxboxlive.php
ggrimes620
05-10-2013, 03:52 PM
Figured it out a different way.
Thanks though.
XGC Viper XI
05-11-2013, 07:45 PM
Reputation showing 0
This is an issue that is not actually adding up the reputation because the results are not numbers. So, when the gamertag is broken down, it puts for example, <div class="Star Full"> in the reputation. Therefore, when the functions_gxboxlive.php tries to get the sum of the reputation field, it will always return 0 because it doesn't have a number.
So basically, the stars themselve are broke. Even when you try to change the type stars from the settings it doesn't change. It is always the same. I identified where the problems are, maybe someone can fix this.
Code gets added to the users reputation in the database
Sum reputation will always return 0 do to that fact
Stars from the images/reps are not used and cannot be changed from the option settings.
GamerPerfection
05-12-2013, 04:33 AM
Seems to work ok on mine. For all my members it shows all 5 stars with the exception of one member it shows 3 stars.
XGC Viper XI
05-13-2013, 03:46 AM
Seems to work ok on mine. For all my members it shows all 5 stars with the exception of one member it shows 3 stars.
Thats not the problem, look at your top 5 stats page. Thats where the reputation is 0, which is caused by how the reputation information is stored in the database.
GamerPerfection
05-13-2013, 07:04 PM
Oh yeah, I hadn't noticed the total reputation there. Anyway I don't think Gryphon works on this anymore by the looks of it.
Hippy
05-13-2013, 10:25 PM
total reputation has been like that for over a year..
CAG CheechDogg
05-13-2013, 11:17 PM
Yeep, I have not seen this work for a while now...I have tried everything and I just can't seem to pinpoint the problem.
CoZmicShReddeR
06-09-2013, 07:13 PM
Need help please when I put my domain name in the URL yourdomain.com/forumdir/admincp/?loc=profilefield.php%3Fdo%3Dadd I get a 404 error http://armorgaming.com/forumdir/admincp/?loc=profilefield.php%3Fdo%3Dadd What am I doing wrong?
Isn't the location supposed to be like this for my website: http://www.cozworld.com/gxboxlive.php
XGC Paravain
06-09-2013, 08:37 PM
Isn't the location supposed to be like this for my website: http://www.cozworld.com/gxboxlive.php
Im getting the same results http://armorgaming.com/gxboxlive.php
CoZmicShReddeR
06-10-2013, 08:50 PM
Im getting the same results http://armorgaming.com/gxboxlive.php
I see you finally got it working! You need to load the images in the theme folder...
msnhockey
08-10-2013, 09:21 PM
its been a while since i have been on here but i am the one that made the changes from vb3 to vb4 so we could have this on VB4.
If you guys need a hand please let me know and I will do my best to help you guys out. I am currently working on some fixes to some bugs i have found and adding in some new stuff.
kamran_dotnet
08-23-2013, 01:12 PM
i have a problem
xboxlive board show only admin in board.
other users not indexed with board!
kamran_dotnet
09-16-2013, 06:20 PM
i have a problem
xboxlive board show only admin in board.
other users not indexed with board!
any one?
bennzy
10-16-2013, 08:58 AM
Ok so i have just installed this mod without any issues apart from once all setup i cant find the leaderboard link to see my stats on it and also once i found out what the php file it is to use to view it i cant see myself on there or anyone else says 0 players. i am using the latest vb 4.2.2
bennzy
11-04-2013, 10:38 AM
ok so i installed this mod and i seem to be having an issue with the reputation header box not displaying like the rest of them. i have added a picture to show you what i mean
Harpo
02-15-2014, 03:53 AM
I miss this. :(
CoZmicShReddeR
02-15-2014, 09:47 AM
I miss this. :(
Miss what?? It works fine for me with Vbulletin 4.2.2
Gamelobby
10-10-2014, 01:37 AM
Mine hasn't worked or updated in a year. lol
Miss what?? It works fine for me with Vbulletin 4.2.2
Black Ops is the 3rd biggest game on your site.? (otherwise, yours isn't working either)
kamran_dotnet
10-10-2014, 12:28 PM
i get this error:
Warning: Non-static method DOMDocument::loadHTMLFile() should not be called statically in ..../includes/functions_gxboxlive.php on line 407
CAG CheechDogg
10-10-2014, 11:58 PM
Mine hasn't worked or updated in a year. lol
Black Ops is the 3rd biggest game on your site.? (otherwise, yours isn't working either)
Keep in mind that it only shows 85 players, so it averages the game which most of those players have played or are playing ...
On my board, Blops 2 is #1, Minecraft is #2 and BF3 is #3 .... so it is working and it is updating ...
triadink
04-14-2015, 08:04 PM
i uninstalled but have a xboxlive leaderboard link at the top of my page, how do i get rid of it?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.