vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - gXboxLive - Xbox Live Leaderboard (https://vborg.vbsupport.ru/showthread.php?t=243493)

Hippy 09-12-2012 11:11 PM

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>

Hippy 09-12-2012 11:13 PM

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>

JAnders 09-13-2012 12:59 AM

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>


Hippy 09-13-2012 01:07 AM

In the plug in are they all checked?

JAnders 09-13-2012 01:09 AM

Quote:

Originally Posted by Hippy (Post 2364962)
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.

JAnders 09-13-2012 01:12 AM

all other plugins for gxbl are enabled

Hippy 09-13-2012 10:08 AM

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

JAnders 09-13-2012 03:06 PM

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.

Hippy 09-13-2012 03:19 PM

When I get home I'll figure it out, I'm on a cell phone at work atm.

JAnders 09-13-2012 03:28 PM

hey thanks for all the help!


All times are GMT. The time now is 02:48 AM.

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.03485 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete