News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF XboxLIVE Leaderboard - Updated for SMF 2.0 RC3!

Started by SMFHacks.com Team, January 23, 2010, 07:51:59 PM

Previous topic - Next topic

7Spire

#40
This mod is great!

Quote from: Robin1989 on March 17, 2010, 09:49:09 PM
nice mod. would be cool if it could be incorporated into the daily maintenance tasks in smf 2.0 to auto update it every day. also if you could enter your gamertag on the xbox page instead of having to go into your profile it may increase the amount of people who submit there gamertag

Totally agree with this, even if it was just a link to the profile settings page.

Other things:
- Would it be possible to change the 20x20px avatar to the 32x32px version as it seems too small and squashed as it is.
- Can you add a WHERE clause to take out those who have got a blank gamertag, I seem to have been put on the leaderboard twice even though I dont even have an Xbox let alone a gamertag for one.. edit: seems it adds you everytime you update your profile settings even though it may be blank
- Can the links (gamertag/sendmessage/add friend etc.) be opened in a new window rather than the same one, I don't want member leaving the site that easily. hehe

Thanks ;)

ricorico

#41
Quote from: ricorico on April 09, 2010, 03:20:12 AM
I just removed my gamertag saved it logged out and re applied it and it showed up. However when I try to refresh (icon) it gives me that 'invalid gamertag' error..

I had someone else try to refresh theirs and it gave the you are not allowed to access this error.

Any news on that?

1+ month bump... i tried on the devs site too so just hoping someone ese got this to work.

update: this was in my 'critical' error log:

The database value you're trying to insert does not exist: gamertag
Function: xbl_updatePlayerFile: /home/vol2/xxx/xxx/htdocs/Sources/Subs-XboxLIVE.php
Line: 289


282: array(
283: 'id_member' => $mid, 'gamertag' => $data['gamertag'], 'gamerscore' => $data['gamerscore'], 'acct_status' => $data['acct_status'],
284: 'info' => $data['info'], 'info2' => $data['info2'], 'last_seen' => $data['last_seen'], 'online' => $data['online'],
285: 'title' => $data['title'], 'reputation' => $data['reputation'], 'zone' => $data['zone'], 'valid' => $data['valid'],
286: 'status_text' => $data['status_text'], 'state' => $data['state'], 'profile_url' => $data['profile_url'], 'tile_url' => $data['tile_url'],
287: 'country' => $data['country'], 'bio' => $data['bio'], 'location' => $data['location'], 'last_update' => time(),
288: )
==>289: );

MedRed

Quote from: davehx on April 01, 2010, 08:44:14 PM
The mod doesnt (or didnt for us) create an xbl folder in the correct theme and therefore the update button doesnt appear.

i have the same problem. What do I need to do to make the update button show up?

Grim Line

Small bug - If a user edit's his/her profile they will be removed from the leaderboard. Cannot get them readded unless the user removes their gamertag from their profile, saves the change then readds and saves.

Grim Line

I removed an account from my website without removing there gamertag from their profile now the user is stuck onto the leaderboard with no way to remove them. I tried to uninstall the mod then readd but he's still on. I get this error when i try to refresh his name aswell;

Wrong value type sent to the database. Integer expected. (id_member)

I suggest a delete button next to the refresh one that only admins can use?

Xarcell

#45
I have a coding question. I'm looking to add the gamercard to my display.template.php file.

Code looks like so:
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="300" height="135">
  <param name="source" value="http://card.mygamercard.net/default.xap" />
  <param name="enableHtmlAccess" value="true" />
  <param name="enableGPUAcceleration" value="true" />
  <param name="minRuntimeVersion" value="3.0.40624.0" />
  <param name="autoUpgrade" value="true" />
  <param name="initParams" value="gamertag=Xarcell,language=" />
  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none" />
  </a>
</object>


I want to make it so that it shows a user's gamercard using the variable from your script? Where it says "Xarcell" in this script, how could it be changed to show any user with a gamertag?

XboxLive gamercard uses an iframe. I tried something like this, but it doesn't seem to work:
// Gamercard
if (!empty($profile_fields['gamertag']['preload']))
    echo '
                    <li><iframe src="http://gamercard.xbox.com/', $profile_fields['gamertag']['preload'], '.card" scrolling="no" frameBorder="0" height="140" width="204">Put your gamertag here too.</iframe></li>';


If I can get it working with the flash script(first one), that would be great.

arty5

This is a very good mod i realize it has issues being a beta release, I have 1 problem with the Reputation image seems to not load and the image is in the appropriate folder it has the broken image icon in google crome , ie and Opera so the mouse over text (Reputation: 19) does anyone have idea on how to fix this.

And the gamer tags disappear if you go back into your profile and change or update something in your profile so their must be something wrong in the entry system to the database.

Anyways its a great mod and lets hope it makes it way out of the beta steps nice one VB
My Facebook Id : 1245925771

Community Message Boards - Create a Free Sig Now


Community Message Boards - My Main Forum

Boricua012

It turns out that my members can't see the gametag field in the Forum Profile, but i can.  :'(

PPowerHouseK

Need some help here. Everything seems to be "working" except for the table shows names multiple times.
Here is a picture of whats happening: http://i449.photobucket.com/albums/qq214/PowerKrewServers/11-30-20106-23-49AM.png

Any help to fix this would be much appreciated. Thanks in advance!

KeelBug

Just thought I'd let everyone know that the API has been offline for quite a while, with no news if its coming back up again so this is non-working.
Id bash one together myself but it appears you need to be a registered XBOX 360 developer to access the info from MS.

Robin1989


JBlaze

Quote from: Robin1989 on January 27, 2011, 07:00:07 PM
so is this unlikely to be updated for RC4 then?
The mod currently doesn't even work due to the API it uses being offline permanently. There is however SimpleXBL which uses a different API.
Jason Clemons
Former Team Member 2009 - 2012

Advertisement: