Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
gXboxLive - Xbox Live Leaderboard Details »»
gXboxLive - Xbox Live Leaderboard
Version: 2.3.2, by Gryphon Gryphon is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.x.x Rating:
Released: 05-27-2010 Last Update: 04-28-2011 Installs: 243
DB Changes Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Is in Beta Stage  
No support by the author.

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]
  • 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]
vB4d - 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.

vB4c - import product with Overwrite enabled, upload gxboxlive.php, functions_gxboxlive.php and miner.gxboxlive.php
  • Updates for January 20th gamercard changes. Thanks Travis641.

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

vB4a - upload gxboxlive.php, miner.gxboxlive.php
  • Quick fixes for errors mentioned, no other updates.

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

File Type: zip gXboxLive-vB4d.zip (116.5 KB, 927 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
XGC Paravain

Comments
  #292  
Old 06-25-2011, 06:09 AM
BaziCenter's Avatar
BaziCenter BaziCenter is offline
 
Join Date: Sep 2005
Location: Montreal, QC
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MonkYZ View Post
It's definatelly not that, as i already have ^([A-Za-z0-9 ]+)?$ setup in the Profile Field. Plus, it worked perfect untill yesterday, when i received like over 1000 Database Errors... so it must be something global, not just one user or two...
Using quotation mark caused the above DB error. But if you have different db errors you should check their error messages or at least copy them here in order to people help you.

This mod runs schedule task every minute in default install so if you have only one user problem then you get 60 db errors in 1 hour!!

P.S: You already have this: ^([A-Za-z0-9 ]+)?$ and the user can insert "I don't have an Xbox Console." in the field? Are you sure you're using this regex in this field? Something wrong here.
Reply With Quote
  #293  
Old 06-25-2011, 07:59 AM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaziCenter View Post
Using quotation mark caused the above DB error. But if you have different db errors you should check their error messages or at least copy them here in order to people help you.

This mod runs schedule task every minute in default install so if you have only one user problem then you get 60 db errors in 1 hour!!

P.S: You already have this: ^([A-Za-z0-9 ]+)?$ and the user can insert "I don't have an Xbox Console." in the field? Are you sure you're using this regex in this field? Something wrong here.
Yes, i double checked the user profile filed manager, and it definatelly has that expression. Actually, i'll post you a screenshot if you don't believe me. And yes, i've noticed the tons of database errors i've received lately are related to "MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5" and caused by cron.php.

I really don't know what else to do...
Attached Images
File Type: jpg 2011-06-25_115637.jpg (88.4 KB, 0 views)
Reply With Quote
  #294  
Old 06-25-2011, 08:12 AM
BaziCenter's Avatar
BaziCenter BaziCenter is offline
 
Join Date: Sep 2005
Location: Montreal, QC
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MonkYZ View Post
Yes, i double checked the user profile filed manager, and it definatelly has that expression. Actually, i'll post you a screenshot if you don't believe me. And yes, i've noticed the tons of database errors i've received lately are related to "MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5" and caused by cron.php.

I really don't know what else to do...
As I said before removing the corrupt gamertag will fix the db error. Go to your adminCP -> Users -> Search for Users and in Xbox Live Gamertag field paste this: I don't have an Xbox Console.
In this way you find a user then manually remove his/her gamertag.
Reply With Quote
  #295  
Old 06-25-2011, 05:48 PM
hype901 hype901 is offline
 
Join Date: Apr 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Starting giving me a few issues when I upgraded vB to 4.1.2, but I am going to apply the latest version of this mod and see if that clears up the issues. On vB 4.1.4 now.
Reply With Quote
  #296  
Old 06-25-2011, 06:46 PM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaziCenter View Post
As I said before removing the corrupt gamertag will fix the db error. Go to your adminCP -> Users -> Search for Users and in Xbox Live Gamertag field paste this: I don't have an Xbox Console.
In this way you find a user then manually remove his/her gamertag.
Thanks for the tip! It found only one user with "I don't have an Xbox Console" in Xbox Live Gamertag... Let's hope this fixed the problem. Have a nice day!
Reply With Quote
  #297  
Old 07-02-2011, 02:30 PM
insidegames insidegames is offline
 
Join Date: Jun 2010
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We had a problem with our Xbox Live Plugin.
http://forum.insidegames.ch/gxboxlive.php

the plugin doens't update new gamerscore from old members. when gxboxlive add a new member to the list, then is the gamerscore info correct, but when e member is longer on the list it doesn't show up the actually gamerscore, because it's the old from entry in the list
Reply With Quote
  #298  
Old 07-02-2011, 05:34 PM
River J River J is offline
 
Join Date: Jun 2011
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed no issues for me at all nice modification
Reply With Quote
  #299  
Old 07-02-2011, 07:29 PM
BaziCenter's Avatar
BaziCenter BaziCenter is offline
 
Join Date: Sep 2005
Location: Montreal, QC
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Recently Microsoft has changed reputation stars image link, hence user stars don't show up anymore. To fix this issue open the "gxbl_headinclude" template:
Find: (5 times)
Code:
http://gamercard.xbox.com/Content/images/gamerCard_Icons.png
Replace with:
Code:
http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png
Reply With Quote
Благодарность от:
Hippy
  #300  
Old 07-17-2011, 11:35 AM
MiNeM MiNeM is offline
 
Join Date: Feb 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Keep getting these errors when running the task manually..

Code:
Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FReiku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard.net%2Fgel%2FReiku%2BSan.png%5B%2Fim.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FReiku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard.net%2Fgel%2FReiku%2BSan.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbigbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard.net%2Fbigbadbulla.png%5B%2Fim.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbigbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard.net%2Fbigbadbulla.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3BMampara%26quot%3B.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3BMampara%26quot%3B.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/getting%20my%20xbox%20soon%20%3AP.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407

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

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/PSN%20ID%3A%20Herman_hXc_kid.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407

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

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card" in [path]/includes/functions_gxboxlive.php on line 407
Any ideas?

Also not getting any of the scores to update
Reply With Quote
  #301  
Old 07-22-2011, 01:26 PM
Domy Domy is offline
 
Join Date: Aug 2009
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?
Reply With Quote
Reply


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 11:33 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.06168 seconds
  • Memory Usage 2,369KB
  • Queries Executed 28 (?)
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
  • (3)bbcode_code
  • (4)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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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