Closed (fixed)
Project:
Gamertags
Version:
6.x-2.73
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2010 at 11:52 UTC
Updated:
14 Sep 2010 at 21:50 UTC
When i change the order to collect information and i edit the profile it's work but when i see the gamercards nothing change.
It's seems on Wii than games like Mario Kart and Super Smash Bros Brawl have a 12 digits code, they are use to play on Internet, so maybe a new feature for the module ?
Comments
Comment #1
pobster commentedThat's odd, maybe I haven't committed something correctly - thanks I'll look at it tonight after I finish work.
Pobster
Comment #2
pobster commentedOh ah, do you have page caching enabled? Maybe... Maybe try flushing your cache? I guess it's possible that the user view is a cached page (i.e. it seems to work fine for me!)
Pobster
Comment #3
MasterChief commentedWhen i am on the page to edit profile it's work well!
I just flush all caches but nothing change on profile page, i am using APK with panels for profiles, but i don't think it's change something.
Comment #4
MasterChief commentedComment #5
pobster commentedAha! That's the key, you're using Panels which takes the information from theme_gamertags_render_all not from gamertags_user 'view' op. I haven't addressed Panels yet... That was on my TODO list but I forgot to put it in the release notes ;o)
No worries, I'm on the case.
Pobster
Comment #6
MasterChief commentedGreat so i will wait :)
Thanks for your fast answers.
Comment #7
pobster commentedWell I was going to leave it till the weekend but seeing as you complemented me on my fastness - I've done it tonight! ;o)
Just a note, I've renamed 'gamertags_render_all' to 'gamertags_all' simply because now you're required to render the elements yourself if you're overriding the template file. It just made a little more sense grammatically!
Thanks,
Pobster
Comment #8
MasterChief commentedGreat i will test this.
I think we are making the fastest answers on the site lol xD
Comment #9
pobster commentedApologies, I completely glossed over your idea for including game IDs! Hmmm... I'm not sure?... There could thousands one day in the future! Maybe I'll consider adding a plugin which allows you to add your own game IDs, so there'd be an admin page and an automatically created template file or something? Dunno, for a later date maybe ;o)
Thanks,
Pobster
Comment #10
MasterChief commentedHi pobster,
the check feature make a problem with PSN because if you don't activate your portable id on sony website (thanks Sony ...), you can't enter the gamertag even if it exists !!!
So we have 2 options :
#1 => A help description on the field to explain to the user than he must activate the Portable ID with a link to make this.
#2 => No check for PSN
For the Wii part, it's so bad they don't use a system as Xbox Live, a friend code by game it's not very friendly to use xD
Comment #11
pobster commentedAh okay, another reason for me to despise Sony... Hmmm... Maybe I'll just output a warning rather than an actual error then. Thanks for the tip! I'm not entirely sure how to check for Xbox ones either, I'm currently only checking when you 'debunk M$' as both MS and Steam both return 'okay' statuses (http 200) when you search for an invalid gamertag :o( Not sure how to progress with this...
Pobster
Comment #12
pobster commentedTry using this for the time being;
Pobster
Comment #13
pobster commentedI put out a new release just now, it allows you to turn on/ off validation checking and also does the above thing with changing the form_set_error with a drupal_set_message - allowing a user to save a user ID when it doesn't actually exist/ isn't yet activated.
I'm a bit stumped with what to do now... I don't think it's possible to validate any of the others?...
Pobster
Comment #14
MasterChief commentedHi pobster,
i just try the new release, now i can enter the gamertag when the Portable Id is not activated on PSN but it's just appears in this case in Panels "Playstation Network gamertag"
i think it will be better to see the gamertag enter by the user it will be more usefull.
Another idea, is it possible to personnalize the message, because with the message you haven't activate profile, i think the user don't understand and i would like too to translate this message.
Comment #15
pobster commentedWhilst that'd be the ideal solution, there's absolutely no way I can tell whether the Gamertag doesn't exist or just isn't activated.
If you want to find a code example which does this, I'll happily implement it?
Thanks,
Pobster
Comment #16
MasterChief commentedHi pobster,
in effect i made a search to see the differents PS3 gamercards available and if you don't activate Portable Id On Sony Europe or US you can't use them.
So we can't have a solution to know if the gamertag doesn't exist or just not activated. (Thanks Sony...)
So the best solution for me it's :
Option1 => a description on the fields saying that the user need to activate his Portable Id with a link on Europe Sony Website and US Sony Website.
Option2 => A possibility to send the user on a custom web page with the procedure.
With this 2 options we can apply the check of PSN gamertag because if all users have activated their Portable Id and the result of checking is Gamertag doesn't exist, it's the good result !!!!
Give me your point of view on this.
Thanks,
MasterChief
Comment #17
pobster commentedCan you give me an example of a link to go to? Only I had a quick look previously and I couldn't see anything relating to activating your user profile online? I'll happily make the change if you've found somewhere to do this!
Thanks,
Pobster
Comment #18
MasterChief commentedHi pobster,
sorry for the delay, i don't find a tutorial step by step to create PSN Portable ID, i found just videos on Youtube to do this.
So maybe the possibility to send the user on a custom link will be the better in this case, i will make one guide for this in the future.
Comment #20
MasterChief commentedHi pobster, i discovered two problems :
the first is when no gamertags are entered, i have this error message :
warning: uasort() [function.uasort]: The argument should be an array in C:\wamp\www\mysite\sites\all\modules\gamertags\gamertags.module on line 435.
I don't want to have a message in this case.
The second problem is in views, the option "Show gamertag as text only
Only show the user input text for their gamertag ID, not their actual gamercard." stay unchecked even if i check it update and save, i am using views 3 dev release.
Comment #21
pobster commentedwarning: uasort() [function.uasort]: The argument should be an array in C:\wamp\www\mysite\sites\all\modules\gamertags\gamertags.module on line 435.
Good spot! Fixed! ;o)
And apologies but I think the checkbox issue is with Views 3 not with Gamertags, I've just tested it on my local install and it appears to be fine? I'll certainly look into it at some point but I can't guarantee it'll be very soon as I'm at Drupalcon at the moment.
Thanks,
Pobster
Comment #22
pobster commentedObviously by my reply above, I mean I've tested it with Views 2 and it works ;o)
Thanks,
Pobster
Comment #23
MasterChief commentedThanks to you Pobster,
you have always very fast, i hope you will have fun at the DrupalCon, thanks again for your answer :)
Comment #24
pobster commentedPushed back to fixed - assume that assignment was an accident! ;o)
Thanks,
Pobster