I am using a seperate subdomain site for only ps3 so Im not sure if you can use this change as well as the original module but here is my code.

Comments

thepita’s picture

this will not work alongside the original module I just tried it. Maybe someone could fix it so it can.

pobster’s picture

Interesting... I didn't know the PS network allowed for that. When I get a minute I'll definitely incorporate this, thanks.

Pobster

thepita’s picture

StatusFileSize
new7.37 KB

OK I fixed the code so it will now run alongside the original module. So you can now use both modules to display both your Xbox live gamertag and your PSN ID on the same site. I might make a Wii friend code mod for this as well not sure yet.

thepita’s picture

Its not really a patch but a seperate module.

thepita’s picture

StatusFileSize
new7.57 KB

Ok here is another addition. This module will display your steam card. This will work alongside all the other modules!

thepita’s picture

these will probably work only with drupal 6

thepita’s picture

pobster you might want to make these a seperate project or integrate them into one package.

pobster’s picture

StatusFileSize
new7.45 KB

Okay I've integrated the PSN gamertag (see attached) but I've not bothered with the Steam one as of yet, I'll work on that next. It should be pretty easy to add new ones now as it's more dynamic.

Please test, thank you.

Pobster

pobster’s picture

Pants... Are the iframes different sizes??? I haven't allowed for that if they are... Meh, please test and let me know.

Thanks,

Pobster

pobster’s picture

StatusFileSize
new7.55 KB

Here's Steam integrated (told you it'd be easier now!) but no iframe sizes per gamer card as of yet... I'll do it soon...

Pobster

thepita’s picture

yes each card has a different size its running fine on my test site. however the card sizes are a little off.

pobster’s picture

Yeah as expected - they all share the same dimensions from the theme hook of the xbox gamertag. I'll change it and tidy up the code a bit more (I don't like the switch within a switch...) when I get home from work.

...Are the dimensions you've used correct?

Pobster

pobster’s picture

StatusFileSize
new7.66 KB

Whilst on a coffee break I added the dimensions hook (I just don't know what the actual dimensions should be, could you confirm that the values you used are official?) but I haven't tidied up the code yet - I am at work after all!... Oh and I also forgot to add the filter for the steam card - this is now added.

Pobster

thepita’s picture

excellent job this is going to be a nice module. Thanks for integrating everything.

pobster’s picture

Status: Needs review » Fixed

No, no - thank YOU for pointing out that Sony have portable ids and also for the steamcard info - I'd never have thought of integrating that!

Anyways, it's all committed, tested (well fairly tested) and available for download.

Thanks again,

Pobster

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.