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)

insidegames 09-07-2012 09:30 PM

how can i fix the problem with the reputation? it shows me nothing

JAnders 09-10-2012 08:20 PM

I've tried all the fixed... downloading the custom product update and installing...

what I really miss the most is the gamercard in the post bit. when you enable the plug-in threads do not show.

little bummed that it's nowhere close to the product it was on previous versions

Hippy 09-10-2012 09:17 PM

on this page
I posted how to fix this

https://vborg.vbsupport.ru/showthrea...243493&page=30

this fixed forum home mouse over and post bit
https://vborg.vbsupport.ru/showpost....&postcount=440

https://vborg.vbsupport.ru/attachmen...2&d=1336316754

Ross L 09-12-2012 06:10 PM

I did all the updates, and it still doesn't display the rep for me, nor does it show the post bit hover (Gamerscore on hover).

JAnders 09-12-2012 08:43 PM

hippy not sure if you last response was to me, what i was looking for was the ability display the gamercard info on the postbit_legacy template like the 3.x version used to have.

I also like the person before me applied all the fixed and the rep still shows blank, the mouse over i did fix but when I imported the updated product xml it removed that change and i didn't bother to put it back yet.

Hippy 09-12-2012 09:28 PM

JAnders is was for you .. you need to add that plugin I made..

https://vborg.vbsupport.ru/showpost....&postcount=440

the gxbl_headinclude is not rendering , other than the xboxlive page..
so the forum home is not working nor the post bit..

make sure
because on of the xml files I posted was with out the gamecard link on the postbit..

check your

make sure this is in you gxbl_postbit template
if not replace it with 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>

Hippy 09-12-2012 09:36 PM

Quote:

Originally Posted by Ross L (Post 2364874)
I did all the updates, and it still doesn't display the rep for me, nor does it show the post bit hover (Gamerscore on hover).

post me your
gxbl_bit temlate

seems like something is missing

JAnders 09-12-2012 10:07 PM

i checked and all is there hippy but still no gamercard: i have a heavily modified postbit legacy at this point so may be if you'd give me the code to add it to the postbit directly?

i also have the reputation issue here's my gxbl_bit template:

Code:

<tr <vb:if condition="$player['gamertagid'] == $highlight['gamertagid']">class="gxblhighlight" id="currentPost"</vb:if>>
        <td class="padding">
                <vb:if condition="in_array($player['rank'], array('1','2','3'))"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/award_star_<vb:if condition="$player['rank'] == '1'">gold<vb:else /><vb:if condition="$player['rank'] == '2'">silver<vb:else />bronze</vb:if></vb:if>_2.png" alt="{vb:rawphrase gxbl_rank}: {vb:raw player.rank}" /></vb:if> {vb:raw player.rank}<sup>{vb:raw player.ranksuff}</sup>
        </td>
        <td nowrap="nowrap" class="padding">
                <a href="member.php?u={vb:raw player.userid}">{vb:raw player.username}</a>
        </td>
        <td nowrap="nowrap" class="padding">
                <a href="http://live.xbox.com/en-US/MyXbox/Profile?gamertag={vb:raw player.gamertag}" target="_blank">{vb:raw player.gamertag}</a>
        </td>
        <td nowrap="nowrap" class="padding">
                <vb:if condition="$show['gxbl_message'] == '1'"><a href="http://live.xbox.com/en-US/Messages?gamertag={vb:raw player.gamertag}" target="_blank"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/email_link.png" alt="{vb:rawphrase gxbl_message_x_friend, {vb:raw player.gamertag}}" /></a></vb:if>               
                <vb:if condition="$show['gxbl_friend'] == '1'"><a href="http://live.xbox.com/en-US/MyXbox/Profile?gamertag={vb:raw player.gamertag}" target="_blank" onClick="return confirm('{vb:rawphrase gxbl_confirm_x_friend, {vb:raw player.gamertag}}');"><img class="inlineimg" border="0" src="{vb:stylevar imgdir_misc}/gxboxlive/silk/group_link.png" alt="{vb:rawphrase gxbl_add_x_friend, {vb:raw player.gamertag}}" /></a></vb:if>
                <a href="http://gamercard.xbox.com/en-us/{vb:raw player.gamertag}.card" target="_blank" onmouseover="gXBL_show('gamercard','{vb:raw player.gamertag}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="{vb:raw player.avatar}" style="border: 1px solid <vb:if condition="$player['gold'] == '1'">gold<vb:else />silver</vb:if>;" /></a>
                <a href="http://avatar.xboxlive.com/avatar/{vb:raw player.gamertag}/avatar-body.png" target="_blank" onmouseover="gXBL_show('nxeavatar','{vb:raw player.gamertag}');" onmouseout="return gXBL_hide();"><img border="0" width="20" height="20" src="http://avatar.xboxlive.com/avatar/{vb:raw player.gamertag}/avatarpic-s.png" style="border: 1px solid <vb:if condition="$player['gold'] == '1'">gold<vb:else />silver</vb:if>;" /></a>
        </td>
        <td class="padding">
                <acronym title="{vb:rawphrase gxbl_last_updated}: {vb:raw updated.date} {vb:raw updated.time}">{vb:raw player.score}</acronym>
        </td>
        <td class="padding"><div class="xblrep"><div class="Stats">{vb:raw player.reputation}</div></div></td>
        <td class="padding">
                {vb:raw player.games}
        </td>
</tr>

I do appreciate all your help :)

Hippy 09-12-2012 10:15 PM

would you like me to come by and look it over .. will bne easier for the both of us ...
if so send me details via pm..

Hippy 09-12-2012 10:20 PM

this is the plugin gXBL: Postbit Stats Display code
I am not sure what i did to this mod .
its been a long while...


check your plug in to see


Code:

if(!defined('GXBL_FUNC'))
    include "./includes/functions_gxboxlive.php";
if(function_exists('gxbl_has_access') && gxbl_has_access() && $post[gxblrank] && ( $this->registry->options['gxbl_forumids'] == '0' || in_array($forum['forumid'], explode(',',$this->registry->options['gxbl_forumids']))) )
 {
    $show['gxblrank'] = true;
    if(!$post[gxblscore])
        $show['gxblrank'] = false;
    else
    {
        $post['url_gxblgamertag'] = urlencode($post['gxblgamertag']);
        $post['gxblranksuff'] = gxbl_suffix($post['gxblrank']);
        $templater = vB_Template::create('gxbl_postbit');
        $templater->register('post', $post);
        $template_hook['postbit_userinfo_right_after_posts'] .= $templater->render();
                      }
}
else
{
    $show['gxblrank'] = false;
    $post['gxblrank'] = false;
    $page = false;
}



All times are GMT. The time now is 04:04 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.01549 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)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