Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #482  
Old 07-14-2012, 08:25 AM
tandalier tandalier is offline
 
Join Date: Nov 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are my hero. was searching for months how to fix this problem and you solved it. Don't know how to thank you :-)





Quote:
Originally Posted by weem View Post
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:
function gxbl_simple_get_xml($url)
	{
	
	$ch = curl_init($url);
	$html = fopen("example_htmlpage.html", "w");

	curl_setopt($ch, CURLOPT_FILE, $html);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_exec($ch);
	curl_close($ch);
	fclose($html);
	
		if ($html)
		{
			$xml = simplexml_load_file('example_htmlpage.html');
			return gxbl_object_to_array($xml->body->div);
		}
		else
		{
			return false;
		}
	}
That fixed it for me - its working fine on my site again now.
Reply With Quote
  #483  
Old 07-23-2012, 05:06 PM
insidegames insidegames is offline
 
Join Date: Jun 2010
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weem View Post
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:
function gxbl_simple_get_xml($url)
	{
	
	$ch = curl_init($url);
	$html = fopen("example_htmlpage.html", "w");

	curl_setopt($ch, CURLOPT_FILE, $html);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_exec($ch);
	curl_close($ch);
	fclose($html);
	
		if ($html)
		{
			$xml = simplexml_load_file('example_htmlpage.html');
			return gxbl_object_to_array($xml->body->div);
		}
		else
		{
			return false;
		}
	}
That fixed it for me - its working fine on my site again now.
doesn't works for me on 4.2
Reply With Quote
  #484  
Old 08-01-2012, 10:33 AM
UK CHI3F UK CHI3F is offline
 
Join Date: Dec 2011
Location: UK
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a member without any gamerscore will they appear on gxboxlive

http://www.xboxplayers.co.uk/site/gx...=getall&page=6
Reply With Quote
  #485  
Old 08-04-2012, 02:11 PM
ShawnMTierney ShawnMTierney is offline
 
Join Date: Dec 2011
Location: Berkshires
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by weem View Post
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:

Code:
function gxbl_simple_get_xml($url)
	{
	
	$ch = curl_init($url);
	$html = fopen("example_htmlpage.html", "w");

	curl_setopt($ch, CURLOPT_FILE, $html);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_exec($ch);
	curl_close($ch);
	fclose($html);
	
		if ($html)
		{
			$xml = simplexml_load_file('example_htmlpage.html');
			return gxbl_object_to_array($xml->body->div);
		}
		else
		{
			return false;
		}
	}
That fixed it for me - its working fine on my site again now.
THAT DID IT! (I'm running 4.12) You Rock!!! :up: :up: :up:
Reply With Quote
  #486  
Old 08-04-2012, 02:44 PM
ShawnMTierney ShawnMTierney is offline
 
Join Date: Dec 2011
Location: Berkshires
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Robbed View Post
Plugin manager - disable gXBL: vB4 Tab Item
Thanks!!! I was looking for how to remove the navbar!
Reply With Quote
  #487  
Old 08-05-2012, 10:55 PM
ShawnMTierney ShawnMTierney is offline
 
Join Date: Dec 2011
Location: Berkshires
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nando99 View Post
brand new vb install, 1 of the first mods installed and i cant get it to work

Fatal error: Call to undefined function gxbl_has_access() in /home/content/99/5870299/html/digitalnoob/forums/gxboxlive.php on line 64

I've searched this thread and tried the latest xml to install and even reuploaded a few times...

Any help is appreciated

Quote:
Originally Posted by ultimategeek View Post
great Mod but i do have a small problem:
when i click the Xbox tab i get this message:

Fatal error: Call to undefined function gxbl_has_access() in /home/ultim939/public_html/gxboxlive.php on line 64

what have i done wrong?

Thanks for any help

Quote:
Originally Posted by Martyn1983 View Post
Hi,

Have tried your fix and I get the following:

Fatal error: Call to undefined function gxbl_has_access() in /home/martyn83/public_html/fiat/upload/gxboxlive.php on line 58

Any ideas?
I was also getting this error, but then I realized I had forgotten to do step four of the installation (below.) Once I did it the error went away:

Quote:
Fill in the gXboxLive configuration options, make sure to enter the field id for the newly created Xbox profile field above.
Reply With Quote
  #488  
Old 08-17-2012, 08:14 PM
kid101skater kid101skater is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Noticing the background of "Reputation" is missing...
<th>Reputation</th>
while others have...
class="blocksubhead" style="text-align:center;">
Reply With Quote
  #489  
Old 08-18-2012, 04:33 AM
GamerPerfection's Avatar
GamerPerfection GamerPerfection is offline
 
Join Date: Feb 2006
Posts: 389
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I take it no-ones still had any luck in producing a PS3 leaderboard?
Reply With Quote
  #490  
Old 09-04-2012, 05:49 AM
CDCent CDCent is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work for 4.2 because i've done every one of the fixes in this thread and to no avail.
Reply With Quote
  #491  
Old 09-07-2012, 07:30 PM
insidegames insidegames is offline
 
Join Date: Jun 2010
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had always the error

DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Zeile 407)
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 11:17 AM.


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.05293 seconds
  • Memory Usage 2,352KB
  • 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
  • (3)bbcode_code
  • (8)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
  • (1)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
  • (1)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