Resource icon

XBL, PSN, and Steam profiles with Images 1.1

No permission to download
Is there a way to have this addon's images work only as links to the relevant sites (xbox.com, steamcommunity and whatever the PS3 one is) without the pop-ups?
 
Code:
<div class="ConsoleContainer">


<xen:if is="{$user.customFields.psn_id}">
<a href="http://us.playstation.com/playstation/psn/visit/profiles/{$user.customFields.psn_id}" target="_new" class="OXYgames psn"/></a>
</xen:if>

<xen:if is="{$user.customFields.xboxid}">
<a href="http://live.xbox.com/en-US/Profile?Gamertag={$user.customFields.xboxid}" target="_new" class="OXYgames xbox"/></a>
</xen:if>

<xen:if is="{$user.customFields.SteamID}">
<a href="http://steamcommunity.com/id/{$user.customFields.SteamID}" target="_new" class="OXYgames steam"/></a>
</xen:if>
</div>
Is there a way to have this addon's images work only as links to the relevant sites (xbox.com, steamcommunity and whatever the PS3 one is) without the pop-ups?
That code should work in place of step #2
 
Code:
<div class="ConsoleContainer">
 
 
<xen:if is="{$user.customFields.psn_id}">
<a href="http://us.playstation.com/playstation/psn/visit/profiles/{$user.customFields.psn_id}" target="_new" class="OXYgames psn"/></a>
</xen:if>
 
<xen:if is="{$user.customFields.xboxid}">
<a href="http://live.xbox.com/en-US/Profile?Gamertag={$user.customFields.xboxid}" target="_new" class="OXYgames xbox"/></a>
</xen:if>
 
<xen:if is="{$user.customFields.SteamID}">
<a href="http://steamcommunity.com/id/{$user.customFields.SteamID}" target="_new" class="OXYgames steam"/></a>
</xen:if>
</div>

That code should work in place of step #2

That worked perfectly, thank you!
 
The gamercard images aren't displaying for me. I uploaded the folder in my forum directory and can access the image when I type it into my address bar. http://mydomain.com/game_images/Game-Icons.png

I'm using the code you provided a few posts up for step 2, to not display the popup gamercards because that was asking me to update a plugin and it wouldn't tell me which one needed to be updated.

I took a screenshot, you can see the area where the images should be is empty.

upload_2013-6-14_16-31-5.webp
 

Attachments

  • upload_2013-6-14_16-25-49.webp
    upload_2013-6-14_16-25-49.webp
    11.1 KB · Views: 5
I have followed the instructions in the OP but for some reason my icons don't show up. I tried adjusting the image path in CSS to remove the / and that didn't work either. I am using the core theme from pixelexit.
 
I have followed the instructions in the OP but for some reason my icons don't show up. I tried adjusting the image path in CSS to remove the / and that didn't work either. I am using the core theme from pixelexit.

I couldn't figure it out either. I ended up just replacing step 2 with the code below and deleting the extra.css edits he had. It doesn't popout the gamercard but it atleast shows the icon and links to the sites.


<xen:if is="{$user.customFields.psn_id}">
<a href="http://us.playstation.com/playstation/psn/visit/profiles/{$user.customFields.psn_id}" target="_new"><img src=link to icon></a>
</xen:if>

<xen:if is="{$user.customFields.xboxid}">
<a href="http://live.xbox.com/en-US/Profile?Gamertag={$user.customFields.xboxid}" target="_new"><img src=link to icon></a>
</xen:if>

<xen:if is="{$user.customFields.SteamID}">
<a href="http://steamcommunity.com/id/{$user.customFields.SteamID}" target="_new"><img src=link to icon></a>
</xen:if>

You also need to upload the icons
wjQv1oX.png

qbD7Y06.png

b1dHisl.png
 
Last edited:
Thanks Teflon. Do you have a link to ur site so I can see it in action? I would prefer the popout though.

My site isn't public yet but here's a screenshot.

upload_2013-6-16_15-32-50.webp

The icons link to the respective sites and the username entered for those services. I would prefer the popout too but I couldn't get it to work either. Hopefully there's an update soon.
 
Sorry for the late responses guys. I'll upload 2 diff tutorials in the future to help make it clear as well as the promised add-on version. Just have been swamped with real life lol
 
0xym0r0n updated XBL, PSN, and Steam profiles with Images with a new update entry:

I made it an add-on

I made this easier for people who are uncomfortable with modifying the templates, it's now an add-on.

INSTRUCTIONS
Download and Unzip contents
Upload contents to your forum install
Go to your admincp and install the addon-oxyGamer.xml file
VOILA you have oxyGamer installed

-CHANGE IMAGES-
Upload your images to a folder or styles/OXY/Gamer
Open up admincp->appearances->templates-> oxy_gamer_games.css
FIND .psn or .xbox or .steam and replace the background url for each one....​

Read the rest of this update entry...
 
is there any update for this as its still using the old psn trophie chart which sont doesnt use anymore so it doesnt update your trophies
 
Top Bottom