Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
gXboxLive - Xbox Live Leaderboard Details »»
gXboxLive - Xbox Live Leaderboard
Version: 2.2.6, by Gryphon Gryphon is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 02-19-2007 Last Update: 04-28-2011 Installs: 848
Supported DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files  

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.

[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]
  • 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
[hr]-[/hr]
  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
      [S]
    • Regular Expression: ^([A-Za-z0-9 ]+)?$[/S] (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_g roup
  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
[hr]-[/hr]AuthorsOthersGoogle
Changes
[hr]-[/hr]
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
[hr]-[/hr]gXboxLive, Copyright ? Ghryphen (https://github.com/ghryphen)
Please maintain copyrights in derivative works, thank you.

overLIB javascript library Copyright Erik Bosrup.

Download Now

File Type: zip gXboxLive_v2.2.6.zip (118.1 KB, 348 views)

Screenshots

File Type: jpg gxboxlive_front.jpg (141.5 KB, 1 views)
File Type: jpg gxboxlive_options.jpg (89.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Fethi.dz, TTayfun

Comments
  #1232  
Old 04-29-2011, 12:43 PM
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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):

Quote:
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
  #1233  
Old 04-29-2011, 07:42 PM
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Location: Seattle, WA
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #1234  
Old 04-30-2011, 06:07 AM
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
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
  #1235  
Old 04-30-2011, 07:01 AM
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Location: Seattle, WA
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #1236  
Old 05-01-2011, 08:11 AM
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your help would be very much appreciated, thanks! :up:
Reply With Quote
  #1237  
Old 05-07-2011, 07:08 AM
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 :up:

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
  #1238  
Old 05-22-2011, 09:25 PM
DeardsGlobal DeardsGlobal is offline
 
Join Date: Aug 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #1239  
Old 05-24-2011, 12:11 PM
MrHyde MrHyde is offline
 
Join Date: Oct 2009
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #1240  
Old 05-28-2011, 10:20 PM
Ross L Ross L is offline
 
Join Date: Apr 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #1241  
Old 05-29-2011, 10:21 AM
betts02's Avatar
betts02 betts02 is offline
 
Join Date: Jun 2009
Posts: 910
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
gXboxLive Update


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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/NGG%20betts02.card" in [path]/includes/functions_gxboxlive.php on line 401

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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/aNiMaL%20uK1.card" in [path]/includes/functions_gxboxlive.php on line 401

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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/I%20Lofty%20I.card" in [path]/includes/functions_gxboxlive.php on line 401

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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/bal39.card" in [path]/includes/functions_gxboxlive.php on line 401

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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/NGGKNOCKER.card" in [path]/includes/functions_gxboxlive.php on line 401

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

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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/I%20Mr%20Mezz%20I.card" in [path]/includes/functions_gxboxlive.php on line 401
Unable to fetch URL: http://gamercard.xbox.com/en-US/NGG%20betts02.card - NGG betts02 - Possibly not a real gamertag entered.
Unable to fetch URL: http://gamercard.xbox.com/en-US/aNiMaL%20uK1.card - aNiMaL uK1 - Possibly not a real gamertag entered.
Unable to fetch URL: http://gamercard.xbox.com/en-US/I%20Lofty%20I.card - I Lofty I - Possibly not a real gamertag entered.
Unable to fetch URL: http://gamercard.xbox.com/en-US/bal39.card - bal39 - Possibly not a real gamertag entered.
Unable to fetch URL: http://gamercard.xbox.com/en-US/NGGKNOCKER.card - NGGKNOCKER - Possibly not a real gamertag entered.
Unable to fetch URL: http://gamercard.xbox.com/en-US/I%20Mr%20Mezz%20I.card - I Mr Mezz I - Possibly not a real gamertag entered.
Anyone have any ideas ?
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 07:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05794 seconds
  • Memory Usage 2,371KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete