The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
gXboxLive - Xbox Live Leaderboard Details »» | |||||||||||||||||||||||||||
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]
*Depends on your vBulletin version and template configuration. Installation [hr]-[/hr]
Examples [hr]-[/hr]Authors
Changes [hr]-[/hr] vB4d - import product with Overwrite enabled, upload functions_gxboxlive.php and miner.gxboxlive.php
vB4c - import product with Overwrite enabled, upload gxboxlive.php, functions_gxboxlive.php and miner.gxboxlive.php
vB4b - import product with Overwrite enabled.
vB4a - upload gxboxlive.php, miner.gxboxlive.php
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
Show Your Support
|
Благодарность от: | ||
XGC Paravain |
Comments |
#562
|
||||
|
||||
No problems with mine. I just updated to vB 4.2.1 and this Mod still seems to function correctly.
|
#563
|
|||
|
|||
Still working fine here
|
#564
|
|||
|
|||
Quote:
I want to get the stats displayed on the forum like CAG CheechDogg did on his website here: Link: http://www.cagclan.com/community/forum.php Is this the "headinclude" you are talking about? If so, I need to take the entire contents of "gxbl_headinclude" and copy it directly into my "headinclude", right? Here are the contents of "gxbl_headinclude": Code:
<script type="text/javascript" src="clientscript/overlib/overlib.js"></script> <script type="text/javascript"> function gXBL_setcursor(type) { document.getElementsByTagName('body')[0].style.cursor = typeof type == 'undefined' ? 'default' : type; links = document.getElementsByTagName('a'); for(i = 0; i < links.length; i++) links.item(i).style.cursor = typeof type == 'undefined' ? 'pointer' : type; } function gXBL_show( type, gamertag) { if(type == 'gamercard') { gXBL_setcursor('progress'); var html = '<iframe onload="gXBL_setcursor();" src="http://gamercard.xbox.com/'+gamertag+'.card" scrolling="no" frameBorder="0" height="135" width="200">'+gamertag+'</iframe>'; return overlib(html, BORDER, 0, FULLHTML, WIDTH, 204, HEIGHT, 140, VAUTO, HAUTO); } if(type == 'nxeavatar') { gXBL_setcursor('progress'); var html = '<iframe onload="gXBL_setcursor();" src="http://avatar.xboxlive.com/avatar/'+gamertag+'/avatar-body.png" scrolling="no" frameBorder="0" height="300" width="150">'+gamertag+'</iframe>'; return overlib(html, BORDER, 0, FULLHTML, WIDTH, 150, HEIGHT, 300, VAUTO, HAUTO); } } function gXBL_hide() { return nd(); } </script> <style type="text/css"> .gxblhighlight td { border:1px solid yellow; } div.xblrep .Stats { float:left; } div.xblrep .Stats .Stat { float:left; text-align:left; } div.xblrep .Stats .Star { float:left; width:12px; height:12px; } div.xblrep .Stats .Empty { background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -10px no-repeat; } div.xblrep .Stats .Quarter { background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -30px no-repeat; } div.xblrep .Stats .Half { background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -50px no-repeat; } div.xblrep .Stats .ThreeQuarter { background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -70px no-repeat; } div.xblrep .Stats .Full { background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -90px no-repeat; } </style> Code:
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" /> <meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="{vb:raw vboptions.bburl}" /> <base href="{vb:raw basepath}" /><!--[if IE]></base><![endif]--> <meta name="generator" content="vBulletin {vb:raw vboptions.templateversion}" /> <meta http-equiv="X-UA-Compatible" content="IE=9" /> <vb:if condition="$stylevar['favicon']"> <link rel="Shortcut Icon" href="{vb:stylevar favicon}" type="image/x-icon" /> </vb:if> <vb:if condition="$show['threadinfo']"> <vb:elseif condition="$show['foruminfo']" /> <meta name="keywords" content="{vb:raw foruminfo.title_clean}, {vb:raw vboptions.keywords}" /> <meta name="description" content="<vb:if condition="$pagenumber > 1">{vb:rawphrase page_x, {vb:raw pagenumber}}-</vb:if>{vb:raw foruminfo.description_clean}" /> <vb:else /> <meta name="keywords" content="{vb:raw vboptions.keywords}" /> <meta name="description" content="{vb:raw vboptions.description}" /> </vb:if> <vb:if condition="$show['fb_opengraph']"> {vb:raw facebook_opengraph} </vb:if> <vb:if condition="$show['remoteyui']"> <vb:if condition="$show['remoteyuicombo']"> <script type="text/javascript" src="{vb:stylevar yuicombopath}?{vb:stylevar yuiversion}/build/yuiloader-dom-event/yuiloader-dom-event.js&{vb:stylevar yuiversion}/build/connection/connection-min.js"></script> <vb:else /> <script type="text/javascript" src="{vb:stylevar yuipath}/yuiloader-dom-event/yuiloader-dom-event.js"></script> </vb:if> </vb:if> <script type="text/javascript"> <!-- if (typeof YAHOO === 'undefined') // Load ALL YUI Local { document.write('<script type="text/javascript" src="clientscript/yui/yuiloader-dom-event/yuiloader-dom-event.js?v={vb:raw vboptions.simpleversion}"><\/script>'); document.write('<script type="text/javascript" src="clientscript/yui/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>'); var yuipath = 'clientscript/yui'; var yuicombopath = ''; var remoteyui = false; } else // Load Rest of YUI remotely (where possible) { var yuipath = '{vb:stylevar yuipath}'; var yuicombopath = '{vb:stylevar yuicombopath}'; var remoteyui = true; if (!yuicombopath) { document.write('<script type="text/javascript" src="{vb:stylevar yuipath}/connection/connection-min.js?v={vb:raw vboptions.simpleversion}"><\/script>'); } } var SESSIONURL = "{vb:raw session.sessionurl_js}"; var SECURITYTOKEN = "{vb:raw bbuserinfo.securitytoken}"; var IMGDIR_MISC = "{vb:stylevar imgdir_misc}"; var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}"; var vb_disable_ajax = parseInt("{vb:raw vboptions.disable_ajax}", 10); var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}"; var BBURL = "{vb:raw vboptions.bburl}"; var LOGGEDIN = {vb:raw bbuserinfo.userid} > 0 ? true : false; var THIS_SCRIPT = "{vb:raw this_script}"; var RELPATH = "{vb:raw relpath}"; var PATHS = { forum : "{vb:raw vboptions.vbforum_url}", cms : "{vb:raw vboptions.vbcms_url}", blog : "{vb:raw vboptions.vbblog_url}" }; var AJAXBASEURL = "{vb:raw ajaxbaseurl}"; // --> </script> <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script> {vb:raw template_hook.headinclude_javascript} <vb:if condition="$vboptions['externalrss']"> <link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2" /> <vb:if condition="$show['foruminfo'] OR $show['threadinfo']"> <link rel="alternate" type="application/rss+xml" title="{vb:raw vboptions.bbtitle} - {vb:raw foruminfo.title_clean} - {vb:rawphrase rss_feed}" href="{vb:raw vboptions.bburl}/external.php?type=RSS2&forumids={vb:raw foruminfo.forumid}" /> </vb:if> </vb:if> <vb:if condition="$vboptions['storecssasfile']"> {vb:cssfile main-rollup.css} {vb:raw template_hook.custom_css_links} <vb:else /> {vb:cssfile bbcode.css,editor.css,popupmenu.css,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css{vb:raw template_hook.custom_css_list}} </vb:if> <!--[if lt IE 8]> {vb:cssfile popupmenu-ie.css,vbulletin-ie.css,vbulletin-chrome-ie.css,vbulletin-formcontrols-ie.css,editor-ie.css} <![endif]--> {vb:raw template_hook.headinclude_css} <!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> <script type="text/javascript" src="jscripts/tw7s_notifications/jquery-1.4.2.js"></script> <script type="text/javascript" src="jscripts/tw7s_notifications/jquery.jgrowl.js"></script> <link href="jscripts/tw7s_notifications/jquery.jgrowl.css" rel="stylesheet" type="text/css"/> <!-- TW7S - New Way To Display Notifications (jQuery,CSS,jGrowl) --> Sorry I'm being so descriptive, but I tried doing just this and nothing showed up on my forum page like what is on his website. Am I doing something wrong? Is the fault with the theme I am using? Any help from anyone would be greatly appreciated. I'm at my wits end trying to get this on my forum home. Thanks guys |
#565
|
||||
|
||||
No you don't need to do all that, I just used the hook...
Open up your FORUMHOME template and find the following: Code:
{vb:raw navbar} Code:
{vb:raw template_hook.xboxstats} Let me know if it worked for you. |
#566
|
|||
|
|||
Thanks for replying so quick.
Here is a screenshot of my "FORUMHOME" with the addition of the code you gave me: I cleared the cache and checked my forum and didn't see the stats block that you have. Do you think since I am using a different theme I may have to edit a different template file for it to show up? Here is my ENTIRE "FORUMHOME" file with the addition: Code:
{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> {vb:raw headinclude} <title>{vb:raw vboptions.bbtitle}</title> <script type="text/javascript" src="clientscript/vbulletin_read_marker.js?v={vb:raw vboptions.simpleversion}"></script> <vb:if condition="$vboptions['storecssasfile']"> {vb:cssfile forumhome-rollup.css} <vb:else /> {vb:cssfile forumbits.css,forumhome.css,options.css} </vb:if> <!--[if lt IE 8]>{vb:cssfile forumbits-ie.css,options-ie.css}<![endif]--> <vb:if condition="$show['sidebar']"> {vb:cssfile sidebar.css,widgets.css,tagcloud.css} <!--[if lt IE 8]>{vb:cssfile sidebar-ie.css}<![endif]--> <script type="text/javascript"> <!-- document.write('<script type="text/javascript" src="' + yuipath + '/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script>'); var sidebar_align = '{vb:raw show.sidebarposition}'; var content_container_margin = parseInt('{vb:math {vb:stylevar forum_sidebar_width}+{vb:math {vb:stylevar padding}*2}}'); var sidebar_width = parseInt('{vb:stylevar forum_sidebar_width}'); //--> </script> <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-sidebar.js?v={vb:raw vboptions.simpleversion}"></script> </vb:if> {vb:raw headinclude_bottom} </head> <body> {vb:raw header} {vb:raw navbar} {vb:raw template_hook.xboxstats} <div id="pagetitle"> <h1>{vb:raw vboptions.bbtitle}</h1> <p id="welcomemessage" class="description">{vb:rawphrase welcome_to_the_x, {vb:raw vboptions.bbtitle}}</p> </div> <vb:if condition="$show['sidebar']"> <div id="content_container" class="{vb:raw $sidebar_class} <vb:if condition="$show['sidebarposition'] == 'left'">contentright</vb:if>"> <div id="content" <vb:if condition="$sidebar_class">class="{vb:raw $sidebar_class}"</vb:if>> </vb:if> <!-- main --> {vb:raw template_hook.forumhome_above_forums} <ol id="forums" class="floatcontainer"> {vb:raw forumbits} </ol> {vb:raw template_hook.forumhome_below_forums} <!-- /main --> <div id="navcustom" class="navlinks"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}forumdisplay.php?{vb:raw session.sessionurl}do=markread&markreadhash={vb:raw bbuserinfo.securitytoken}" rel="nofollow">{vb:rawphrase mark_forums_read}</a> <vb:if condition="$vboptions['forumleaders']">| <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow"> <vb:if condition="$vb_suite_installed"> {vb:rawphrase view_site_leaders} <vb:else /> {vb:rawphrase view_forum_leaders} </vb:if> </a></vb:if> </div> {vb:raw ad_location.board_after_forums} <!-- what's going on box --> <!-- Start Whats Going Heading PurevB --> <div class="tcat"> <div class="tcatLeft"><div class="tcatRight foruminfo L1 collapse"><div class="tcatWrap"> <h2> <span class="forumtitle">{vb:rawphrase whats_going_on}</span> </h2> </div></div></div> </div> <!-- End Whats Going Heading PurevB --> <div id="wgo" class="collapse wgo_block block"> <div class="blockbody formcontrols floatcontainer"> {vb:raw template_hook.forumhome_wgo_pos1} <vb:if condition="$show['loggedinusers']"> <!-- logged-in users --> <div id="wgo_onlineusers" class="wgo_subblock section"> <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3> <div> <p>{vb:rawphrase there_are_x_y_online_link, {vb:raw totalonline}, {vb:raw session.sessionurl_q}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p> <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p> <vb:if condition="$activeusers"> <ol class="commalist" id="wgo_onlineusers_list"> <vb:each from="activeusers" value="loggedin"> <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw loggedin}}">{vb:raw loggedin.musername}</a>{vb:raw loggedin.invisiblemark}{vb:raw loggedin.buddymark}{vb:raw loggedin.comma}</li> </vb:each> </ol> </vb:if> </div> </div> <!-- end logged-in users --> </vb:if> {vb:raw template_hook.forumhome_wgo_pos2} <!-- Start Members Today --> <vb:if condition="$show['wgo_members']"> <div id="wgo_wgo_members_users" class="wgo_subblock section collapse"> <h3 class="blocksubhead"><a href="{vb:raw wgo_members.url}"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:phrase wgo_members_alt_title}"/></a>{vb:raw wgo_members.whotitle}</h3> <a class="collapse" id="collapse_wgo_members_list" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b{vb:raw wgo_members.collapse}.png" alt="" title="{vb:rawphrase collapse_expand}" /></a> <div id="wgo_members_list" {vb:raw wgo_members.style}> <p>{vb:raw wgo_members.visitors}</p> <vb:if condition="$vboptions['wgo_members_names']"> <vb:if condition="$wgo_members['totaltoday'] == 0"> {vb:phrase no_members_list} <vb:else /> <ul class="commalist" id="wgo_wgo_members_list"> <vb:if condition="$wgo_members['template_hook']"> {vb:raw wgo_members.template_hook} <vb:else /> <vb:each from="wgo_members_list" value="row"> <li>{vb:stylevar dirmark}<a class="username" href="{vb:link member, {vb:raw row}}" title="{vb:raw row.wrdate}">{vb:raw row.musername}</a>{vb:raw row.markinv}{vb:raw row.comma}</li> </vb:each> </vb:if> </ul> </vb:if> <vb:else /> {vb:phrase member_list_disabled} </vb:if> </div> </div> </vb:if> <!-- End Members Today --> {vb:raw template_hook.forumhome_wgo_pos6} <vb:if condition="$show['upcomingevents']"> <div id="wgo_events" class="wgo_subblock section"> <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3> <ol> {vb:raw upcomingevents} </ol> </div> </vb:if> {vb:raw template_hook.forumhome_wgo_pos3} <vb:if condition="$show['birthdays']"> <!-- today's birthdays --> <div id="wgo_birthdays" class="wgo_subblock section"> <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />{vb:rawphrase todays_birthdays}</h3> <ol class="commalist"> <vb:each from="birthdays" value="row"> <li><a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}</li> </vb:each> </ol> </div> <!-- end today's birthdays --> </vb:if> {vb:raw template_hook.forumhome_wgo_pos4} <div id="wgo_stats" class="wgo_subblock section"> <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3> <div> <dl> <dt>{vb:rawphrase threads}</dt> <dd>{vb:raw totalthreads}</dd> <dt>{vb:rawphrase posts}</dt> <dd>{vb:raw totalposts}</dd> <dt>{vb:rawphrase members}</dt> <dd>{vb:raw numbermembers}</dd> <vb:if condition="$show['activemembers']"> <dt>{vb:rawphrase active_members}</dt> <dd>{vb:raw activemembers}</dd> </vb:if> </dl> <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p> {vb:raw template_hook.forumhome_wgo_stats} </div> </div> {vb:raw template_hook.forumhome_wgo_pos5} </div> <div class="bottomBar"><div class="bottomBarLeft"><div class="bottomBarRight"> </div></div></div> </div> <!-- end what's going on box --> {vb:raw ad_location.board_below_whats_going_on} <vb:if condition="$show['sidebar']"> </div> </div> <div id="sidebar_home"> <div id="sidebar_container" class="<vb:if condition="$show['sidebarposition'] == 'left'">sidebarleft</vb:if><vb:if condition="$close_sidebar"> sidebar_closed</vb:if>"> <a id="sidebar_button_link" href="#"> <vb:if condition="$show['sidebarposition'] == 'left'"> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" /> <vb:else /> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" /> </vb:if> </a> <ul id="sidebar" <vb:if condition="$close_sidebar">class="sidebar_hidden"</vb:if> > {vb:raw sidebar} </ul> </div> </div> </vb:if> <script type="text/javascript"> <!-- vbphrase['doubleclick_forum_markread'] = "{vb:rawphrase doubleclick_forum_markread}"; init_forum_readmarker_system(); //--> </script> {vb:raw footer} </body> </html> |
#567
|
||||
|
||||
Hhmmmm...I don't think so...it should work with what I gave you...weird
|
#568
|
||||
|
||||
Can you post a link to your forums?
|
#569
|
|||
|
|||
|
#570
|
||||
|
||||
Can't see it, allow guest to view xbl stats
|
#571
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|