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)

EricaJoy 04-02-2007 07:20 AM

Quote:

Originally Posted by Blackjack (Post 1192224)
It is not currently possible. I am not sure how easy that would be, I can look into it.

Any progress on this? I'd love to put a top 10 leaderboard at the top of my gaming forum.

Ronin Storm 04-02-2007 10:28 AM

I've made a one line change to miner.gxboxlive.php to resolve the error I get with avatars that have a single quote in their name. This appears to resolve the issue for me but I can't guarantee that it doesn't cause other problems.

In miner.gxboxlive.php, on line 106, change:

Code:

$player['avatar'] = $matches[0][2];
...to:

Code:

$player['avatar'] = addslashes($matches[0][2]);
Again, no guarantees. Just hoping the contribution helps.

ringoflight 04-02-2007 01:46 PM

Quote:

Originally Posted by Blackjack (Post 1215717)
You can change the name of the link in the navbar with phrases, search for gxboxlive_vbnav.

Online status is a little tougher because you have to get the script to authenticate with Xbox.com and login to access that information. Currently that is a little more work than I am looking to put in. However, it is something I would like to accomplish sometime.

Hmmm, I may be able to help you actually. I am going to be paying a coder for some extensive work on my forums, with a big part being the xbox live leaderboard. On my list is the following:

The ability to view the users current Xbox Live status
The ability to show the rank of the user in the postbit
The ability to show the last 5 games played in the postbit
If the user specifies his login details for xbox.com, a script will run in the background which will log that user in to xbox.com, and allow the user to send messages and view the users friends list, within your forums template, but running through xbox.com completely. (The coder says this is possible, but I have no intention to take the matter further if he cannot do it).

This could take a few weeks, and at the end result, I will send you the final code, or release the hack seperately if needed!

If anyone else has any other ideas, please tell me!

Gryphon 04-02-2007 03:27 PM

Quote:

Originally Posted by Ronin Storm (Post 1216160)
I suspect the issue is in the avatar line, and to do with the apostrophe after "Street Fighter II", exactly as the apostrophe after "Texas Hold" (i.e. "Street Fighter II' HF" and "Texas Hold'Em").

The miner should not be picking up the alt tag at all, only the url. Please look at the top of miner.gxboxlive.php and ensure that you are using Rev: 540. If you are, I will try and find out why this is happening, but it should not be.

Quote:

Originally Posted by GnG_ShoOk (Post 1216393)
i get everything isntalled and working, i have it under my quick links , but when i put in my gt and my friends they dnt come up it s just the columns?

Did you wait for the cron to run? Did you enter the proper field id?

Quote:

Originally Posted by vhero (Post 1217321)
blackjack you ever thought in future releases to make bigger thumnails as an option? I would like to see them.

You can edit the size of the icons to your liking in the template.

Quote:

Originally Posted by EricaJoy (Post 1218168)
Any progress on this? I'd love to put a top 10 leaderboard at the top of my gaming forum.

I have not yet looked into doing this.

Quote:

Originally Posted by ringoflight (Post 1218334)
Hmmm, I may be able to help you actually. I am going to be paying a coder for some extensive work on my forums, with a big part being the xbox live leaderboard.

On your first point; There are classes available that login to xbox.com and obtain some of that information I have been toying with, however the connection is not entirely reliable. I would always be willing to look at any code improvements anyone may have. Your 4th point would be quite nice and I would look into working on the same thing, however I would not be comfortable managing other users credentials, that is pretty sensitive information to be handling. Your second and third points I can certainly implement into gXboxLive.

If you do release something, all I ask is that it does not include my code or modifications to my code. It would be great if it worked in conjunction with it or standalone. Thanks.

Spinball 04-02-2007 05:43 PM

Quote:

Originally Posted by ringoflight (Post 1218334)
Hmmm, I may be able to help you actually. I am going to be paying a coder for some extensive work on my forums, with a big part being the xbox live leaderboard. On my list is the following:

The ability to view the users current Xbox Live status
The ability to show the rank of the user in the postbit
The ability to show the last 5 games played in the postbit
If the user specifies his login details for xbox.com, a script will run in the background which will log that user in to xbox.com, and allow the user to send messages and view the users friends list, within your forums template, but running through xbox.com completely. (The coder says this is possible, but I have no intention to take the matter further if he cannot do it).

This could take a few weeks, and at the end result, I will send you the final code, or release the hack seperately if needed!

If anyone else has any other ideas, please tell me!

WRT the postbit element, do you mean something like this?
http://www.avforums.com/forums/showthread.php?t=424987

Gryphon 04-02-2007 07:14 PM

No, s/he wants extended information not available in the gamer cards which is currently where gXboxLive gets it's information from.

There is more information available, like offline/online status, if you login to xbox.com with your credentials that this mod cannot currently do.

*Edit: After re-reading the your post, I see you are directing the comment about the postbit display.

JD45 04-08-2007 02:47 AM

/me installs and nominates!

Ronin Storm 04-08-2007 10:32 AM

Quote:

Originally Posted by Blackjack (Post 1218409)
The miner should not be picking up the alt tag at all, only the url. Please look at the top of miner.gxboxlive.php and ensure that you are using Rev: 540. If you are, I will try and find out why this is happening, but it should not be.

Sorry it's taken me a while to get back.

Code:

$Id: miner.gxboxlive.php 540 2007-03-28 21:09:43Z gryphon $
Looks like rev 540 to me. Was certainly getting errors. Now I'm not. Pretty comfortable with the alt tags appearing, actually, now they're not causing issues with the SQL.

jkwasn01 04-08-2007 09:47 PM

I am receiving the same error as Ronin.. I am also using the miner 540

PHP Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
REPLACE INTO gxboxlive SET 
                userid 
'65',
                
gamertag 'hidden',
                
avatar 'http://tiles.xbox.com/tiles/Ml/29/0Wdsb2JhbC9BCgUABh4AGANYL3RpbGUvMC8yODAwNQAAAAAAAAD+kl0S.jpg" alt="Street Fighter II' HF" title="Street Fighter II' HF',
                
score '31722',
                
reputation '20',
                
zone 'Recreation',
                
lastplayed 'a:5:{i:0;a:3:{s:5:\"title\";s:7:\"MLB 2K7\";s:4:\"link\";s:116:\"http://live.xbox.com/en-US/profile/Achievements/ViewAchievementDetails.aspx?tid=%09%5d%3bdh-o0%01t&compareTo=MIK\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/4P/Ce/12dsb2JgbA9ECgUMGgQfWSkiL2ljb24vMC84MDAwIAABAAAAAPix8P8=.jpg\";}i:1;a:3:{s:5:\"title\";s:7:\"Luxor 2\";s:4:\"link\";s:116:\"http://live.xbox.com/en-US/profile/Achievements/ViewAchievementDetails.aspx?tid=%09%5d%3bhe)j3u%03&compareTo=MIK\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/r8/tv/1Wdsb2JgbA9ECgUAGwEfVl8nL2ljb24vMC84MDAwIAABAAAAAPpAy7A=.jpg\";}i:2;a:3:{s:5:\"title\";s:4:\"TMNT\";s:4:\"link\";s:123:\"http://live.xbox.com/en-US/profile/Achievements/ViewAchievementDetails.aspx?tid=%09%5d%3bei*h1e4X6z-17%0a&compareTo=MIK\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/0S/RW/0mdsb2JgbA9ECgUNGgMfWSlbL2ljb24vMC84MDAwIAABAAAAAP15JM4=.jpg\";}i:3;a:3:{s:5:\"title\";s:6:\"GRAW 2\";s:4:\"link\";s:123:\"http://live.xbox.com/en-US/profile/Achievements/ViewAchievementDetails.aspx?tid=%09%5d%3bei*h1e4X6z-17%02&compareTo=MIK\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/-h/jO/0Gdsb2JgbA9ECgUNGgMfWSlTL2ljb24vMC84MDAwIAABAAAAAP-hGOE=.jpg\";}i:4;a:3:{s:5:\"title\";s:12:\"Gears of War\";s:4:\"link\";s:120:\"http://live.xbox.com/en-US/profile/Achievements/ViewAchievementDetails.aspx?tid=%09%5d%3a%15%18*iAs%05&compareTo=MIK\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/bU/l4/1Gdsb2JgbA9ECgR8GgMfWStWL2ljb24vMC84MDAwIAABAAAAAPtXSXI=.jpg\";}}',
                
updated '1176072257';

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'HF" title="Street Fighter II' HF',
                score = '
31722',
                reputation = '
20',
    ' 
at line 4
Error Number 
1064 


jonty 04-08-2007 10:09 PM

Is there (or will there be) an easy way to exclude banned users, or members of specific groups?


All times are GMT. The time now is 12:09 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.01490 seconds
  • Memory Usage 1,775KB
  • 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_php_printable
  • (9)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