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
  #502  
Old 09-12-2012, 11:11 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try this
look in your
gxbl_stats template

for
Code:
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase reputation}: {vb:raw gxblusercount.reputation}</div>
if you dont have it add it around about after
Code:
<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_score}: {vb:raw gxblusercount.score}</div>
Reply With Quote
  #503  
Old 09-12-2012, 11:13 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as far as code for the postbit

its using a hook..
and calling the gxbl_postbit template

make sure yours looks like this

Code:
<vb:if condition="$show['gxblrank']"><div><a href="gxboxlive.php?gt={vb:raw post.url_gxblgamertag}" onmouseover="gXBL_show('gamercard','{vb:raw post.url_gxblgamertag}');" onmouseout="return gXBL_hide();">{vb:rawphrase gxboxlive_title}</a>: <vb:if condition="in_array($post['gxblrank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$post['gxblrank'] == '1'">gold<vb:else /><vb:if condition="$post['gxblrank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw post.gxblrank}" /></vb:if> {vb:raw post.gxblrank}<sup>{vb:raw post.gxblranksuff}</sup></div></vb:if>
Reply With Quote
  #504  
Old 09-13-2012, 12:59 AM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep both the stats and the postbit are exactly as you listed.

here the part in the gxbl_stats gxbl_postbit is exactly as you posted

Code:
<div class="blockbody formcontrols" id="gxblstatistics">
		<table width="100%">
			<tr class="columnsort">
				<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_stats}}</th>
				<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_players}}</th>
				<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_avatars}}</th>
				<th class="blocksubhead" width="20%" style="text-align:center;">{vb:rawphrase gxbl_top_x, {vb:rawphrase gxbl_games}}</th>
			</tr>
			<tr align="center">
				<td>
					<div class="shade">{vb:rawphrase gxbl_players}: {vb:raw gxblusercount.usercount}</div>
					<div class="shade">{vb:rawphrase gxbl_gold} {vb:rawphrase gxbl_accounts}: {vb:raw gxblusercount.gold}</div>
					<div class="shade">{vb:rawphrase gxbl_silver} {vb:rawphrase gxbl_accounts}: {vb:raw gxblusercount.silver}</div>
					<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_score}: {vb:raw gxblusercount.score}</div>
					<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase reputation}: {vb:raw gxblusercount.reputation}</div>
					<div class="shade">{vb:rawphrase gxbl_total} {vb:rawphrase gxbl_games}: {vb:raw gxblusercount.games}</div>
Reply With Quote
  #505  
Old 09-13-2012, 01:07 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the plug in are they all checked?
Reply With Quote
  #506  
Old 09-13-2012, 01:09 AM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
as far as code for the postbit

its using a hook..
and calling the gxbl_postbit template

make sure yours looks like this

Code:
<vb:if condition="$show['gxblrank']"><div><a href="gxboxlive.php?gt={vb:raw post.url_gxblgamertag}" onmouseover="gXBL_show('gamercard','{vb:raw post.url_gxblgamertag}');" onmouseout="return gXBL_hide();">{vb:rawphrase gxboxlive_title}</a>: <vb:if condition="in_array($post['gxblrank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$post['gxblrank'] == '1'">gold<vb:else /><vb:if condition="$post['gxblrank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw post.gxblrank}" /></vb:if> {vb:raw post.gxblrank}<sup>{vb:raw post.gxblranksuff}</sup></div></vb:if>
ok i understand a lot more what's going on so the template part for the postbit is fine, however the problem is not there is in the plugin called post bit stats display "
postbit_display_complete" it's disabled by default, when I enable the threads go blank. when you click on a thread there's nothing displaying just a completely blank page.
Reply With Quote
  #507  
Old 09-13-2012, 01:12 AM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

all other plugins for gxbl are enabled
Reply With Quote
  #508  
Old 09-13-2012, 10:08 AM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Turn on post bit stats display plugin,
turn off the Show_post Plugin
now open up your
gxbl_headinclude template and copy it.
Now paste it into the top of your headinclude template
save

and see if that does it.

I have to figure out what's causing your blank white Page.
Let me know how you make out
Reply With Quote
  #509  
Old 09-13-2012, 03:06 PM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

alright thanks, i did see a few pages back that a few people had complained about the same issue when they turned the plugin on.

did as you suggested and still got the blank page if the show_post plugin was turned off. if all plugins are enabled except the postbit stats display. the threads display fine. as soon as it's turned on it goes blank even if the show_post plugin is off too.
Reply With Quote
  #510  
Old 09-13-2012, 03:19 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I get home I'll figure it out, I'm on a cell phone at work atm.
Reply With Quote
  #511  
Old 09-13-2012, 03:28 PM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks for all the help!
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 04:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04935 seconds
  • Memory Usage 2,346KB
  • 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
  • (5)bbcode_code
  • (1)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
  • (1)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