PDA

View Full Version : Add-On Releases - gXboxLive - Xbox Live Leaderboard


Pages : 1 [2] 3

ProFifaLeagues
04-28-2011, 02:15 PM
Nice one Gryphon

GamerPerfection
04-28-2011, 02:29 PM
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

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 (http://www.php.net/manual/en/domdocument.loadhtmlfile.php), 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.

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
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 (http://www.php.net/manual/en/domdocument.loadhtmlfile.php), 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 :(

tandalier
05-01-2011, 02:52 PM
doesn't work here. I only get errors like this one...


Unable to fetch URL: http://gamercard.xbox.com/en-US/trainler.card - trainler - Possibly not a real gamertag entered.

but its a normal gamertag??? Any idea what to change?

GamerPerfection
05-02-2011, 03:51 PM
Stuck on step 4 :(Care to expand on your problem so we can help?

tandalier
05-04-2011, 04:56 PM
no help?

DaninMS
05-05-2011, 11:47 PM
Thanks dude, the update works perfectly. :up:

Double thanks. Appears to be working on mine as well.

InsaneNutter
05-11-2011, 10:53 PM
Thanks a lot, its now working perfectly again on vBulletin 4.1.0.

Nominated for mod of the month!

InsaneNutter
05-13-2011, 08:58 AM
How often should the leaderboard update?

It appeared to work at first with people who already had there gamercards in there profile from before we upgraded to VB 4, some people then added there gamercards which worked too.

However more people have added there gamercards and it just doesn't appear to update anymore, well if it does then its not done so in the last 16 hours.

GamerPerfection
05-14-2011, 05:17 AM
Usually updates once per day, so around 24 hours. Give it time, it will update.

VAG
05-14-2011, 10:03 AM
I am waiting more than 24 hours now. Any way I can check if this went okay ?
The gamercard is showing up in the profile.

VAG
05-16-2011, 06:59 AM
Installed this last friday. Still nothing on the leaderboard. This thing isn't working.
Using vB 4.1.3.

otttto
05-18-2011, 09:21 PM
Yes same me , i hope for Update .
vBulletin 4.1.3

Gamelobby
05-19-2011, 02:11 AM
It works fine on my 4.1.3..
Actually the leaderboard does, but the stats never update. I still only show 10 users on a game that we do a league for that has 30 people in it. lol

I just uninstall & reinstall every so often to get a fresh listing. (or just update, if there is one)


Also there is still a "Reputation" column on mine, is that right.?
Probably because i never delete from server. (just re-upload xml)

Anything i can put in the code to replace this, so it doesn't mis-align the top menu.?
<th>{vb:rawphrase reputation}</th>

VAG
05-20-2011, 05:55 AM
I did send the developer a private message. No response... Anyone care to have a look why it isn't working on 4.1.3 ?

Gamelobby
05-20-2011, 11:56 PM
It really never has worked flawlessly. :(

VAG
05-21-2011, 11:04 AM
Thanks. I uninstalled it. It's not working anyway. Not even the first time, so my leaderboard stayed empty.

Any alternatives for this ?

DaninMS
05-21-2011, 01:39 PM
Did you FTP into your server and check the date time stamp on the files to see if they matched the last time you loaded them up? Mine wasn't working either until I discovered they didn't overwrite. I went in a deleted all the gXboxLive non graphic files and reloaded. After that it started working for me and I am on 4.1.3

Gamelobby
05-21-2011, 05:23 PM
Mine wasn't working either until I discovered they didn't overwrite. I went in a deleted all the gXboxLive non graphic files and reloaded. After that it started working for me and I am on 4.1.3

Yea thats what i do, & it reloads the leaderboard great, all up to date, etc.. but the stats will always be whatever it is when you re-upload it.. they never change after that. The stats are always the same, unless you upload it again. (re-install).

Thats why i re-upload this mod every month or so to get a fresh count in the stats. :D

I dont think any of my members view the actual leaderboard.. its just nice to see how many active members are playing which games in the stats. (at the bottom of forumhome)

otttto
05-21-2011, 10:40 PM
So I have it run on, but the reputation does not appear.
What can that be?

Can someone help me?

In the MSQL Table is:

<div class="Star Full"></div>

Thanks

Vers 4.1.3

http://www.xbox360user.com/gxboxlive.php

GamerPerfection
05-22-2011, 12:14 PM
Works fine on my 4.1.3. It updates every day perfectly. However, I have not had any new members try and add a gamertag to the leaderboard so i don't know if it works still in that area.

DaninMS
05-22-2011, 12:31 PM
So I have it run on, but the reputation does not appear.
What can that be?

The reputation doesn't work on mine either.

Works fine on my 4.1.3. It updates every day perfectly. However, I have not had any new members try and add a gamertag to the leaderboard so i don't know if it works still in that area.

I changed my gamertag yesterday, the cron ran at midnight and it updated my gamertag when I looked this morning. If you want PM me your board and I'll sign up just to see if it works.

kardac.stenfot
05-23-2011, 08:52 AM
Do disable the original xbox menu/tab, just go to "Plugins & Products > Plugin Manager > gXBL: vB4 Tab Item" and inactivate the plugin.

VAG
06-05-2011, 04:36 PM
Still wanting this on my forum. So I tried it again...
When running the task manually I get:

Unable to fetch URL: http://gamercard.xbox.com/en-US/xxxxx.card - xxxx - Possibly not a real gamertag entered.

The Gamertag is real and exists. When I open the url, the gamercard is displayed.

SN1PERCITY
06-05-2011, 09:09 PM
i know this is xbox but is there a way to do it for playstation 3 as well

Ross L
06-09-2011, 07:21 PM
i know this is xbox but is there a way to do it for playstation 3 as well

Unfortunately it is not possible, as Sony does not have an API available to obtain the data from.

insidegames
06-15-2011, 08:33 PM
On my site it doesn't show like correct
http://forum.insidegames.ch/gxboxlive.php

Last Games are by Reps. Whats the problem?

ProFifaLeagues
06-15-2011, 09:04 PM
On my site it doesn't show like correct
http://forum.insidegames.ch/gxboxlive.php

Last Games are by Reps. Whats the problem?


Only the 58th one on the list there is not showing up for me...

insidegames
06-17-2011, 06:14 PM
Only the 58th one on the list there is not showing up for me...

I don't know.. but many user are not in the list. perhaps my own account or a friend. whats the problem? i cant find :(

VAG
06-20-2011, 09:56 AM
After moving to another it works !

BUT.... all posts are empty in the forum when the mod is active. You can see the threadlist, but when you open a thread, the page is completely white. Disabling the plugin will return everything to a normal state.

any thoughts on this ?

MonkYZ
06-24-2011, 03:40 PM
Well, i'm starting to get tons of Database errors:
Invalid SQL:
INSERT INTO gxboxlive SET

userid = '9834',
gold = '0',
gamertag = 'I don't have an Xbox Console.',
avatar = 'http://image.xboxlive.com//global/t.FFFE07D1/tile/0/20000',
score = '--',
reputation = '<div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div>',
zone = '',
lastplayed = '',
updated = '1308933422'
,
strikes = '0',
error = '1',
firstseen = '1308933422';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',
avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5
Error Number : 1064
Did they change anything again?

BaziCenter
06-24-2011, 07:10 PM
Well, i'm starting to get tons of Database errors:
Invalid SQL:
INSERT INTO gxboxlive SET

userid = '9834',
gold = '0',
gamertag = 'I don't have an Xbox Console.',
avatar = 'http://image.xboxlive.com//global/t.FFFE07D1/tile/0/20000',
score = '--',
reputation = '<div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div>',
zone = '',
lastplayed = '',
updated = '1308933422'
,
strikes = '0',
error = '1',
firstseen = '1308933422';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',
avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5
Error Number : 1064Did they change anything again?
It's beacuse the user has used ' in his/her gamertag. The gamertag is: I don't have an Xbox Console.
Use regex in first post to don't let users type an invalid string in your gamertag field.
Regular Expression: ^([A-Za-z0-9 ]+)?$ (regex not required)

MonkYZ
06-24-2011, 09:38 PM
It's beacuse the user has used ' in his/her gamertag. The gamertag is: I don't have an Xbox Console.
Use regex in first post to don't let users type an invalid string in your gamertag field.
It's definatelly not that, as i already have ^([A-Za-z0-9 ]+)?$ setup in the Profile Field. Plus, it worked perfect untill yesterday, when i received like over 1000 Database Errors... so it must be something global, not just one user or two...

BaziCenter
06-25-2011, 06:09 AM
It's definatelly not that, as i already have ^([A-Za-z0-9 ]+)?$ setup in the Profile Field. Plus, it worked perfect untill yesterday, when i received like over 1000 Database Errors... so it must be something global, not just one user or two...
Using quotation mark caused the above DB error. But if you have different db errors you should check their error messages or at least copy them here in order to people help you.

This mod runs schedule task every minute in default install so if you have only one user problem then you get 60 db errors in 1 hour!!

P.S: You already have this: ^([A-Za-z0-9 ]+)?$ and the user can insert "I don't have an Xbox Console." in the field? Are you sure you're using this regex in this field? Something wrong here.

MonkYZ
06-25-2011, 07:59 AM
Using quotation mark caused the above DB error. But if you have different db errors you should check their error messages or at least copy them here in order to people help you.

This mod runs schedule task every minute in default install so if you have only one user problem then you get 60 db errors in 1 hour!!

P.S: You already have this: ^([A-Za-z0-9 ]+)?$ and the user can insert "I don't have an Xbox Console." in the field? Are you sure you're using this regex in this field? Something wrong here.
Yes, i double checked the user profile filed manager, and it definatelly has that expression. Actually, i'll post you a screenshot if you don't believe me. And yes, i've noticed the tons of database errors i've received lately are related to "MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5" and caused by cron.php.

I really don't know what else to do...

BaziCenter
06-25-2011, 08:12 AM
Yes, i double checked the user profile filed manager, and it definatelly has that expression. Actually, i'll post you a screenshot if you don't believe me. And yes, i've noticed the tons of database errors i've received lately are related to "MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't have an Xbox Console.',avatar = 'http://image.xboxlive.com//global/t.FFFE' at line 5" and caused by cron.php.

I really don't know what else to do...
As I said before removing the corrupt gamertag will fix the db error. Go to your adminCP -> Users -> Search for Users and in Xbox Live Gamertag field paste this: I don't have an Xbox Console.
In this way you find a user then manually remove his/her gamertag.

hype901
06-25-2011, 05:48 PM
Great mod. Starting giving me a few issues when I upgraded vB to 4.1.2, but I am going to apply the latest version of this mod and see if that clears up the issues. On vB 4.1.4 now.

MonkYZ
06-25-2011, 06:46 PM
As I said before removing the corrupt gamertag will fix the db error. Go to your adminCP -> Users -> Search for Users and in Xbox Live Gamertag field paste this: I don't have an Xbox Console.
In this way you find a user then manually remove his/her gamertag.
Thanks for the tip! It found only one user with "I don't have an Xbox Console" in Xbox Live Gamertag... Let's hope this fixed the problem. Have a nice day!

insidegames
07-02-2011, 02:30 PM
We had a problem with our Xbox Live Plugin.
http://forum.insidegames.ch/gxboxlive.php

the plugin doens't update new gamerscore from old members. when gxboxlive add a new member to the list, then is the gamerscore info correct, but when e member is longer on the list it doesn't show up the actually gamerscore, because it's the old from entry in the list

River J
07-02-2011, 05:34 PM
installed no issues for me at all nice modification

BaziCenter
07-02-2011, 07:29 PM
Recently Microsoft has changed reputation stars image link, hence user stars don't show up anymore. To fix this issue open the "gxbl_headinclude" template:
Find: (5 times)

http://gamercard.xbox.com/Content/images/gamerCard_Icons.png

Replace with:

http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png

MiNeM
07-17-2011, 11:35 AM
Keep getting these errors when running the task manually..


Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FRe iku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fgel%2FReiku%2BSan.png%5B%2Fim.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FRe iku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fgel%2FReiku%2BSan.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbi gbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fbigbadbulla.png%5B%2Fim.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbi gbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fbigbadbulla.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3B Mampara%26quot%3B.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3B Mampara%26quot%3B.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/getting%20my%20xbox%20soon%20%3AP.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/getting%20my%20xbox%20soon%20%3AP.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/PSN%20ID%3A%20Herman_hXc_kid.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/PSN%20ID%3A%20Herman_hXc_kid.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card" in [path]/includes/functions_gxboxlive.php on line 407

Any ideas?

Also not getting any of the scores to update :(

Domy
07-22-2011, 01:26 PM
{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?

CoZmicShReddeR
07-23-2011, 11:38 AM
Yeah I think this mod could use a little update...

GamerPerfection
07-28-2011, 07:57 PM
Leaderboard stopped updating again as of 26th July.

NVM works now.

Domy
07-31-2011, 09:18 AM
{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?

zapiy
08-03-2011, 03:12 PM
Yes this has stopped updating for me, any help please?

GamerPerfection
08-07-2011, 07:54 AM
It's updating ok for me, but when someone adds their gamertag to their profile it is no longer adding them to the leaderboard.

Domy
08-08-2011, 07:50 AM
{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?
UP!

otttto
08-14-2011, 11:45 AM
How can I add users manually?
Someone would have a sql query ?

Thanks

ozione
08-19-2011, 07:59 AM
Keep getting these errors when running the task manually..


Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FRe iku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fgel%2FReiku%2BSan.png%5B%2Fim.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2FRe iku%2BSan%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fgel%2FReiku%2BSan.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbi gbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fbigbadbulla.png%5B%2Fim.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/%5Burl%3Dhttp%3A%2F%2Fprofile.mygamercard.net%2Fbi gbadbulla%5D%5Bimg%5Dhttp%3A%2F%2Fcard.mygamercard .net%2Fbigbadbulla.png%5B%2Fim.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3B Mampara%26quot%3B.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/When%20I%20get%20one%20it%20will%20be%20%26quot%3B Mampara%26quot%3B.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/getting%20my%20xbox%20soon%20%3AP.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/getting%20my%20xbox%20soon%20%3AP.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/PSN%20ID%3A%20Herman_hXc_kid.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

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/PSN%20ID%3A%20Herman_hXc_kid.card" in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile(http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card) [domdocument.loadhtmlfile]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in [path]/includes/functions_gxboxlive.php on line 407

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: I/O warning : failed to load external entity "http://gamercard.xbox.com/en-US/profile.mygamercard.net%2FStolsie.card" in [path]/includes/functions_gxboxlive.php on line 407

Any ideas?

Also not getting any of the scores to update :(

i'm also getting those errros if trying to update manually.
besides i'm also receiving these sql errors:

Database error in vBulletin 4.1.4:

Invalid SQL:
UPDATE vb4_gxboxlive SET

userid = '3945',
gold = '1',
gamertag = 'Leonh85',
avatar = 'http://image.xboxlive.com/global/t.fffe07d1/tile/0/21019',
score = '4145',
reputation = '<div class="Star Full"></div><div class="Star Full"></div><div class="Star Full"></div><div class="Star Empty"></div><div class="Star Empty"></div>',
zone = '',
lastplayed = 'a:5:{i:0;a:4:{s:5:\"title\";s:17:\"Call of Duty: WaW\";s:4:\"link\";s:85:\"http://live.xbox.com/en-US/GameCenter/Achievements?title=1096157212&compareTo=Leonh85\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/HI/L4/1Gdsb2JhbA9ECgQJGgYfVl4gL2ljb24vMC84MDAwIAAAAAAAAP vXggM=.jpg\";s:10:\"lastplayed\";a:1:{s:11:\"@attributes\";a:1:{s:5:\"class\";s:10:\"LastPlayed\";}}}i:1;a:4:{s:5:\"title\";s:21:\"Batman: Arkham Asylum\";s:4:\"link\";s:85:\"http://live.xbox.com/en-US/GameCenter/Achievements?title=1396901878&compareTo=Leonh85\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/8i/Uu/0Wdsb2JhbA9ECgULGwMfWSlVL2ljb24vMC84MDAwIAAAAAAAAP 4BJe0=.jpg\";s:10:\"lastplayed\";a:1:{s:11:\"@attributes\";a:1:{s:5:\"class\";s:10:\"LastPlayed\";}}}i:2;a:4:{s:5:\"title\";s:15:\"Legend of Spyro\";s:4:\"link\";s:85:\"http://live.xbox.com/en-US/GameCenter/Achievements?title=1448413177&compareTo=Leonh85\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/dk/+6/1Gdsb2JhbA9ECgUOGgUfWSlaL2ljb24vMC84MDAwIAAAAAAAAP uVT2k=.jpg\";s:10:\"lastplayed\";a:1:{s:11:\"@attributes\";a:1:{s:5:\"class\";s:10:\"LastPlayed\";}}}i:3;a:4:{s:5:\"title\";s:18:\"SEGA MEGA DRIVE UC\";s:4:\"link\";s:85:\"http://live.xbox.com/en-US/GameCenter/Achievements?title=1397032997&compareTo=Leonh85\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/6y/Bp/0Gdsb2JhbA9ECgULGwUfVl1WL2ljb24vMC84MDAwIAAAAAAAAP 9GIPQ=.jpg\";s:10:\"lastplayed\";a:1:{s:11:\"@attributes\";a:1:{s:5:\"class\";s:10:\"LastPlayed\";}}}i:4;a:4:{s:5:\"title\";s:14:\"NINJA GAIDEN 2\";s:4:\"link\";s:85:\"http://live.xbox.com/en-US/GameCenter/Achievements?title=1413679061&compareTo=Leonh85\";s:5:\"image\";s:94:\"http://tiles.xbox.com/tiles/2h/Lw/1mdsb2JhbA9ECgUMGwMfWStWL2ljb24vMC84MDAwIAAAAAAAAP nfEsU=.jpg\";s:10:\"lastplayed\";a:1:{s:11:\"@attributes\";a:1:{s:5:\"class\";s:10:\"LastPlayed\";}}}}',
updated = '1313482751'
,
strikes = '0',
error = '0'
WHERE userid = '3945';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Tuesday, August 16th 2011 @ 10:19:11 AM
Error Date : Tuesday, August 16th 2011 @ 10:19:55 AM
Script : http://www.konzole-slovenija.com/vb4/cron.php?rand=1311857601
Referrer :
IP Address : 85.10.36.100
Username : Neregistriran
Classname : vB_Database
MySQL Version :

and this one:
Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT error FROM `vb4_gxboxlive` AS gxboxlive WHERE error = '1' ORDER BY error DESC;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, August 19th 2011 @ 05:21:28 AM
Error Date : Friday, August 19th 2011 @ 05:22:11 AM
Script : http://www.konzole-slovenija.com/vb4/cron.php?rand=1311791104
Referrer :
IP Address : 85.10.36.100
Username : Neregistriran
Classname : vB_Database
MySQL Version :

halp!
please...
:erm:

ozione
08-21-2011, 06:38 AM
huh, no clues, eh?

Domy
08-24-2011, 03:16 PM
{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?

HellBoy
08-28-2011, 10:24 AM
This mod seems to be pretty damn broken at this point:
Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407
Results in leaderboard not updating at all, and removing some gamertags. Anyone founda fix?

CoZmicShReddeR
08-28-2011, 12:38 PM
This mod seems to be pretty damn broken at this point:
Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407
Results in leaderboard not updating at all, and removing some gamertags. Anyone founda fix?

What version of Vbulletin are you using? I am using Vbulletin VB 4.15 and do not have that issue... Make sure you have all the correct files and make sure you are not running the older version as I uploaded it once by mistake and had a lot of conflicting issues...

But that also looks like a host error... I could be wrong.

Ross L
08-30-2011, 07:15 PM
{vb:raw game.link}
How can I change this variable so that the link opens them on the Italian site (it-IT instead of en-US in the link)?

Just go through the product .xml and change all references to en-US to it-IT.

Still working fine here :D

Domy
08-31-2011, 07:56 PM
I have changed all references, but where is the reference of "{vb:raw game.link}"?
I don't find this!

Empire Gaming
10-13-2011, 03:50 PM
So, is this mod still broken? I just installed it fine, but after adding my gamertag, it has yet to show up on the boards.

RichieBoy67
10-14-2011, 01:46 PM
Looks nice..I would love a PlayStation version..

Hippy
11-05-2011, 01:20 PM
forum home block ..
when you click on the games (top games) the url is not correct

is there a fix ..
i searched and could not find anything ..

any help would be greatly appreciated

links like this
http://live.xbox.comhttp//live.xbox.com/en-US/GameCenter/Achievements?title=1480657283&compareTo=rmv076

should be
http://live.xbox.com/en-US/GameCenter/Achievements?title=1480657283&compareTo=rmv076

Hippy
11-05-2011, 04:11 PM
figured it out thanks

Hippy
11-12-2011, 02:02 PM
HI guys I see how to remove the navbar link but I want to add a subnavbar link..
any help with this would be greatly appreciated

Hippy
11-12-2011, 09:49 PM
onmouseover="gXBL_show('gamercard','$post[url_gxblgamertag]');" onmouseout="return gXBL_hide();

does not work on the user name on the forum stats
and the link in posts bit
should display user game card..

any idea of a fix..

thanks

Hippy
11-13-2011, 02:14 AM
thanks for this post
helped out .

I still have issues with forum home and post bit posted above I need to work out why the cards dont show on mouse over .. forum hom on the name .. and the postbit link same issue with mosue over and no card showing..
both show a error after mouse over..

any more help would be greatly appreciated
been fixing all kinds of stuff on mod would be nice for a update..

thanks


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:

<th {vb:rawphrase reputation}</th>

So i changed it to:

<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.


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.
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.

Spectre_Aidan
11-14-2011, 11:35 PM
Cheers, marked as installed

Hippy
11-18-2011, 10:48 AM
95% of my posts are helping people .. and I don't know 1/2 of what most people know here ..
I am just looking for a little help to get this mod working correctly..

I have fixed a couple things .. but would be great to have the whole mod working ...

thanks
Hippy

Gemma
11-18-2011, 12:43 PM
95% of my posts are helping people .. and I don't know 1/2 of what most people know here ..
I am just looking for a little help to get this mod working correctly..

I have fixed a couple things .. but would be great to have the whole mod working ...

thanks
Hippy

thanks for this post
helped out .

I still have issues with forum home and post bit posted above I need to work out why the cards dont show on mouse over .. forum hom on the name .. and the postbit link same issue with mosue over and no card showing..
both show a error after mouse over..

any more help would be greatly appreciated
been fixing all kinds of stuff on mod would be nice for a update..

thanks

Not sure about the postbit part because I don't use that but to get the gamercard showing up on forumhome copy the contents of gxbl_headinclude into your headinclude template :)

Hippy
11-23-2011, 11:33 PM
thanks Gemma .. thanks for the temp fix..

would you know why Total Reputation is not working .. I guess it should total up all the Reputation but it just reads 0 all the time..

thanks again for your reply

oh and how to get zone to work ?

DeaBB
11-29-2011, 05:34 PM
Is this going to be updated? Like others said, its not updating the leader board and hasn't for months. I may have to uninstall it.

Hippy
11-29-2011, 08:41 PM
Is this going to be updated? Like others said, its not updating the leader board and hasn't for months. I may have to uninstall it.



most works or I got working
to fix your issue
go into your admincp and under
Scheduled Tasks
Scheduled Task Manager
XboxLive Info Update
make sure it's updating .. I have mine set to every hour .. but try 1 min to get things up to date
also run it manually there

DeaBB
11-29-2011, 11:04 PM
most works or I got working
to fix your issue
go into your admincp and under
Scheduled Tasks
Scheduled Task Manager
XboxLive Info Update
make sure it's updating .. I have mine set to every hour .. but try 1 min to get things up to date
also run it manually there

Tried that, didn't work.

It won't add new users and it won't adjust the leaderboard but if someone on the leaderboard deletes their gamertag info then they'll disappear from the leaderboard, but it won't put anyone else on in thier place.

EDITED: I uninstalled it and then reinstalled it. It "appears" to be working as it now has the new people listed but I won't know if its actually ranking them until someones points change.

Hippy
11-30-2011, 12:37 AM
.. yeah its buggie .. and all doesn't work.. but I am slowly getting things fixed ..
Not Supported
Is in Beta Stage

I guess you can't expect much..
but there are people I have seen fixed alot of stuff but not many come here to help out..

keep us posted on how things go.

Travis641
12-01-2011, 03:09 AM
I got a PM to share my fixes for this mod from Hippy. All my fixes are in the thread somewhere - not sure if there is some other fix you are talking about if not one of those.

Reputation, as far as I know, does not work anymore with this mod after Microsoft changed this information on the xbox live cards. Perhaps it still works, but I just have it removed from my templates.

As far as updating problem goes, I have not noticed any problems with the script updating the database. Although, I suppose it is a little slow at times, but that might because I have 2500+ people on my gxboxlive list, and it only seems to do a handful at a time when it does the updates.

If your images are not showing when you hover over links, you might have some other javascript that is conflicting with this causing it not to work. Quickest way to test is to make a new style, which should be the default vbulletin style and see if the problem is still there.

Gryphon
12-01-2011, 03:16 AM
To fix the rep edit gxbl_headinclude and change the background url to http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png

Edit: Oops that is for vB3, confused myself. I still don't have vB4, so I can't really do anything to test or work on this version.

Hippy
12-01-2011, 11:10 AM
To fix the rep edit gxbl_headinclude and change the background url to http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png

Edit: Oops that is for vB3, confused myself. I still don't have vB4, so I can't really do anything to test or work on this version.
will test it .. and let you know
thanks for the post / help with this mod

Hippy
12-01-2011, 07:39 PM
yes this works
was posted here as well
https://vborg.vbsupport.ru/showpost.php?p=2215990&postcount=298
need to figure out how to fix Total Reputation: it always reads 0 ..

Travis641
12-02-2011, 12:35 AM
If I am not mistaken the old gamercards from Microsoft had values to go along with the reputation stars in the source code. Now they just have the images.

I may be wrong on this, as it has been a while.

kirupa
12-07-2011, 04:38 AM
Are there any known issues about it not updating the scores for existing users? When I uninstal and reinstall the mod, everything works correctly that one time. Subsequent changes to the gamerscores are not reflected.

Sdahe
12-07-2011, 07:24 AM
forum home block ..
when you click on the games (top games) the url is not correct

is there a fix ..
i searched and could not find anything ..

any help would be greatly appreciated

links like this
http://live.xbox.comhttp//live.xbox.com/en-US/GameCenter/Achievements?title=1480657283&compareTo=rmv076

should be
http://live.xbox.com/en-US/GameCenter/Achievements?title=1480657283&compareTo=rmv076

I'm having this problem too... any fix for this?

Travis641
12-10-2011, 11:06 PM
I'm having this problem too... any fix for this?

Replace your gbxl_top_games template with:

<a href="http://live.xbox.com{vb:raw game.link}" target="_blank"><img border="0" width="32" height="32" src="{vb:raw game.image}" alt="{vb:raw game.title}: {vb:rawphrase gxbl_by_x_players, {vb:raw game.count}}" /></a>

Hippy
12-11-2011, 03:29 AM
travis641 thats default

it needs to be changed to this

<a href="{vb:raw game.link}" target="_blank"><img border="0" width="32" height="32" src="{vb:raw game.image}" alt="{vb:raw game.title}: {vb:rawphrase gxbl_by_x_players, {vb:raw game.count}}" /></a>

enjoy

Lampoon
01-23-2012, 11:41 PM
Is this dead? Since we upgraded the forum its displaying less than half the members we had before....

ver 4.1.8

:(

Hippy
01-24-2012, 12:13 AM
not that I know of ..

Cledus James
01-26-2012, 06:52 PM
I'm having a issue with how the Reputation tab is being displayed on my gxboxlive.php page. Go here to see what I'm talking about:

http://www.suicide-kings.net/forums/gxboxlive.php

Anyone know how I cant ix this? Thanks for any input.

Hippy
01-26-2012, 07:10 PM
gxbl_headinclude template
replace it with this
<script type="text/javascript" src="clientscript/overlib/overlib.js"></script>

<script type="text/javascript">
function gXBL_setcursor(type) {
document.getElementsByTagName('body')[0].style.cursor = typeof type == 'undefined' ? 'default' : type;
links = document.getElementsByTagName('a');
for(i = 0; i < links.length; i++) links.item(i).style.cursor = typeof type == 'undefined' ? 'pointer' : type;
}

function gXBL_show( type, gamertag) {

if(type == 'gamercard')
{
gXBL_setcursor('progress');

var html = '<iframe onload="gXBL_setcursor();" src="http://gamercard.xbox.com/'+gamertag+'.card" scrolling="no" frameBorder="0" height="135" width="200">'+gamertag+'</iframe>';

return overlib(html, BORDER, 0, FULLHTML, WIDTH, 204, HEIGHT, 140, VAUTO, HAUTO);
}

if(type == 'nxeavatar')
{
gXBL_setcursor('progress');

var html = '<iframe onload="gXBL_setcursor();" src="http://avatar.xboxlive.com/avatar/'+gamertag+'/avatar-body.png" scrolling="no" frameBorder="0" height="300" width="150">'+gamertag+'</iframe>';

return overlib(html, BORDER, 0, FULLHTML, WIDTH, 150, HEIGHT, 300, VAUTO, HAUTO);
}

}

function gXBL_hide() {
return nd();
}
</script>
<style type="text/css">
.gxblhighlight td {
border:1px solid yellow;
}

div.xblrep .Stats
{
float:left;
}


div.xblrep .Stats .Stat
{
float:left;
text-align:left;
}

div.xblrep .Stats .Star
{
float:left;
width:12px;
height:12px;
}

div.xblrep .Stats .Empty
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -10px no-repeat;
}

div.xblrep .Stats .Quarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -30px no-repeat;
}

div.xblrep .Stats .Half
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -50px no-repeat;
}

div.xblrep .Stats .ThreeQuarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -70px no-repeat;
}

div.xblrep .Stats .Full
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -90px no-repeat;
}
</style>

and you GXBL
template with

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" <vb:if condition="!is_browser('ie') OR is_browser('ie',8)"> dir="{vb:stylevar textdirection}"</vb:if> lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
{vb:raw gxbl_headinclude}
<title>{vb:raw vboptions.bbtitle} - {vb:raw pagetitle}</title>
<vb:if condition="$includecss">
<vb:each from="includecss" value="file">
<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}{vb:raw file}.css" />
</vb:each>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>
{vb:raw header}
{vb:raw navbar}

<vb:if condition="$show['pagenav']">
<div id="pagination_top" style="float:{vb:stylevar right};">
{vb:raw pagenav}
</div>
</vb:if>

<div class="block">
<div class="blockhead">
{vb:rawphrase gxboxlive_title}
<a class="textcontrol" href="profile.php?do=editprofile#cfield_{vb:raw vboptions.gxbl_user_field}" rel="nofollow" style="margin-top:-3px;">{vb:rawphrase gxbl_addtag}</a>
</div>

<div class="blockbody formcontrols">
<table width="100%">
<tr class="columnsort">
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=s&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_rank}<vb:if condition="$sortfield == 's'"> <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>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=n&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_username}<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>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=gt&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_gamertag}<vb:if condition="$sortfield == 'gt'"> <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>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=gt&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_zone}<vb:if condition="$sortfield == 'gt'"> <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>
<th><a href="gxboxlive.php?page={vb:raw pagenumber}&sortfield=s&sortorder={vb:raw oppositesort}" class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_score}<vb:if condition="$sortfield == 's'"> <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>
<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> <th class="blocksubhead" style="text-align:left;">{vb:rawphrase gxbl_lastgames}</th>
</tr>
{vb:raw gxbl_bit}
</table>
</div>
</div>

<vb:if condition="$show['pagenav']">
<div id="pagination_bottom" style="float:{vb:stylevar right};">
{vb:raw pagenav}
</div>
</vb:if>

<vb:if condition="$gxbl_stats">
<br />

{vb:raw gxbl_stats}
</vb:if>

{vb:raw footer}

</body>
</html>

Cledus James
01-26-2012, 08:05 PM
Thank you for your help Hippy. It worked.

Hippy
01-26-2012, 11:12 PM
welcome

twigman1200
01-27-2012, 12:15 AM
Cledus, how did you get yours to look so nice?

My alignment seems off for everything.
http://www.halo4news.net/forum/gxboxlive.php

And how do you get it to say Xbox Live instead of gXboxLive?

Hippy
01-27-2012, 12:26 AM
admincp > language and phrase >
Search in Phrases >check > Phrase Text and Phrase Variable Name

search phrase for gXboxLive
choose "gxboxlive_vbnav" then click edit
and edit it to what ever you like
in your case you may want to change them all

Cyborg_delta1
01-27-2012, 09:50 AM
travis641 thats default

it needs to be changed to this

<a href="{vb:raw game.link}" target="_blank"><img border="0" width="32" height="32" src="{vb:raw game.image}" alt="{vb:raw game.title}: {vb:rawphrase gxbl_by_x_players, {vb:raw game.count}}" /></a>

enjoy

The code posted by Hippy is to fix gbxl_top_games template but you need to put

<a href="{vb:raw game.link}" target="_blank"><img class="inlineimg" border="0" width="20" height="20" src="{vb:raw game.image}" alt="{vb:raw game.title}" /></a>

into gxbl_bit_game if you use the _top_games code the icons come out to big. This code keeps the Icons there original size

Thanks to Hippy for all the help with out you dude I would of just uninstalled this and forgot about it :D

Gryphon thanks for the mod but please implement the fix's other wise you will get a VB noob trying to get this to work and fail :(

Hippy
01-27-2012, 11:03 AM
thanks for pointing this out Cyborg_delta1 Cyborg_delta1

yes I forgot about that template

see I edited the xml file so my template are not red (showing edits) since I add the fixes right to the xml file and re-install so it's hard to remember what I edited

GamerPerfection
01-28-2012, 10:55 AM
Cledus, how did you get yours to look so nice?

My alignment seems off for everything.
http://www.halo4news.net/forum/gxboxlive.php

And how do you get it to say Xbox Live instead of gXboxLive?
I don't think Cledus did anything to his alignment in the columns, as the main difference between your site and Cledus's site is that Cledus has a fixed width site whereas yours is fluid. This means yours stretches across the page so the columns will spread but on Cledus's it is more squashed up and therefore the alignment looks as if it's more lined up when in reality it's not.

I noticed on some others that some last played games icons disappear, like mine for example: http://www.gamerperfection.com/gxboxlive.php they come and go randomly. Why is this? Does the Mod need a fix to stop this?

Hippy
01-28-2012, 11:35 AM
thats all linked to xbox .. so I guess if they are not played in a certain amount of days they come off there list

Gemma
01-28-2012, 02:02 PM
I can't for the life of me get the reputation stars to centre align, can someone please put me out of my misery :(

http://www.forumbanter.com/gxboxlive.php

Hippy
01-28-2012, 02:40 PM
https://vborg.vbsupport.ru/showpost.php?p=2292789&postcount=342
https://vborg.vbsupport.ru/showpost.php?p=2292995&postcount=347
these 2 posts will fix your issue Gemma

Gemma
01-28-2012, 03:59 PM
https://vborg.vbsupport.ru/showpost.php?p=2292789&postcount=342
https://vborg.vbsupport.ru/showpost.php?p=2292995&postcount=347
these 2 posts will fix your issue Gemma

Thanks, I took a different route :)

Potleg
02-05-2012, 12:12 PM
im using vb 4.1.0 i installed gxbox live and also have it working using the hacks that was listed in the comments, its not showing the stats so it maybe soemthing to do with profile field which gamertag is field5 or because thiers a space in my gt heres what im getting atm: http://www.potleg.co.uk/forum/gxboxlive.php

any help cheers

CoZmicShReddeR
02-05-2012, 12:25 PM
im using vb 4.1.0 i installed gxbox live and also have it working using the hacks that was listed in the comments, its not showing the stats so it maybe soemthing to do with profile field which gamertag is field5 or because thiers a space in my gt heres what im getting atm: http://www.potleg.co.uk/forum/gxboxlive.php

any help cheers

field5 was an example just make sure your not using that field for anything else...


Also check make sure the gXboxLive Info Update is checked!

Scheduled Tasks -
Scheduled Task Manager -

gXboxLive Info Update
This task automatically updates the gXboxLive Leaderboard.

You can even force it to check but make sure your xbox user name is correctly spelled...

Check your Xbox account online make sure you allow your stats to be shown.. A recent update for some had blocked some information from being shown...

Also too if your Xbox user name is set to child not adult that could be why... If that is it your going to have to submit something to Microsoft to get the parental stuff removed otherwise your stats will not show publicly...

betts02
02-06-2012, 11:21 AM
Can someone PLEASE make this in to a fully working mod with all edits,etc ?

Or at least can the original coder let someone re-post this mod with the edits and continue to support it ?

Great mod cheers

tandalier
02-07-2012, 07:49 PM
i still have the problem, that I got this error =>

Unable to fetch URL: http://gamercard.xbox.com/en-US/Zommer.card - YG | Andy - Possibly not a real gamertag entered.

you can find the ranklist here => http://www.yougame.at/forum/gxboxlive.php
vb 4.1.10

any ideas how to fix it?

Hippy
02-07-2012, 08:20 PM
I have a working version.. autjor never got back to me that I can post it ..
email me
info in my profile

Hippy
02-07-2012, 10:13 PM
Can someone PLEASE make this in to a fully working mod with all edits,etc ?

Or at least can the original coder let someone re-post this mod with the edits and continue to support it ?

Great mod cheers

here is the xml with all the fixes posted here applied..

just revert all template if you made changes ..
be sure to save them anyway.. just incase

then re import the xml file and allow over write ...


no edites to any files ..

the only bug is on mouse over if you use the forumhome box and post bit.. youll need to do this posted by Gemma

https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324

anything else I missed . search this thread for my posts

added this fix as well.
In case others still don't have the link to send a PM to someone working do the following:


Find your gxbl_bit template

Find and replace:

en-US/MessageCenter/Compose?gamertag=

With:

en-US/Messages?gamertag=

updated verion attached here
enjoy

ProFifaLeagues
02-07-2012, 11:58 PM
here is the xml with all the fixes posted here applied..

just revert all template if you made changes ..
be sure to save them anyway.. just incase

then re import the xml file and allow over write ...


no edites to any files ..

the only bug is on mouse over if you use the forumhome box and post bit.. youll need to do this posted by Gemma

https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324

anything else I missed . search this thread for my posts

enjoy



Cheers Hippy for the help and Files...Worked superb For us and saves so much hassle with the fixes.Superb work thanks mate!:up:

Potleg
02-08-2012, 10:08 AM
thanks cosmic

when i run it through scheduled tasks it coems up with this:

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407

so i may need to go in my gamertag profile so that external software cna access the stats

cheers for that hippy great stuff

is thier any more xbox live related mods that would work well onthe vb 4 forum?

ProFifaLeagues
02-08-2012, 01:20 PM
Is there any way to Show the Forum home block as part of the Sidebar/Forum blocks???

Hippy
02-08-2012, 08:29 PM
thanks cosmic

when i run it through scheduled tasks it coems up with this:

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407

so i may need to go in my gamertag profile so that external software cna access the stats

cheers for that hippy great stuff

is thier any more xbox live related mods that would work well onthe vb 4 forum?

this was before and after ?

might be a server issue ..

all stock files in the first post should work the xml I posted should be the same but with working updated added ...
I never had that error running a scheduled tasks updated fine doing i manually or what ever you have it set to do it auto..

tandalier
02-09-2012, 12:02 AM
still doesn't work - "Unable to fetch URL"

:-/

Hippy
02-09-2012, 02:53 AM
did you do this ?
https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324
I posted this there as well...

tandalier
02-12-2012, 12:30 AM
did you do this ?
https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324
I posted this there as well...

why should this have any affect on the parsing?

Hippy
02-12-2012, 12:56 AM
it's the mouse over right..

try it ...
has to do with alot
if thats hot what your talking about please elaborate

DanHamilton
02-12-2012, 05:52 PM
Any screenshots available?

Hippy
02-12-2012, 06:31 PM
Any screenshots available?

here are the screen shots

DanHamilton
02-12-2012, 10:43 PM
here are the screen shots

Thanks a bunch.

Lampoon
02-15-2012, 12:35 PM
It will not recognize certain ranks of members. Like Im an Admin and it wont add me to the list....Cant figure it out. :(

tandalier
02-17-2012, 01:44 AM
it's the mouse over right..

try it ...
has to do with alot
if thats hot what your talking about please elaborate

I don't have problem with mouse over, because I'm not using it.
I'm only using the whole ranking-site.

My problem is, that the script is unable to get any data feed. There are users in the database and when I try to read the users info, I only get the following error in the admin-tool
"Unable to fetch URL"

It's impossible to get any data. Just see here => http://yougame.at/forum/gxboxlive.php
There is nothing to see...

Hippy
02-17-2012, 01:51 AM
did you over write your xml file with this one ?

https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359

tandalier
02-17-2012, 12:31 PM
yes

tandalier
02-17-2012, 12:42 PM
i think there must be an error in the miner.gxboxlive or so...

Gemma
02-17-2012, 01:14 PM
i still have the problem, that I got this error =>



you can find the ranklist here => http://www.yougame.at/forum/gxboxlive.php
vb 4.1.10

any ideas how to fix it?

I don't have problem with mouse over, because I'm not using it.
I'm only using the whole ranking-site.

My problem is, that the script is unable to get any data feed. There are users in the database and when I try to read the users info, I only get the following error in the admin-tool


It's impossible to get any data. Just see here => http://yougame.at/forum/gxboxlive.php
There is nothing to see...

i think there must be an error in the miner.gxboxlive or so...

Probably not working because you are using | in your gamertag, if you try YG | Andy in a few gamertag creating sites on the internet they all throw up errors.

tandalier
02-17-2012, 02:16 PM
Probably not working because you are using | in your gamertag, if you try YG | Andy in a few gamertag creating sites on the internet they all throw up errors.

my gamertag ist zommer
yg | Andy is my forum-name

also tried it with another user =>
Unable to fetch URL: http://gamercard.xbox.com/en-US/whiteowl96.card - whiteowl96 - Possibly not a real gamertag entered.

but if you click on the link, the gamercard is shown

Gemma
02-17-2012, 02:38 PM
Sorry, I misread :o

I tried entering zommer into my gxboxlive leaderboard and it showed up with no problems. So possibly some sort of error at your end?

tandalier
02-17-2012, 08:00 PM
I know that there is an error, but I don't know where...

Hippy
02-17-2012, 09:52 PM
did you ever edit your templates ..?

if so revert them all back..

tandalier
02-18-2012, 12:10 AM
so now I tried to install a new clean forum and installed this addon.

still the same error => Unable to fetch URL: http://gamercard.xbox.com/en-US/Zommer.card - YG | Andy - Possibly not a real gamertag entered.

As it's a new, clean forum the error must be in the script or in the server-settings? Any ideas?

Hippy
02-18-2012, 12:11 AM
no, sorry it's got to be server configuration...
mod works perfect

tandalier
02-18-2012, 01:41 AM
Still wanting this on my forum. So I tried it again...
When running the task manually I get:

Unable to fetch URL: http://gamercard.xbox.com/en-US/xxxxx.card - xxxx - Possibly not a real gamertag entered.

The Gamertag is real and exists. When I open the url, the gamercard is displayed.

but as it seems I'm not the only one with this problem...

No Time
02-19-2012, 02:21 AM
It works for 4.1.10 had to reupload some files But thanks I love this mod

No Time
02-25-2012, 12:53 AM
It works good in the default styles but when I change styles! Then the fun starts how do I fix this! I am using 4.1.10 and I have added pic's! and thanks guys for your help!

Hippy
02-25-2012, 04:14 AM
you need to put the "gxboxlive" images in those styles dir's like you did the default style..

default > \images\misc\gxboxlive
other styles have there own misc folder

example

images\darkness\misc\gxboxlive

etc
or
images\styles\darkness\misc\gxboxlive

No Time
02-25-2012, 04:28 PM
Thanks for your help Hippy! That did it!

Hippy
02-25-2012, 07:11 PM
anytime
enjoy

CAG CheechDogg
02-26-2012, 05:27 AM
Hippy I have read through this whole thread trying to get this to work with the profile.

Your xml file fixes this?

CAG CheechDogg
02-26-2012, 05:34 AM
When I activate gXBL: Postbit Stats Display from the Plugin & Products System and I click on a forum post I just get a blank page. Is this fixed by your xml file HIPPY?

Hippy
02-26-2012, 12:29 PM
should be .. everything works after I updated that file.. ,ake sure you allow over write and revert all templates related to this mod

CAG CheechDogg
02-26-2012, 04:35 PM
Hippy? Reverting all the templates for this mod will reset any changes I did to my Forums look? Sorry for asking but this is the first time working with vBulletin templating and styles.

Thanks in advance.

Hippy
02-26-2012, 04:41 PM
no just this mod's template .. notthe forums..

you may not of even edited any of this mods templates .. but I always say so since people do try fixing things .. with out luck and forget to revet them,..

CAG CheechDogg
02-26-2012, 04:47 PM
@ Hippy - Ah ok makes sense my Friend. Thanks for the quick answers! I will try out the xml file and let you know what happens.

By the way everything has worked for me except for:

gXBL: Postbit Stats Display

gXBL: Show Thread Query

Other than that everything is running smooooth!

Hippy
02-26-2012, 04:52 PM
the mouse over on the postbit I pulled but I can tell you how to add it .. but you need to do this edit ..
well you need to do it anyway to us the forum stats display

https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324

CAG CheechDogg
02-26-2012, 04:56 PM
Ok, so do these edits after I upload your "FIXES" xml correct?

CAG CheechDogg
02-26-2012, 04:59 PM
Bummer! I still get the white screen when I activate the gXBL: Postbit Stats Display from the plugins....anything else I have to do to make it work right?

Hippy
02-26-2012, 05:01 PM
only if you wantthe mouse over in postbit...
and yes you need to do this
https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324 so the forum display works.. only edit.. if you don't use it then you don't need to do it

white screen ?

I need a screen shot..
did you do this https://vborg.vbsupport.ru/showpost.php?p=2269201&postcount=324

CAG CheechDogg
02-26-2012, 05:12 PM
You can just go to my site, http://www.cagclan.com/community/forum.php and see what I mean ..but here is the screen shot:

and yes I did that on that post...

Hippy
02-26-2012, 05:25 PM
you did it wrong ....
revert that template...

open up gxbl_headinclude

and copy it all


<script type="text/javascript" src="clientscript/overlib/overlib.js"></script>

<script type="text/javascript">
function gXBL_setcursor(type) {
document.getElementsByTagName('body')[0].style.cursor = typeof type == 'undefined' ? 'default' : type;
links = document.getElementsByTagName('a');
for(i = 0; i < links.length; i++) links.item(i).style.cursor = typeof type == 'undefined' ? 'pointer' : type;
}

function gXBL_show( type, gamertag) {

if(type == 'gamercard')
{
gXBL_setcursor('progress');

var html = '<iframe onload="gXBL_setcursor();" src="http://gamercard.xbox.com/'+gamertag+'.card" scrolling="no" frameBorder="0" height="135" width="200">'+gamertag+'</iframe>';

return overlib(html, BORDER, 0, FULLHTML, WIDTH, 204, HEIGHT, 140, VAUTO, HAUTO);
}

if(type == 'nxeavatar')
{
gXBL_setcursor('progress');

var html = '<iframe onload="gXBL_setcursor();" src="http://avatar.xboxlive.com/avatar/'+gamertag+'/avatar-body.png" scrolling="no" frameBorder="0" height="300" width="150">'+gamertag+'</iframe>';

return overlib(html, BORDER, 0, FULLHTML, WIDTH, 150, HEIGHT, 300, VAUTO, HAUTO);
}

}

function gXBL_hide() {
return nd();
}
</script>
<style type="text/css">
.gxblhighlight td {
border:1px solid yellow;
}

div.xblrep .Stats
{
float:left;
}


div.xblrep .Stats .Stat
{
float:left;
text-align:left;
}

div.xblrep .Stats .Star
{
float:left;
width:12px;
height:12px;
}

div.xblrep .Stats .Empty
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -10px no-repeat;
}

div.xblrep .Stats .Quarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -30px no-repeat;
}

div.xblrep .Stats .Half
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -50px no-repeat;
}

div.xblrep .Stats .ThreeQuarter
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -70px no-repeat;
}

div.xblrep .Stats .Full
{
background:url("http://gamercard.xbox.com/Content/Gamercard/default/gamerCard_Icons.png") -10px -90px no-repeat;
}
</style>



then open up headinclude

and paste it just above
<meta http-equiv="Content-Type" content="text/html; charset={vb:stylevar charset}" />

CAG CheechDogg
02-26-2012, 05:32 PM
Ok did what you just instructed and I still get the white page. Anything else I need to do in settings?

CAG CheechDogg
02-26-2012, 06:01 PM
Oh bummer! I can't figure out the postbit white page bug. Does anyone know if the Postbit Info Forum IDs setting has anything to do with this working and now showing the white page when clicking on a thread?

I have it set for forum id 1 and still the white page....blah!

Hippy
02-26-2012, 08:52 PM
the white page I never seen before so there is no fix posted ...
you can search for my posts here and I gave credit to everyone that posted a fix and I just put it all together...

CAG CheechDogg
02-26-2012, 10:16 PM
Yeah its weird Hippy, is there something special I have to do in the settings? Like activate the specific forum IDs or something?

I haven't seen anything in reference to that white screen. Oh well, I will probably come back to this at another time. Thanks for your help Hippy!

CAG CheechDogg
02-26-2012, 10:51 PM
I have been trying to "Mark as Installed" but it get the following :

CAG CheechDogg, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Hippy
02-27-2012, 12:44 AM
ok.. I will ponder it as well..

Yeah its weird Hippy, is there something special I have to do in the settings? Like activate the specific forum IDs or something?

I haven't seen anything in reference to that white screen. Oh well, I will probably come back to this at another time. Thanks for your help Hippy!

did you add your vb license into your settings here ?
I have been trying to "Mark as Installed" but it get the following :

CAG CheechDogg, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

CAG CheechDogg
02-28-2012, 07:50 AM
In case others still don't have the link to send a PM to someone working do the following:

Find your gxbl_bit template

Find and replace:

en-US/MessageCenter/Compose?gamertag=

With:

en-US/Messages?gamertag=

Hippy
02-28-2012, 10:57 PM
In case others still don't have the link to send a PM to someone working do the following:


Find your gxbl_bit template

Find and replace:

en-US/MessageCenter/Compose?gamertag=

With:

en-US/Messages?gamertag=

thanks I updated for everyone else

https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359

;):up:

CAG CheechDogg
02-29-2012, 06:10 AM
Good stuff Hippy! I am still trying to figure out why I get the blank white page when activating postbit...I read in previous posts on this thread that others were getting the same thing but no solution was ever given.

CAG CheechDogg
02-29-2012, 06:13 AM
By the way, I tried it with the default template and that didn't fix it, so the template being used is not causing the issue.

Hippy
02-29-2012, 09:10 PM
I am thinking about it ..
email me a link to come by and look at this issue..
use my email from my profile .. pm's are just about full and I am not sure if it will be again by the time you read this ..

ultimategeek
03-01-2012, 12:38 PM
great Mod but i do have a small problem:
when i click the Xbox tab i get this message:

Fatal error: Call to undefined function gxbl_has_access() in /home/ultim939/public_html/gxboxlive.php on line 64

what have i done wrong?

Thanks for any help

Hippy
03-01-2012, 08:45 PM
great Mod but i do have a small problem:
when i click the Xbox tab i get this message:

Fatal error: Call to undefined function gxbl_has_access() in /home/ultim939/public_html/gxboxlive.php on line 64

what have i done wrong?

Thanks for any help

did you use this xml file to install ?
this one has all the fixes in it
simply import and allow over write ..

https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359

ultimategeek
03-02-2012, 06:37 AM
thank you

nando99
03-02-2012, 03:43 PM
brand new vb install, 1 of the first mods installed and i cant get it to work

Fatal error: Call to undefined function gxbl_has_access() in /home/content/99/5870299/html/digitalnoob/forums/gxboxlive.php on line 64

I've searched this thread and tried the latest xml to install and even reuploaded a few times...

Any help is appreciated

CAG CheechDogg
03-02-2012, 08:15 PM
I am thinking about it ..
email me a link to come by and look at this issue..
use my email from my profile .. pm's are just about full and I am not sure if it will be again by the time you read this ..

Hippy I sent you the email, let me know if you got it.

Hippy
03-02-2012, 10:04 PM
brand new vb install, 1 of the first mods installed and i cant get it to work

Fatal error: Call to undefined function gxbl_has_access() in /home/content/99/5870299/html/digitalnoob/forums/gxboxlive.php on line 64

I've searched this thread and tried the latest xml to install and even reuploaded a few times...

Any help is appreciated

did you add the one I posted has all the fixes in it ..
all over write when you import it
if you made any template changes revert them before
Hippy I sent you the email, let me know if you got it.

got it and will take a peek.. you might as well set me up a temp accout..

Heardy
03-15-2012, 09:39 PM
My Reputation menu bar is messed up a bit and it doesn't show the stars. Any ideas how I could fix it?

This is the link to my forum.
http://www.mindlessjunk.com/gxboxlive.php

Hippy
03-15-2012, 09:41 PM
My Reputation menu bar is messed up a bit and it doesn't show the stars. Any ideas how I could fix it?

This is the link to my forum.
http://www.mindlessjunk.com/gxboxlive.php

https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359

Heardy
03-18-2012, 01:43 PM
Thanks Hippy, worked perfectly!

killerford
03-23-2012, 03:42 PM
I've installed and it's coming up with error messages at the top of my forum.

''Warning: include(./includes/functions_gxboxlive.php) [function.include]: failed to open stream: No such file or directory in [path]/forum.php(650) : eval()'d code on line 14
''

Hippy
03-23-2012, 04:59 PM
I've installed and it's coming up with error messages at the top of my forum.

''Warning: include(./includes/functions_gxboxlive.php) [function.include]: failed to open stream: No such file or directory in [path]/forum.php(650) : eval()'d code on line 14
''

https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359

killerford
03-25-2012, 12:57 AM
It's working now but the PSN one is coming up as an error. Does this fix that?

Hippy
03-25-2012, 02:49 AM
whats PSN one ?

hacker_
03-31-2012, 04:25 PM
If for vBSEO in Custom Rewrite Rules For xboxlive.php is

'gxboxlive\.php$' => 'xboxlive/'

but in this if my link to the leaderboard is "gxboxlive.php?gt=Stallion83" hoy to change in Custom Rewrite Rules for this

xboxlive/Stallion83/

Where "Stallion83" is a GamerTag of XBOX Live? how to edit the Custom Rewrite Rules?

Gemma
03-31-2012, 04:39 PM
If for vBSEO in Custom Rewrite Rules For xboxlive.php is

'gxboxlive\.php$' => 'xboxlive/'
but in this if my link to the leaderboard is "gxboxlive.php?gt=Stallion83" hoy to change in Custom Rewrite Rules for this

xboxlive/Stallion83/
Where "Stallion83" is a GamerTag of XBOX Live? how to edit the Custom Rewrite Rules?

Try this

'^gxboxlive\.php\?gt=(.*)$' => 'xboxlive/$1/'

ptceuro
03-31-2012, 05:10 PM
wow, thats an awesome tutorial, thanks so much!!

hacker_
03-31-2012, 06:15 PM
Try this

'^gxboxlive\.php\?gt=(.*)$' => 'xboxlive/$1/'

Thanks for helping, Greetings from Latin America

betts02
03-31-2012, 06:40 PM
Database error in vBulletin 4.1.11:

Invalid SQL:

ALTER TABLE `forumsgxboxlive`
DROP `id`,
DROP `username`;

MySQL Error : Can't DROP 'id'; check that column/key exists
Error Number : 1091
Request Date : Saturday, March 31st 2012 @ 02:37:16 PM
Error Date : Saturday, March 31st 2012 @ 02:37:16 PM
Script : http://xxxxx/forums/admincp/plugin.php?do=productimport
Referrer : http://xxxxx/forums/admincp/plugin.php?do=productadd
IP Address : 90.208.97.249
Username : xxxxxxxx
Classname : vB_Database
MySQL Version : 5.0.92-community




Any ideas on whats up ?

betts02
03-31-2012, 06:45 PM
The above is in admin after installing the XML and allowing to overwrite the old XML file

killerford
04-03-2012, 12:17 PM
whats PSN one ?

The playstation one isn't coming up with the image like the xbox is.

Gemma
04-03-2012, 02:32 PM
The playstation one isn't coming up with the image like the xbox is.

You are in the wrong thread. This has nothing to do with the Playstation and there isn't a Playstation version of this :erm:

killerford
04-04-2012, 12:00 AM
Oh sorry, just read the title.. wrong section sorry.

ptshooter619
04-07-2012, 12:43 AM
The above is in admin after installing the XML and allowing to overwrite the old XML file

I am getting the same error, help?

marccap
04-21-2012, 07:59 PM
Ive installed and shows the tab bar. I click on it and add gamertag which is assigned to my profile field 8 but leaderboards are still blank. Any ideas?

Hippy
04-21-2012, 08:23 PM
Ive installed and shows the tab bar. I click on it and add gamertag which is assigned to my profile field 8 but leaderboards are still blank. Any ideas?

https://vborg.vbsupport.ru/showpost.php?p=2304445&postcount=408

marccap
04-21-2012, 09:14 PM
Thanks all done and the xboxlive quote now at the bottom of my forum but leaderboard still not active

Hippy
04-21-2012, 09:20 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=359</a>

needs time to cache everything,....
go into maintains and run the xbox live cron

ShawnMTierney
04-29-2012, 10:52 AM
I have read most of the posts but have not found the resolution for this error - any help would be appreciated:

gXboxLive Info Update

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407

There must be a way to get this routine to work without resorting to "allow_url_fopen = ON" - the reason php5 turns it off is because it's a security hole...

Hippy
05-01-2012, 11:27 PM
*Update
For those of you that still use this mod...
and you would like the gamercard to display on your forum home with out editing your headerincudes template

today is your lucky Day...


first ) go to your Admincp >Plugins & Products > Plugin Manager

there is 2 things you need to do..


first we are going to create a new plug in...

this will fix the postbit link so mouse over will display the gamercard



gXBL: Show_Post gXboxLive

Hook showthread_start

Title gXBL: Show_Post


Execution Order 5


Plugin PHP Code $templater = vB_Template::create('gxbl_headinclude');
$headinclude .= $templater->render();


Plugin is Active yes
Save

second

this will allow the gamercard to render on mouse over the users name

and we are still in plug in manager

find and open up
gXBL: Forum Home Stats

Next

click edit
replace the Plugin PHP Code with

if(!defined('GXBL_FUNC'))
include "./includes/functions_gxboxlive.php";
if(function_exists('gxbl_has_access') && gxbl_has_access() && $vbulletin->options['gxbl_show_stats'] && $vbulletin->options['gxbl_forumhome'])
{
$templater = vB_Template::create('gxbl_headinclude');
$headinclude .= $templater->render();
($hook = vBulletinHook::fetch_hook('gxbl_stats')) ? eval($hook) : false;
$template_hook['forumhome_below_forums'] .= $gxblstats;
}

Enjoy Guys...
Regards Hippy

insidegames
05-06-2012, 07:07 AM
*Update
For those of you that still use this mod...
and you would like the gamercard to display on your forum home with out editing your headerincudes template

today is your lucky Day...


first ) go to your Admincp >Plugins & Products > Plugin Manager

there is 2 things you need to do..


first we are going to create a new plug in...

this will fix the postbit link so mouse over will display the gamercard



gXBL: Show_Post gXboxLive

Hook showthread_start

Title gXBL: Show_Post


Execution Order 5


Plugin PHP Code $templater = vB_Template::create('gxbl_headinclude');
$headinclude .= $templater->render();


Plugin is Active yes
Save

second

this will allow the gamercard to render on mouse over the users name

and we are still in plug in manager

find and open up
gXBL: Forum Home Stats

Next

click edit
replace the Plugin PHP Code with

if(!defined('GXBL_FUNC'))
include "./includes/functions_gxboxlive.php";
if(function_exists('gxbl_has_access') && gxbl_has_access() && $vbulletin->options['gxbl_show_stats'] && $vbulletin->options['gxbl_forumhome'])
{
$templater = vB_Template::create('gxbl_headinclude');
$headinclude .= $templater->render();
($hook = vBulletinHook::fetch_hook('gxbl_stats')) ? eval($hook) : false;
$template_hook['forumhome_below_forums'] .= $gxblstats;
}

Enjoy Guys...
Regards Hippy

is their a demo or a picture for the effect?

GhostHunter2010
05-06-2012, 08:35 AM
demo... no install no photo no rate :)

Hippy
05-06-2012, 11:35 AM
is their a demo or a picture for the effect?



I'm not the author..

I'll see what I can do for you .. busy today tho

Hippy
05-06-2012, 02:05 PM
3 screenshot..
1 of mouse over in post bit..
1 of the forumhome addon..
1 of the vboxlive page with mouse over avatar

insidegames
05-07-2012, 10:00 AM
Very nice, mate :-)

another question, i know i saw them on a website, but how can i display the gamercard directly left of the infobox:

http://www.xblsenioren.de/forum/showthread.php?t=12827&page=34

or

http://forum.insidegames.ch/smalltalk-f13/quasselthread-t11-p518.html#post117577

here under the skye logo

Hippy
05-07-2012, 12:07 PM
You can move the hook..custom. I was just happy to this working.stock... custom anything atm I have not thought about. Give it a go. Let me know how ya make out. Of you can't get it let me know

marccap
05-13-2012, 10:04 AM
Hi,

How do u remove the "g" out of the navbar of "gxboxlive"

Thanks

Hippy
05-13-2012, 10:34 AM
admincp> Languages & Phrases > Search in Phrases >

search text for gxboxlive_vbnav

in Search in ... check Phrase Variable Name Only
click find
then click edit for that phrase and add XboxLive in the

English (US) Translation (Optional) box
hit save

marccap
05-13-2012, 11:04 AM
admincp> Languages & Phrases > Search in Phrases >

search text for gxboxlive_vbnav

in Search in ... check Phrase Variable Name Only
click find
then click edit for that phrase and add XboxLive in the

English (US) Translation (Optional) box
hit save

Excellent - Thanks :D

marccap
05-13-2012, 06:35 PM
Me again - Ive just noticed my leaderboard doesnt display any rep stars and when I click on the last games played the link isnt correct? The link to my site is in my sig.

Thanks

Hippy
05-13-2012, 06:52 PM
https://vborg.vbsupport.ru/showpost.php?p=2297325&postcount=359
https://vborg.vbsupport.ru/showpost.php?p=2326653&postcount=441
https://vborg.vbsupport.ru/showpost.php?p=2326749&postcount=444

marccap
05-13-2012, 07:24 PM
All replaced but still same situation - Whats the exact code/area that needs looking at as possibly not install correctly from the start when I first installed it.

Hippy
05-13-2012, 07:42 PM
you did not uploud or allow over wirte the xml I posted or your

Reputation would be displaing and whouldn't have the sub_block_head Missing
do you have templates you edited ? revert them back..

the paths and fixes are in that file I link you to

GamerPerfection
05-13-2012, 08:33 PM
Me again - Ive just noticed my leaderboard doesnt display any rep stars and when I click on the last games played the link isnt correct? The link to my site is in my sig.

Thanks
Dude, the last games link issue is so simple.

Firstly you should notice when clicking one of the images it will try and open a link like this:

http://live.xbox.comhttp//live.xbox.com/en-US/Activity/Details?titleId=1480659447&compareTo=THE%20M1NT

I bolded the problem part of the link.

All I did was search in templates for live.xbox.com, then opened up gxbl_bit_game and found this code:

<a href="http://live.xbox.com{vb:raw game.link}" target="_blank"><img class="inlineimg" border="0" width="20" height="20" src="{vb:raw game.image}" alt="{vb:raw game.title}" /></a>

All I did then was remove the http://live.xbox.com and then it worked fine.

As for the reputation stars I can't remember what i did there but i'm sure it's posted in this very thread.

marccap
05-13-2012, 09:29 PM
ah yes looking at

"http://live.xbox.comhttp//live.xbox.com/en-US/Activity/Details?titleId=1480659447&compareTo=THE%20M1NT"

it is clear now lol - Amended and working. Hippy ill look again what I did exaclty as i just edited the templates in the threads shown

Hippy
05-13-2012, 09:43 PM
this post https://vborg.vbsupport.ru/showpost.php?p=2292789&postcount=342
fixed Cledus James issue
https://vborg.vbsupport.ru/showpost.php?p=2292783&postcount=341

https://vborg.vbsupport.ru/showpost.php?p=2292812&postcount=343

here is his site
http://www.suicide-kings.net/forums/gxboxlive.php

Hippy
05-13-2012, 09:47 PM
or here

for the card fix

https://vborg.vbsupport.ru/showpost.php?p=2215990&postcount=298

Hippy
05-13-2012, 09:50 PM
check in the template gbxl_top_games
should be like I posted below
Replace your gbxl_top_games template with:

<a href="http://live.xbox.com{vb:raw game.link}" target="_blank"><img border="0" width="32" height="32" src="{vb:raw game.image}" alt="{vb:raw game.title}: {vb:rawphrase gxbl_by_x_players, {vb:raw game.count}}" /></a>

travis641 thats default

it needs to be changed to this

<a href="{vb:raw game.link}" target="_blank"><img border="0" width="32" height="32" src="{vb:raw game.image}" alt="{vb:raw game.title}: {vb:rawphrase gxbl_by_x_players, {vb:raw game.count}}" /></a>

enjoy

Hippy
05-13-2012, 09:52 PM
GamerPerfection
was also part of the xml file you downloaded ..
If you allow over write and revert the templates
all the fixes posted here where taken care of ..

marccap
05-13-2012, 10:04 PM
Cheers for your help - I followed thread 342 and that did the trick with the rep stars. The leaderboard is working 100% now.

Many thanks :D

Hippy
05-14-2012, 02:35 AM
Welcome marccap

Xbox Live Leaderboard Statistics on the forum main index the Total Reputation: reads 0 anyone have a fix for that ??
thanks ..

and in the gxboxlive.php stats page

insidegames
05-16-2012, 07:13 AM
You can move the hook..custom. I was just happy to this working.stock... custom anything atm I have not thought about. Give it a go. Let me know how ya make out. Of you can't get it let me know

I can't bring it to work, with the custom gamercard hook. :o

Hippy
05-16-2012, 10:25 AM
Ill have to test when i get time

Hippy
05-17-2012, 12:14 AM
Very nice, mate :-)

another question, i know i saw them on a website, but how can i display the gamercard directly left of the infobox:

http://www.xblsenioren.de/forum/showthread.php?t=12827&page=34

or

http://forum.insidegames.ch/smalltalk-f13/quasselthread-t11-p518.html#post117577

here under the skye logo

they are from this site added to there sigs ..
http://gamercards.exophase.com/

put your gamertag in there hit create
there will be 2 links on the left to add to your sig
so it will look like this

https://vborg.vbsupport.ru/external/2012/05/18.png (http://gamercards.exophase.com/xbl/user/rmv076/)



this is the other site if you like that one better
http://card.xblgamer.de/

FTG LIQUID CL
05-18-2012, 08:50 PM
i keep getting this when i click the gxboxlive tab

404 Error File Not Found
The page you are looking for might have been removed,
had its name changed, or is temporarily unavailable.

any ideas

Hippy
05-18-2012, 08:52 PM
make sure that file is in your root dir..
and all other files are in the correct dir

FTG LIQUID CL
05-20-2012, 03:17 PM
now all i get is a white page when i click the gxboxlive tab

Hippy
05-20-2012, 03:42 PM
Files are still not in the correct dir or the XML import went bad . I van make a house call if you like pm me details if you like

insidegames
05-22-2012, 07:15 AM
Hey Hippy

you understand me wrong. :-)

how can i set my gamercard in the postbit info like this here -> http://www.xbox360clans.net/showthread.php?1360-Community-Games

Gemma
05-22-2012, 07:43 AM
Hey Hippy

you understand me wrong. :-)

how can i set my gamercard in the postbit info like this here -> http://www.xbox360clans.net/showthread.php?1360-Community-Games

https://vborg.vbsupport.ru/showthread.php?t=275137

FTG LIQUID CL
05-24-2012, 12:03 AM
just keep getting a with page when i click the gbox tab

insidegames
05-31-2012, 01:48 PM
i've got a new style and i can cry...

my leaderboard is destroyed.. http://forum.insidegames.ch/gxboxlive.php

Gemma
05-31-2012, 02:04 PM
i've got a new style and i can cry...

my leaderboard is destroyed.. http://forum.insidegames.ch/gxboxlive.php

Upload the images/misc/gxboxlive to correspond with that style, so they are in images/styles/SimpleIdea/misc/gxboxlive/

insidegames
05-31-2012, 03:13 PM
Thank you works great.

What is the correct code for the xbox live rankinglist? now it's not on a straight with the title as gamerscore etc.

ProFifaLeagues
06-10-2012, 10:42 PM
Is this working with 4.2 as yet ??

Hippy
06-10-2012, 11:01 PM
you need to apply the fixes posted (search)
the fixes have never been added to the attachment in the first post

with all the fixes posted it is working perfect

weem
06-12-2012, 06:58 PM
I have read most of the posts but have not found the resolution for this error - any help would be appreciated:

Warning: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php on line 407

There must be a way to get this routine to work without resorting to "allow_url_fopen = ON" - the reason php5 turns it off is because it's a security hole...

I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:


function gxbl_simple_get_xml($url)
{

$ch = curl_init($url);
$html = fopen("example_htmlpage.html", "w");

curl_setopt($ch, CURLOPT_FILE, $html);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($html);

if ($html)
{
$xml = simplexml_load_file('example_htmlpage.html');
return gxbl_object_to_array($xml->body->div);
}
else
{
return false;
}
}


That fixed it for me - its working fine on my site again now.

insidegames
06-15-2012, 02:47 AM
i had always this error.. whats the problem?

Datenbankfehler in vBulletin 4.1.10:

Invalid SQL:
INSERT INTO gxboxlive SET

userid = '5334',
gold = '0',
gamertag = 'eleKtro¤freaK's',
avatar = 'http://image.xboxlive.com//global/t.FFFE07D1/tile/0/20000',
score = '--',
reputation = '<div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div><div class="Star Empty"></div>',
zone = '',
lastplayed = '',
updated = '1339731892'
,
strikes = '0',
error = '1',
firstseen = '1339731892';

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's',
avatar = 'http://image.xboxlive.com//global/t.FFFE07D1/tile/0/20000',
' at line 5
Fehler-Nr. : 1064
Fehler-Zeit : Friday, 15.06.2012 @ 05:44:52
Datum : Friday, 15.06.2012 @ 05:44:52
Skript : http://forum.insidegames.ch/admincp_control/cronadmin.php?do=runcron&cronid=25
Referrer : http://forum.insidegames.ch/admincp_control/cronadmin.php?do=modify
IP-Adresse : x
Benutzername : x
Klassenname : vB_Database
MySQL-Version : 5.1.62-cll

zapiy
07-10-2012, 06:05 PM
Can this mod be used to make a custom gamercard?

GamerPerfection
07-10-2012, 06:23 PM
I doubt it. The mod is a leaderboard.

tandalier
07-14-2012, 08:25 AM
you are my hero. was searching for months how to fix this problem and you solved it. Don't know how to thank you :-)





I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:


function gxbl_simple_get_xml($url)
{

$ch = curl_init($url);
$html = fopen("example_htmlpage.html", "w");

curl_setopt($ch, CURLOPT_FILE, $html);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($html);

if ($html)
{
$xml = simplexml_load_file('example_htmlpage.html');
return gxbl_object_to_array($xml->body->div);
}
else
{
return false;
}
}


That fixed it for me - its working fine on my site again now.

insidegames
07-23-2012, 05:06 PM
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:


function gxbl_simple_get_xml($url)
{

$ch = curl_init($url);
$html = fopen("example_htmlpage.html", "w");

curl_setopt($ch, CURLOPT_FILE, $html);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($html);

if ($html)
{
$xml = simplexml_load_file('example_htmlpage.html');
return gxbl_object_to_array($xml->body->div);
}
else
{
return false;
}
}


That fixed it for me - its working fine on my site again now.

doesn't works for me on 4.2

UK CHI3F
08-01-2012, 10:33 AM
i have a member without any gamerscore will they appear on gxboxlive

http://www.xboxplayers.co.uk/site/gxboxlive.php?do=getall&page=6

ShawnMTierney
08-04-2012, 02:11 PM
I too had this error - your post started me on the trail and then discovered that you have to use cURL instead of allow_url_fopen.

replace the ENTIRE "gxbl_simple_get_xml" function in functions_gxboxlive.php with the following:


function gxbl_simple_get_xml($url)
{

$ch = curl_init($url);
$html = fopen("example_htmlpage.html", "w");

curl_setopt($ch, CURLOPT_FILE, $html);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($html);

if ($html)
{
$xml = simplexml_load_file('example_htmlpage.html');
return gxbl_object_to_array($xml->body->div);
}
else
{
return false;
}
}


That fixed it for me - its working fine on my site again now.

THAT DID IT! (I'm running 4.12) You Rock!!! :up: :up: :up:

ShawnMTierney
08-04-2012, 02:44 PM
Plugin manager - disable gXBL: vB4 Tab Item

Thanks!!! I was looking for how to remove the navbar!

ShawnMTierney
08-05-2012, 10:55 PM
brand new vb install, 1 of the first mods installed and i cant get it to work

Fatal error: Call to undefined function gxbl_has_access() in /home/content/99/5870299/html/digitalnoob/forums/gxboxlive.php on line 64

I've searched this thread and tried the latest xml to install and even reuploaded a few times...

Any help is appreciated


great Mod but i do have a small problem:
when i click the Xbox tab i get this message:

Fatal error: Call to undefined function gxbl_has_access() in /home/ultim939/public_html/gxboxlive.php on line 64

what have i done wrong?

Thanks for any help


Hi,

Have tried your fix and I get the following:

Fatal error: Call to undefined function gxbl_has_access() in /home/martyn83/public_html/fiat/upload/gxboxlive.php on line 58

Any ideas?

I was also getting this error, but then I realized I had forgotten to do step four of the installation (below.) Once I did it the error went away:

Fill in the gXboxLive configuration options, make sure to enter the field id for the newly created Xbox profile field above.

kid101skater
08-17-2012, 08:14 PM
Noticing the background of "Reputation" is missing...
<th>Reputation</th>
while others have...
class="blocksubhead" style="text-align:center;">

GamerPerfection
08-18-2012, 04:33 AM
I take it no-ones still had any luck in producing a PS3 leaderboard? :(

CDCent
09-04-2012, 05:49 AM
does this work for 4.2 because i've done every one of the fixes in this thread and to no avail.

insidegames
09-07-2012, 07:30 PM
I had always the error

DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: URL file-access is disabled in the server configuration in [path]/includes/functions_gxboxlive.php (Zeile 407)

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/showthread.php?t=243493&page=30

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

https://vborg.vbsupport.ru/attachment.php?attachmentid=138242&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.php?p=2325366&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


<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
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:

<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



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;
}