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)

ProFifaLeagues 04-28-2011 02:15 PM

Nice one Gryphon

GamerPerfection 04-28-2011 02:29 PM

Quote:

Originally Posted by Gryphon (Post 2189683)
Yes the gamercards have changed a bit. Working on this atm.

Awesome. Let us know if you need help of any sorts. :up:

yin9 04-29-2011 03:20 PM

Thanks for update Gryphon, now work well for me.

KissOfDeath 04-29-2011 03:40 PM

i get a load of errors when trying to update manually from scheduled tasks

here's an example

Code:

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/NOT%20AN%20XBOX%20GUY......card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in [path]/includes/functions_gxboxlive.php on line 407
Ok just figured out one of the members did not put a proper live id in, i edited it and it's working fine now

but on that note their seems to be a problem with it updating the leaderboard if their are to many wrong gamercard links in the database? any solution to this?

Also the showing of member xbl leaderboard rank appears to have stopped showing on the thread pages for me? same for anyone else?

Gryphon 04-29-2011 07:45 PM

I had to make significant changes to the way I parse the gamercards that should be more reliable and easier to fix. It is now using the DOMDocument class, in particular DOMDocument::loadHTMLFile, which honestly, I do not know a ton about but it made things a lot easier, but I'm pretty sure it makes the mod now require PHP5.

If it becomes to much of an issue I will have to try and get the old way to work, but after spending all day on it yesterday and getting two friends to help we could not get the old way to work for some reason.

Quote:

Originally Posted by KissOfDeath (Post 2190029)
Ok just figured out one of the members did not put a proper live id in, i edited it and it's working fine now

but on that note their seems to be a problem with it updating the leaderboard if their are to many wrong gamercard links in the database? any solution to this?

Also the showing of member xbl leaderboard rank appears to have stopped showing on the thread pages for me? same for anyone else?

I may have to make some adjustments for bad gamercards. I have always had a check in for them previously that will blank out the users userfield entry after 5 unsuccessful attempts to get gamercard data, but the new parser may break when there are bad cards, I'll have to look into that.

I still do not have vB4, so I am not fully sure how all the templates are setup, but I wouldn't be surprised if the postbit rank display doesn't work. Not sure if or when I would be able to look into that.

KissOfDeath 04-30-2011 04:05 PM

Quote:

Originally Posted by Gryphon (Post 2190102)
I had to make significant changes to the way I parse the gamercards that should be more reliable and easier to fix. It is now using the DOMDocument class, in particular DOMDocument::loadHTMLFile, which honestly, I do not know a ton about but it made things a lot easier, but I'm pretty sure it makes the mod now require PHP5.

If it becomes to much of an issue I will have to try and get the old way to work, but after spending all day on it yesterday and getting two friends to help we could not get the old way to work for some reason.



I may have to make some adjustments for bad gamercards. I have always had a check in for them previously that will blank out the users userfield entry after 5 unsuccessful attempts to get gamercard data, but the new parser may break when there are bad cards, I'll have to look into that.

I still do not have vB4, so I am not fully sure how all the templates are setup, but I wouldn't be surprised if the postbit rank display doesn't work. Not sure if or when I would be able to look into that.

I managed to fix if my running the task manually and removing the ones that gave errors back
, the majority of people put "N/A" or "none" also had a few website addresses in the gamertag field for some users from bot's i presume?

I have a valid vb4 license, i can set up a fresh forum on my site and give you admin access for testing purposes if you want?

It will be an empty forum with no users, you'd probably need to create a few users to do your tests, let me know if you want it and i'll set it up for you

zapiy 04-30-2011 07:20 PM

Thanks for the update fella.

akoj 04-30-2011 09:15 PM

Worked perfectly. Thank you. I was wondering if you have any plans to have a forum block with leaders shown?

GamerPerfection 05-01-2011 09:05 AM

Thanks dude, the update works perfectly. :up:

J875CD060E18 05-01-2011 11:33 AM

Stuck on step 4 :(


All times are GMT. The time now is 06:24 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.01579 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
  • (3)bbcode_quote_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