The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
gXboxLive - Xbox Live Leaderboard Details »» | |||||||||||||||||||||||||||
What is it?
gXboxLive is a modification for vBulletin which allows you to display a Xbox Live Leaderboard for your users. If you use this mod, please Mark as Installed, and if you really enjoy this mod, please Nominate for MOTM, and if you really really enjoy this mod, feel free to Support Developer! Thank you! This version is for vBulletin 4, installation and stability has not been verified by the author. Visit this thread for vBulletin 3 compatible version. [hr]-[/hr] Support [hr]-[/hr]I use my released mods daily, if I find an issue with them or add features for myself I will release updates. If there are significant bugs or simple feature requests I will do my best to release fixes. Some of my mods rely on fetching data from 3rd party websites, due to the unreliable results, my mods will require users to troubleshoot for themselves if they find the addon is not working for them specifically. I am offering my personal mods that work ok for me for you to use, I am sorry I do not have time to troubleshoot many user specific issues. Thank you for your understanding. Features [hr]-[/hr]
*Depends on your vBulletin version and template configuration. Installation [hr]-[/hr]
Examples [hr]-[/hr]Authors
Changes [hr]-[/hr] vB4d - import product with Overwrite enabled, upload functions_gxboxlive.php and miner.gxboxlive.php
vB4c - import product with Overwrite enabled, upload gxboxlive.php, functions_gxboxlive.php and miner.gxboxlive.php
vB4b - import product with Overwrite enabled.
vB4a - upload gxboxlive.php, miner.gxboxlive.php
Copyright [hr]-[/hr]gXboxLive, Copyright ? Ghryphen (https://github.com/ghryphen) Please maintain copyrights in derivative works, thank you. overLIB javascript library Copyright Erik Bosrup. Thank you to msnhockey for helping with the vB4 version. Download Now
Show Your Support
|
Благодарность от: | ||
XGC Paravain |
Comments |
#512
|
||||
|
||||
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? |
#513
|
|||
|
|||
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....&postcount=409 https://vborg.vbsupport.ru/showpost....&postcount=287 https://vborg.vbsupport.ru/showpost....9&postcount=87 i did read thru and didn't see a fix on any of the posts |
Благодарность от: | ||
CAG CheechDogg |
#514
|
||||
|
||||
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....
|
Благодарность от: | ||
CAG CheechDogg |
#515
|
|||
|
|||
Thanks for that my gxbl_bit template is below:
Code:
<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> |
#516
|
||||
|
||||
@JAnders
what version of mysql and apache2 @Ross L change that template to this over write yours 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.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 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> <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> |
#517
|
|||
|
|||
mysql 5.0 PHP Version 5.3.14
|
#518
|
|||
|
|||
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 Code:
<!-- 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 --> if you're using the eTiKeT™ 2011 Posbit_legacy - Postbit modification for the threads then use the code like this: Code:
<!-- 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 --> |
#519
|
|||
|
|||
thanks hippy for all your help and I hope figure out what the issue is with the blank page.
|
#520
|
||||
|
||||
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
|
#521
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|