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: May 2017 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: 5842
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:	7312
Size:	141.5 KB
ID:	61158   Click image for larger version

Name:	gxboxlive_options.jpg
Views:	3061
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.
  #751  
Old 12 Aug 2008, 20:03
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
Without an error, it is tough for me to guess what could be causing a problem. One issue that could possibly cause a problem is bogus usernames, but there is usually an error report from that. The other option is that your server for some reason ceased to be able to resolve xbox.com

On an unrelated note, it appears that you do not have clientscript/overlib/overlib.js uploaded.
Reply With Quote
  #752  
Old 12 Aug 2008, 20:05
Joe Siegler's Avatar
Joe Siegler Joe Siegler is offline
 
Join Date: Feb 2006
Originally Posted by Gryphon View Post
Without an error, it is tough for me to guess what could be causing a problem. One issue that could possibly cause a problem is bogus usernames, but there is usually an error report from that. The other option is that your server for some reason ceased to be able to resolve xbox.com
That would make no sense, wouldn't nothing show up if that were the case?

On an unrelated note, it appears that you do not have clientscript/overlib/overlib.js uploaded.
That doesn't seem possible - I uploaded the stuff out of the archive as is. I could try reuploading, though.

Edit: It was there, in the wrong place. There was a clientscript directory underneath clientscript - I must have uploaded it starting from the wrong directory. That directory is now in the right place; would that have anything to do with this?

I looked in my task log, and the last entry from earlier at 11:15AM was there, when it was "stuck at 36". I see there's now one at 2:20PM and it added one more - I'm now at 37. But I have about 180 people in there with profiles, and it's seeing only 37. One of the 180 I added manually myself after it was seemingly stuck at 36.

Still don't know where to go with this.

Edit 2: And another one got added at 3:13PM. I don't udnerstand why it's seeing them sometimes, and not other times.

What does this mod do if they put in a username, and have their settings on Xbox set to not broadcast what they're doing? Would that gum up this addon?
__________________
Joe Siegler - Webmaster
Black Sabbath Online & 3D Realms

vB Installation: http://www.black-sabbath.com/vb & http://forums.3drealms.com

Last edited by Joe Siegler; 12 Aug 2008 at 20:15.
Reply With Quote
  #753  
Old 12 Aug 2008, 22:10
Joe Siegler's Avatar
Joe Siegler Joe Siegler is offline
 
Join Date: Feb 2006
Update at 5:05PM..

I uninstalled the app a few minutes ago, and then reinstalled. It got rather quickly back to the same number it had before. Actually one more - I got to 39. I was forcibly runnign the event in the Scheduled Task Manager in vB, and it was adding people. Until it got to 39. It's stuck in the same way again.

The only thing I can come up with is the plugin chokes if it runs into a user profile it can't deal with. I'm not seeing any errors, there's nothing in the log. What *DOES* the plugin do with a user profile whose security is set that you can't read their data when you try?

Edit: Tried running the task manager from home twice this evening, and got two odd results:

Scheduled Task Manager

gXboxLive Update
Updated Accounts: .

Process Time: 2s.

Total Queries: 53.

Done

----

Scheduled Task Manager

gXboxLive Update
Updated Accounts: .

Process Time: 9s.

Total Queries: 53.

Done
__________________
Joe Siegler - Webmaster
Black Sabbath Online & 3D Realms

vB Installation: http://www.black-sabbath.com/vb & http://forums.3drealms.com

Last edited by Joe Siegler; 13 Aug 2008 at 01:37.
Reply With Quote
  #754  
Old 12 Aug 2008, 22:39
comet2500 comet2500 is offline
 
Join Date: Feb 2008
I'm also having a problem..

The plugin won't install..

It keeps saying that the sql is causing an error, and I wrote a ticket and they said to contact your community that created the mod.

It keeps saying..

"invalid Vb table, and then the sql says dropped."
"Alter Table."
Reply With Quote
  #755  
Old 13 Aug 2008, 22:28
Joe Siegler's Avatar
Joe Siegler Joe Siegler is offline
 
Join Date: Feb 2006
Random thought about my issue. If someone put a gamertag of all spaces in that field, would that explain this? Would vB even accept all spaces as data there?

If this is the case, finding who it is and getting them out of the list is a problem. Is there a way to tell vB "Hey, show me who has filled out data in this particular custom profile field, and tell me what's in it, too"? I could scan my entries for irregularities that way.
__________________
Joe Siegler - Webmaster
Black Sabbath Online & 3D Realms

vB Installation: http://www.black-sabbath.com/vb & http://forums.3drealms.com
Reply With Quote
  #756  
Old 15 Aug 2008, 08:27
Chris11987 Chris11987 is offline
 
Join Date: Jun 2008
Would it be difficult to let the url of that page just be "xboxlive.php" instead of with the g?
Reply With Quote
  #757  
Old 17 Aug 2008, 00:48
Chris B Chris B is offline
 
Join Date: Aug 2008
Hi, how would I go about changing the name of the mod in the navbar only, I'm fine with the gXboxLive name being used elsewhere I just want ti changed in the navbar.

Thanks, great mod!
Reply With Quote
  #758  
Old 18 Aug 2008, 04:30
sdsvtdriver sdsvtdriver is offline
 
Join Date: Mar 2005
A user brought up that the leaderboard is out of date on my site. His score is higher according to xbox.com.

I manually run the scheduled task and it simply displays 'done' on the screen. The log shows the last update on 8/12. Looking deeper at the log, it appears to only update information on random days, assuming this is when the data had changed.

Not sure why I cannot get it to update now. Ideas? No errors makes this difficult to track down.
Reply With Quote
  #759  
Old 18 Aug 2008, 11:08
JVCode's Avatar
JVCode JVCode is offline
 
Join Date: Oct 2006
This mod still isn't working for me... I've followed instructions, but still i don't get any results! - All i see in my gxboxlive.php is the copyright "gXboxLive, Copyright 2006 - 2008, Ryan Snook" where the gamertags should be... anyone help? here's the direct link to the page http://www.consolecommunity.com/gxboxlive.php
Reply With Quote
  #760  
Old 18 Aug 2008, 11:28
JVCode's Avatar
JVCode JVCode is offline
 
Join Date: Oct 2006
Okay, I have an error message, which was sent to me by email:


Invalid SQL:
SELECT error FROM `vb_gxboxlive` AS gxboxlive WHERE error = '1' ORDER BY error DESC;
Reply With Quote
  #761  
Old 18 Aug 2008, 22:43
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
Originally Posted by Joe Siegler View Post
What does this mod do if they put in a username, and have their settings on Xbox set to not broadcast what they're doing? Would that gum up this addon?
It will work fine, everyone has a public gamercard.

Originally Posted by Joe Siegler View Post
The only thing I can come up with is the plugin chokes if it runs into a user profile it can't deal with. I'm not seeing any errors, there's nothing in the log. What *DOES* the plugin do with a user profile whose security is set that you can't read their data when you try?
If someone enters a bogus name you will see:

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

Originally Posted by Joe Siegler View Post
Random thought about my issue. If someone put a gamertag of all spaces in that field, would that explain this? Would vB even accept all spaces as data there?
vBulletin trims profile field entries, all spaces is the same as blank.

Joe, I am afraid I just do not have an answer for what could be causing the issue.

Originally Posted by Chris11987 View Post
Would it be difficult to let the url of that page just be "xboxlive.php" instead of with the g?
You would have to change all refrences to that address in all of the files.

Originally Posted by Chris B View Post
Hi, how would I go about changing the name of the mod in the navbar only, I'm fine with the gXboxLive name being used elsewhere I just want ti changed in the navbar.
They are handled by phrases. Search phrases for gXboxLive and make the desired changes.

Originally Posted by sdsvtdriver View Post
A user brought up that the leaderboard is out of date on my site. His score is higher according to xbox.com.
Gamercards are only scanned once per day, manual scheduled task runs will not change that. So the user will have to wait up to 24 hours for it to update. If it is several days beyond when he last changed his score and gXboxLive is still not updating, I can't think of what would cause this off the top of my head.

Originally Posted by JVCode View Post
Okay, I have an error message, which was sent to me by email:


Invalid SQL:
SELECT error FROM `vb_gxboxlive` AS gxboxlive WHERE error = '1' ORDER BY error DESC;
I am afraid I do not know what is invalid about that query, unless the product hasn't been updated/installed?
Reply With Quote
  #762  
Old 18 Aug 2008, 23:12
JVCode's Avatar
JVCode JVCode is offline
 
Join Date: Oct 2006
Thanks for the reply, I think i'll just uninstall and move on lol, this hack is more trouble than it's worth!
Reply With Quote
  #763  
Old 18 Aug 2008, 23:32
Gryphon's Avatar
Gryphon Gryphon is offline
 
Join Date: Oct 2001
Real name: Ryan Snook
Originally Posted by JVCode View Post
Thanks for the reply, I think i'll just uninstall and move on lol, this hack is more trouble than it's worth!
There are a lot of people that have not had any trouble with the mod, including some with thousands of gamertags. Sorry to that I couldn't help you out better, the mod has been flawless for me and it is tough to troubleshoot problems I can't reproduce.
Reply With Quote
  #764  
Old 19 Aug 2008, 05:46
Chris11987 Chris11987 is offline
 
Join Date: Jun 2008
I'm having the same problem as others. Many of the gamertags aren't showing up for people on the leaderboard. They show up in their profiles fine, but not on the leaderboard. This is after hours and hours, and also running the task.

Last edited by Chris11987; 19 Aug 2008 at 10:24.
Reply With Quote
  #765  
Old 19 Aug 2008, 14:47
Joe Siegler's Avatar
Joe Siegler Joe Siegler is offline
 
Join Date: Feb 2006
Originally Posted by Gryphon View Post
vBulletin trims profile field entries, all spaces is the same as blank.

Joe, I am afraid I just do not have an answer for what could be causing the issue.
Let me ask you this. Do you know of a way to let me see which user accounts have put data in the specific field, and show it?

I could manually go through a list of users with data in the specific field (and what they've entered). and see if there's corrupt data and remove it. I'm seeing no errors, so either I'm looking in the wrong place, or the script is not throwing any.

If I could take a look at everyone's data for that field, it might help me. If your script doesn't do this, how hard would it be to write a quickie little something to make this happen? Kind of a "debug" script to go along with your main one?

Edit: I sort of managed to unstick this, although I don't know if I fully fixed it. Since I can't find a way to get vB to show me every user who has entered any kind of data into a custom field, I had to improvise. I did two separate searches for people who entered the letter e and the letter a into that particular field. Found quite a lot of users. I went through them one by one. I found a handful of users who had dead accounts, so I blanked that data field. Found a handful whose XBL accounts had a gamerscore of zero, and hadn't logged into my forum for over 6-8 months, so I just deleted those accounts outright. However...

I found a decent amount of them who had put junk in the profile field. I cleared all that out, but kept track of it. The list of the junk data in there from about 130 profiles I looked through manually. Here's the list:

Destroy All Humans.
aweddball
no like da xbox
^eRrOR^
Nope don't got it
I don't have one
I play PS2 Online
I hate consoles!
I Use Xbox Connect
Don't have a Wii, or PS3, or any other gaming console except for the PC for that matter!
not yet
PS Network: Spyd77
A what-box?!
I have no console.

What's really interesting is right after I force ran the script, my number of users on the charts jumped from 104 to 133 immediately. It seems like something in one of the profiles I changed or deleted was sticking the script. Is it possible that fourth one was culprit? Are there any data strings that would just cause the script to flat out STOP working?

Unrelated to this, I did have a thought. What would your script do if two users put the same data in the profile field? Would it just process them anyway, or would there be a problem if two user accounts had the same XBL tag?
__________________
Joe Siegler - Webmaster
Black Sabbath Online & 3D Realms

vB Installation: http://www.black-sabbath.com/vb & http://forums.3drealms.com

Last edited by Joe Siegler; 19 Aug 2008 at 16:02. Reason: Addtl Info
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 12:45.

Layout Options | Width: Wide Color: