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)

yin9 02-03-2011 12:33 AM

Edit: Solved

I has this in GBXL template.

HTML Code:

                                <th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=r&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase reputation}<vb:if condition="$sortfield == 'r'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
I delete this, and it work, i go to see the gxbl_stats template, beacuse i have the same problem in footer zone, i see the "top zone" blank.

Many, many thanks.

Gryphon 02-03-2011 12:42 AM

Try reverting that template? That is not what is included in the product.

Code:

<!-- gxbl stats on box -->
<br />
<div class="block">
        <div class="blockhead collapse">
                {vb:rawphrase x_statistics, {vb:rawphrase gxboxlive_title}}
                <a class="collapse" id="collapse_gxblstatistics" href="gxboxlive.php#top" style="position:static;"><img src="images/buttons/collapse_40b.png" alt="[-]" /></a>
        </div>
       
        <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>
                                </td>
                                <td>{vb:raw gxbltop.players}</td>
                                <td>{vb:raw gxbltop.avatars}</td>
                                <td>{vb:raw gxbltop.games}</td>
                        </tr>
                </table>
        </div>
</div>
<!-- end gxbl stats box -->


yin9 02-03-2011 12:51 AM

Ok all solved, many thanks i think this work properly now.

Mark Install and Nominate for MOTM.

Makaveli007 02-03-2011 01:53 AM

you the man Gryphon, working great again

yin9 02-03-2011 02:23 AM

Hi Gryphon. I have an error in the top games, the first 2 games link to my site, i see with Firebug and i see this:

HTML Code:

<a target="_blank" href="/en-US/GameCenter/Achievements?titleId=1297287213">

<a target="_blank" href="/en-US/GameCenter/Achievements?titleId=1480657521">

<a target="_blank" href="http://live.xbox.com/en-US/GameCenter/Achievements?titleId=1414793202">

<a target="_blank" href="http://live.xbox.com/en-US/GameCenter/Achievements?titleId=1096157269">

<a target="_blank" href="http://live.xbox.com/en-US/GameCenter/Achievements?titleId=1297287259">


In the first 2 don't work for me the link to live.xbox.com, images works well in all.

Thanks in advance, greetings.

Gryphon 02-03-2011 02:37 AM

I think that should fix itself as the leaderboard is updated.

yin9 02-03-2011 02:43 AM

I go to AdminCP and execute this:

gXboxLive Info Update
This task automatically updates the gXboxLive Leaderboard.

Is this?

This don't fix. Thanks.

Edit: In the Top Games not work 2 links and in the Latest Games don't work none link, all go to my site.

It may be a mistake of mine to upgrade the mod?

I hope to see if it happens to someone else. I want not to give you more work for today.

Thanks.

Gryphon 02-03-2011 03:16 AM

It will probably take a day or two depending on how many people you have.

GamerPerfection 02-03-2011 04:15 AM

Thank you very much Gryphon and Travis641.

Nominated for MOTM.

There were a couple of template issues which i've resolved. In the main template (even after revert) the Reputation header was not like the others, it was unformatted, and wasn't able to sort in order etc.

You had the Reputation code as:

Code:

<th {vb:rawphrase reputation}</th>
So i changed it to:

Code:

<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=n&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:center;">{vb:rawphrase reputation}<vb:if condition="$sortfield == 'n'"> <img class="sortarrow" src="{vb:stylevar imgdir_button}/sortarrow-{vb:raw oppositesort}.png" alt="{vb:rawphrase reverse_sort_order}" border="0" /></vb:if></a></th>
It needed the blockhead tag to make it appear like the others.


[S]The only thing on mine I haven't got to work is that the reputation comes up as a number, i.e. 20 not the stars image. Haven't figured that one out yet.[/S]
Ignore that about the stars, they are gradually appearing as it updates. :up:

P.S. I'd like to give my personal apology to Travis641 for my attitude. It was unnecessary and uncalled for.

Gryphon 02-03-2011 04:46 AM

I removed sorting for the reputation column because it will no longer sort. I do see from your install that I need to fix gamercards with spaces however, that will probably be tomorrow.


All times are GMT. The time now is 04:48 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.01634 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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