vb.org Archive

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

Gryphon 01-29-2008 12:29 AM

Quote:

Originally Posted by Spinball (Post 1431207)
I've had to disable it for now - that's why it's not appearing correctly.
Try disabling it on yours and then accessing the page - you'll probably get the same results.
Maybe if you set an option to allow it to update only between certain times. I would have it work between 2am and 7am for example.
It's a pity I've had to disable it - look at the reception it got : http://www.avforums.com/forums/showthread.php?t=696978

You are right, I thought it disabled the whole page when the product was disabled, I will have to change that.

I don't know why it is causing such load. There are leadboards with 10k members running on an older version of gXboxLive which trys to update all the cards every 30 minutes, extremely inefficient.

With only 1000 members it should be making 5 gamercard updates at a time, and should be done between 12am and 3:30am.

Of course, I am always working on optimizing it more, it has been a main goal since the release of v2.

gundarN 01-29-2008 08:35 AM

It appears that after installing 2.1.4 last night (and now 2.1.6 today), when a user who is set to use the postbit_legacy tries to view a thread, none of the post contents are appearing.
Is this a coincidence or something that gXboxLive may have caused in some way?

Thankefully only one user currently uses the postbit_legacy, all others use the normal postbit.

Cheers.

Silviu 01-29-2008 02:08 PM

Hi Gryphon, great hack, been using it for a while, however, ever since the 2.1.3 version, the Leaderboard simply refuses to update the scores. As you can see here, the score shown for angelcrying is 37799, but if you hover to see his Gamertag, the actual score is 37899 (not to mention the fact that his games aren't even listed on the scoreboard).

This is what I get when i run the cron job manually:

Quote:

gXboxLive Update
Updated Accounts: .

Process Time: 6s.
Total Queries: 58.

Done
I've tried running the cron job manually, but the end result is the same. Is there anything I can do, short of reinstalling the mod altogether?

Gryphon 01-29-2008 02:45 PM

I can not view the board as a guest. However, the scores update once per day, so changes mid day will not be picked up until the next day. When Update Accounts has no user names, all of the accounts for the day have been processed.

If you are not seeing the games listed, that is an odd problem, I am not sure what could be causing that off the top of my head.

@gundarN, I'm not sure why that would be the case. The way the postbit template is modified is exactly the same between the two. I use legacy by default on my boards ok. I will dig into this and see if I can find anything.

Silviu 01-30-2008 09:20 AM

1 Attachment(s)
Quote:

Originally Posted by Gryphon (Post 1431722)
I can not view the board as a guest.

I enabled the Live Scoreboard for the Guest usergroup, now you should be able to access it.

Quote:

Originally Posted by Gryphon (Post 1431722)
However, the scores update once per day, so changes mid day will not be picked up until the next day. When Update Accounts has no user names, all of the accounts for the day have been processed.

If you are not seeing the games listed, that is an odd problem, I am not sure what could be causing that off the top of my head.

Well, the problem is that the scores haven't been updated in almost a week. I've attached a screenshot to underline the problem.

Spinball 01-30-2008 02:21 PM

I have my own XBL Gamercard functionality which, in specific forums (just the Xbox ones), the user's avatar or gamercard will be displayed depending on a choice they make in their CP options page.
(I have the system create a narrower version of the gamercard which fits into postbit_legacy without forcing the cell width wider. I use an iFrame which calls an external script because I don't know how to code using the new plugin system).
The way I update the gamercards is to make a check only when the gamercard needs to be displayed. I.e. a users' post is displayed. Then it looks to see if the card has been updated in the last 24 hours, and if it hasn't, it updates it right away.
Maybe your system could do a full update once a week at a specified time -2am, say.
And then update as needed like my system does.
I would alter my system to use the info from your tables if your mod was working ok on our board.

Gryphon 01-30-2008 02:56 PM

Quote:

Originally Posted by Silviu (Post 1432346)
Well, the problem is that the scores haven't been updated in almost a week. I've attached a screenshot to underline the problem.

Silviu, Are there any errors when you run the scheduled task manually?

Silviu 01-31-2008 03:01 PM

No, it seems to be working fine:

Quote:

gXboxLive Update
Updated Accounts: .

Process Time: 5s.

Total Queries: 58.

Done
In the end I think a reinstall is the only option to fix this.

XFSImperial 01-31-2008 10:30 PM

When I run the cron job manually, I get this error:

Code:

gXboxLive Update

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in \includes\cron\miner.gxboxlive.php on line 85
Updated Accounts: gamertag, gamertag, gamertag

Process Time: 2s.

Total Queries: 79.
Done


theoz1 02-01-2008 03:53 AM

I give members the option put this in their profile under edit profile, but to those that dont have a tag or do not want to add one keep getting an error that says :"You did not enter the correct format for the Xbox Live GamerTag field. Please read the field description for the expected format." and I have it set to be optional. Any idea?


All times are GMT. The time now is 07:07 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.01963 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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