Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
gXboxLive - Xbox Live Leaderboard Details »
gXboxLive - Xbox Live Leaderboard
Mod Version: 2.2.6, by Gryphon (Coder) Gryphon is offline
Developer Last Online: Mar 2019 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (121 votes - 4.86 average) Installs: 846
Released: 20 Feb 2007 Last Update: 29 Apr 2011 Downloads: 5846
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files External Content  

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!

Visit this thread for vBulletin 4 compatible version.



Support

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

  • Lists all ranked Gamertags, each updated once per day
  • Optionally show unranked Gamertags (Original Xbox Users).
  • Optionally allow Xbox Live message sending.
  • Optionally allow Xbox Live friend requests.
  • Optionally to choose how many User Names Per Page to display.
  • Optionally require a minimum post count.
  • Optionally to add a navbar link.*
  • Optionally to add a miscellaneous quick link.*
  • Choose how recently users must be active to be displayed.
  • Optionally display leaderboard statistics
  • Limit usergroups to display.
  • Limit access by usergroup.
  • Optionally display Forumhome stats
  • Optionally display Memberinfo gamercard
  • Optionally display Postbit leaderboard rank
  • Monitors invalid gamertags, 5 attempts to verify the gamertag and then the users gamertag profile field is blanked to prevent further checks.
  • Can link directly to a gamertag position in the leaderboard with gxboxlive.php?gt=Gamertag

*Depends on your vBulletin version and template configuration.

Installation

  1. Download the latest version and upload all files. Images go in the folders specific to your style.
  2. Install the product.
  3. Create a Single-Line Text Box User Profile Field for members to enter their Gamertag into.
    • Go to yourdomain.com/forumdir/admincp/?loc=profilefield.php%3Fdo%3Dadd
    • Single-Line Text Box
    • Continue
    • Title: Xbox Live Gamertag
    • Description: Enter your Xbox Live Gamertag
    • Regular Expression: ^([A-Za-z0-9 ]+)?$ (regex not required)
    • The rest of the settings is your prefrence.
    • Save
    • Look and see what the field id number is for Xbox Live Gamertag, example field25.
  4. Fill in the gXboxLive configuration options, make sure to enter the field id for the newly created Xbox profile field above.
    • Go to yourdomain.com/forumdir/admincp/?loc=options.php%3Fdo%3Doptions%26dogroup%3Dgxbl_group
  5. Send people to their user cp to enter their gamertags.
  6. Wait up a few minutes for the gamertags to appear on the leaderboard.

Examples

AuthorsOthersGoogle
Changes


v2.2.6 - import product with Overwrite enabled, upload functions_gxboxlive.php and miner.gxboxlive.php
  • Updates for April 18 gamercard changes.
  • Uses DOMDocument PHP class now for parsing.

v2.2.5 - import product with Overwrite enabled, upload gxboxlive.php, functions_gxboxlive.php and miner.gxboxlive.php
  • Updates for January 20th gamercard changes. Thanks Ronin Storm.

v2.2.4c - import product with Overwrite enabled.
  • Quick xbox.com url changes, there is no longer any way to directly link to add a friend.

v2.2.4b - upload miner.gxboxlive.php
  • Quick fix for miner, no other updates.

v2.2.4a - upload miner.gxboxlive.php
  • Quick fix for num_rows error, no other updates.

v2.2.4 - upload functions_gxboxlive.php, miner.gxboxlive.php, import product with Overwrite enabled.
  • Minor update, confirmed bogus gamertags do not cause issues with updating the rest of the leaderboard.
  • Changed cron output to help find the people with bad usernames.
  • Extended strikeout rule for bad usernames.

v2.2.3 - upload functions_gxboxlive.php, import product with Overwrite enabled.
  • Reverted, no problems that I can find with leader board.

v2.2.2 - upload functions_gxboxlive.php, import product with Overwrite enabled.
  • Temporary fix till more time can be spent to make updates for NXE

v2.2.1 - import product with Overwrite enabled.
  • Added NXE avatar display

v2.1.9 - import product with Overwrite enabled.
  • Security token update.
  • Postbit style update.

v2.1.8 - upload gxboxlive.php, import product with Overwrite enabled.
  • Security Fix.

v2.1.7 - upload functions_gxboxlive.php, import product with Overwrite enabled.
  • Fix for query error.

v2.1.6 - upload gxboxlive.php, functions_gxboxlive.php, miner.gxboxlive.php, import product with Overwrite enabled.
  • Update to close the leaderboard when product is disabled.

v2.1.5 - upload functions_gxboxlive.php, import product with Overwrite enabled.
  • Fix for error when running cron manually.

v2.1.4 - upload files, import product with Overwrite enabled.
  • Added some safety checks to keep the wrong field id from breaking the forums.

v2.1.3 - upload functions_gxboxlive.php, import product with Overwrite enabled.
  • Fixed a broken update query.

v2.1.2 - import product with Overwrite enabled.
  • Fix a bug that prevented total number of users to display when stats were turned off.

v2.1.1 - import product with Overwrite enabled.
  • Navbar location selectable
  • Quick Links location selectable
  • Postbit location selection slightly changed, you will need to revisit this setting.

v2.1.0 - upload all files, import product with Overwrite enabled.
  • Nearly all database queries rewritten to be more efficient
  • Member listing is more stable, shouldn't see people disappear/reappear
  • Image directories changed, /rank directory now called /silk
  • New images for message user and add friend
  • Leaderboard will now properly filter banned users
  • New option to choose what usergroups are displayed on the board separate from who can view the board
  • Database structure changed, so the leaderboard will need to repopulate after upgrade.
  • Updated regex in the instructions above, this makes sure that people enter gamertags in the correct format.

v2.0.2 - upload all files, import product with Overwrite enabled.
  • Stats display reorganized
  • Gamertag linking is case insensitive now
  • Fix for page navigation disappearing for leaderboards with over 1000 members.
  • Fix another headinclude bug
  • Temporarily disabled user update hooks

v2.0.1 - import product with Overwrite enabled.
  • Fix headinclude bug

v2.0.0 - Upload all files import product with Overwrite enabled. Double check settings, field id method has changed, it is digit only now. In case of error upon upgrading from a previous version, uninstall and then reinstall.
  • Rewritten much of the caching code to be more efficient
  • Optionally display Forumhome stats
  • Optionally display Memberinfo gamercard
  • Optionally display Postbit leaderboard rank
  • Can link directly to a gamertag position in the leaderboard
  • Monitors invalid gamertags, 5 attempts to verify the gamertag and then the users gamertag profile field is blanked to prevent further checks.
  • Many more improvements

Copyright

gXboxLive, Copyright Ryan Snook (www.gryphonllc.com)
Please do not redistribute this script without my consent. While updates may not be made to this product regularly, I still maintain it. If you have fixes, improvements or other additions to make to this mod, please contact me at rsnook@gmail.com for collaboration. I appreciate your consideration.

overLIB javascript library Copyright Erik Bosrup.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	gxboxlive_front.jpg
Views:	7325
Size:	141.5 KB
ID:	61158   Click image for larger version

Name:	gxboxlive_options.jpg
Views:	3062
Size:	89.7 KB
ID:	61159  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #1231  
Old 29 Apr 2011, 14:43
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Question

Hi Gryphon, thanks for a great mod and your newest update, but with 2.2.6 I get the following error message now (all other versions worked until the 18th of April change):

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Row 401)

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/WHATEVER.card) [domdocument.loadhtmlfile]: failed to open stream: no suitable wrapper could be found in [path]/includes/functions_gxboxlive.php (Row 401)

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/WHATEVER.card" in [path]/includes/functions_gxboxlive.php (Row 401)
any ideas, where this is coming from? changing the rights of the new functions_gxboxlive didn't helped.
Reply With Quote
  #1232  
Old 29 Apr 2011, 21:42
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
I had to make significant changes to the way I parse the gamercards that should be more reliable and easier to fix. It is now using the DOMDocument class, in particular DOMDocument::loadHTMLFile, which honestly, I do not know a ton about but it made things a lot easier, but I'm pretty sure it makes the mod now require PHP5.

If it becomes to much of an issue I will have to try and get the old way to work, but after spending all day on it yesterday and getting two friends to help we could not get the old way to work for some reason.
Reply With Quote
  #1233  
Old 30 Apr 2011, 08:07
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Thanks for your quick reply. Well, I've got PHP 5 installed, so that can't be the issue. Any ideas, what else could trigger

URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Row 401)
? Seems to be something in the new version of the functions php.
Reply With Quote
  #1234  
Old 30 Apr 2011, 09:01
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
It appears allow_url_fopen set to ON is needed in the PHP configuration. I will see if I can work around this, though, not sure how soon I can.
Reply With Quote
  #1235  
Old 01 May 2011, 10:11
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Your help would be very much appreciated, thanks!
Reply With Quote
  #1236  
Old 07 May 2011, 09:08
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Originally Posted by Gryphon View Post
It appears allow_url_fopen set to ON is needed in the PHP configuration. I will see if I can work around this, though, not sure how soon I can.
I got it working at least for the automatic jobs now with adding a php.ini to the /forum-folder with setting allow_url_fopen = on. So that's fine now

The error message is still coming, when you start the job manually. So it would be great, if you can look into this, when you have some time., but for the moment I'm happy that the mod seems to be productive again - Will let you know, if something changes

Have a nice weekend...
Reply With Quote
  #1237  
Old 22 May 2011, 23:25
DeardsGlobal DeardsGlobal is offline
 
Join Date: Aug 2010
I'm trying to change gxboxlive.php to just xboxlive.php but I don't want to mess up any settings. I know I could just change the file name, but will there be anything else I need to edit?
Reply With Quote
  #1238  
Old 24 May 2011, 14:11
MrHyde MrHyde is offline
 
Join Date: Oct 2009
I just found a small error, when you look at the leaderboard and want to compare games by clicking on a games icon.

The link used is
  • http://live.xbox.comhttp//live.xbox.com/en-US/GameCenter/Achievements?title=WHATEVER&compareTo=WHOEVER

but should be

Can you please have a look and update it? Thanks a lot!
Reply With Quote
  #1239  
Old 29 May 2011, 00:20
Ross L Ross L is offline
 
Join Date: Apr 2008
When running the update cron in the new update, I am getting this error:

Fatal error: Cannot use string offset as an array in /home/*********/**********/includes/functions_gxboxlive.php on line 427

Any ideas on how to fix this?

Thanks in advance.
__________________
Xbox 360 Forums - Xbox One Forums
Reply With Quote
  #1240  
Old 29 May 2011, 12:21
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Just installed this on a v3.8 board an its not showing anyone on it
I ran the task manager and got :


Scheduled Task Manager

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Anyone have any ideas ?
Reply With Quote
  #1241  
Old 31 May 2011, 08:32
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Originally Posted by betts02 View Post
Just installed this on a v3.8 board an its not showing anyone on it
That seems to be, what I've described some Posts above. So the scheduled tasks will run with this:

Originally Posted by MrHyde View Post
I got it working at least for the automatic jobs now with adding a php.ini to the /forum-folder with setting allow_url_fopen = on.
...but the manual ones will not work.

@Gryphon: Any ideas, how to fix these two?

Originally Posted by MrHyde View Post
The error message is still coming, when you start the job manually.
Originally Posted by MrHyde View Post
I just found a small error, when you look at the leaderboard and want to compare games by clicking on a games icon.

The link used is
  • http://live.xbox.comhttp//live.xbox.com/en-US/GameCenter/Achievements?title=WHATEVER&compareTo=WHOEVER

but should be
Thanks a lot for your help!
Reply With Quote
  #1242  
Old 14 Aug 2011, 09:39
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Hi Gryphon,

can you please help with the following issues, that would be great:

1. The manual start of the cron in the AdminCP still doesn't work, but that is very low priority as you normally use the automatic function only.

2. In the compare-to function in the Leaderboard te problem with the link still exists, so you have "http://live.xbox.com" twice in the link, so the link doesn't work. How can we fix this?

3. For all functions with links you have the code "en-US", is there a way to change that to anything preferred, in order to get to the xbox-page of the country the users of your mod want to?

4. In the Postbit the mouse-over of the leaderboard-rank in order to see the gamercard will not work for Gamertags with a blank in it. You will see "Coder+Gryphon", instead of "Coder Gryphon" there, so the correct gamertag entry doesn't show up there.

Your help would be very much appreciated - THANKS!
Reply With Quote
  #1243  
Old 14 Aug 2011, 10:05
Ross L Ross L is offline
 
Join Date: Apr 2008
Originally Posted by MrHyde View Post
Hi Gryphon,

can you please help with the following issues, that would be great:

1. The manual start of the cron in the AdminCP still doesn't work, but that is very low priority as you normally use the automatic function only.

2. In the compare-to function in the Leaderboard te problem with the link still exists, so you have "http://live.xbox.com" twice in the link, so the link doesn't work. How can we fix this?

3. For all functions with links you have the code "en-US", is there a way to change that to anything preferred, in order to get to the xbox-page of the country the users of your mod want to?

4. In the Postbit the mouse-over of the leaderboard-rank in order to see the gamercard will not work for Gamertags with a blank in it. You will see "Coder+Gryphon", instead of "Coder Gryphon" there, so the correct gamertag entry doesn't show up there.

Your help would be very much appreciated - THANKS!
1. Cannot help you with that, as it works fine for me.
2. There is a fix for this a few pages back.
3. Really shouldn't have any effect on users.
4. That hasn't worked for a while and no-one has managed to fix it. You just have to deactivate it via the Admin CP.
__________________
Xbox 360 Forums - Xbox One Forums
Reply With Quote
  #1244  
Old 14 Aug 2011, 10:32
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Thumbs up

Hey Ross, perfect! Thanks for your quick help!

1. Ok, no problem, will live with the error then
2. has worked fine with deleting the two "http://live.xbox.com" before "$game[link]", didn't thought about the XML
3. The effect is landing on a xbox.com page in a different language - but the hint with the XML worked there, too. Just changed the three "en-US" and it works fine!

4. Deactivated, thanks for letting me know. Do you know, if there is a way to only deactive the non-working mouse-over of the gamercard? So the ranking still shows and you still can click on the users ranking to jump to the leaderboard?
Reply With Quote
  #1245  
Old 28 Aug 2011, 14:07
MotMann MotMann is offline
 
Join Date: Jan 2006
I have the same errors after i manual start of the cron in the AdminCP:

Warnung: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Zeile 401)

and much more lines.. need help
The Leaderboard is empty.

@+all, who it works correct.. deinstall and install new, then comes the Bug

What i must do?
Originally Posted by MrHyde
I got it working at least for the automatic jobs now with adding a php.ini to the /forum-folder with setting allow_url_fopen = on.
Where its that one to fix my Problem? Is that the .htaccess?

Last edited by MotMann; 29 Aug 2011 at 19:41.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:25.

Layout Options | Width: Wide Color: