| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Xbox Live Gamercard - PSN - Wii - in Profile Field; Let users show their gamer info! | |
|---|---|
| Topic Started: Nov 22 2008, 01:16 AM (3,334 Views) | |
| McKee91 | Nov 22 2008, 01:16 AM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
I made several little JavaScripts that allow users to display their Xbox Live gamercard and/or PlayStation Network ID and/or Wii Friend Code in their profile field. Preview ![]() First, go to your admin control panel. Then, on the left side select Profile Fields Now, for new field, select 1 line text and hit Submit At the next screen, use the following settings: Settings Spoiler: click to toggle Now, from the left side of your admin control panel, select Board Templates Put the following code(s) in JavaScripts JavaScript Spoiler: click to toggle IMPORTANT!!! //<![CDATA[ and /]]> must be on their own line!!!! If the entire code is on a single line, problems may occur. Then click Edit Board Template located at the bottom. CSS Spoiler: click to toggle Click the Edit CSS button at the bottom and your done! Remember: Capitalization and spacing matter!! Also note: User just need to enter their username, no special characters like %20 or anything like that. They do not need to enter any code tags in the profile field. If you have any problems with these codes, post your problems below or PM me. Include your board URL so that I can take a look at your code. Edited by McKee91, Feb 20 2009, 06:39 PM.
|
![]() |
|
| Xagnam | Nov 22 2008, 10:43 AM Post #2 |
|
Member
![]() ![]() ![]()
|
Not working for me. First, I increased the length of the input fields, because the length wasn't large enough to post the whole ID link. Second, do we need to put [img] tags? With or without them, it still doesn't work. Please help: http://s6.zetaboards.com/KingdomHeartsMedia/index/ |
![]() |
|
| EdgeMirror | Nov 23 2008, 08:37 AM Post #3 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
This is such a great code, I'm using them now but the PlayStation Network IDs are not showing up for some reason. http://s15.zetaboards.com/SkyDreamers/ Edited by EdgeMirror, Jan 9 2009, 01:12 PM.
|
![]() |
|
| Xagnam | Nov 23 2008, 08:51 AM Post #4 |
|
Member
![]() ![]() ![]()
|
I'm having the same problem. |
![]() |
|
| McKee91 | Nov 24 2008, 11:41 AM Post #5 |
|
Member
![]() ![]() ![]() ![]()
|
I just signed up on your site and your PSN code does work. But I would recommend that you update your XBL gamertag code. It needs to be updated since the new xbox experience update was released. Look at the javascript. It should be
If you have any other problems let me know. |
![]() |
|
| McKee91 | Nov 24 2008, 12:11 PM Post #6 |
|
Member
![]() ![]() ![]() ![]()
|
I'm pretty sure I know you the problem is, simple mis typing of the profile field titles. Capitalization and spacing matter! For example Your have: XBox Live Gamertag Should be: Xbox Live Gamertag Remember: If you want your profile field titles to be changed, make sure you edit the javascript too. Below in green is what you would want to edit. <script type="text/javascript"> //<![CDATA[ $(function () { var ddcalled = "Xbox Live Gamertag"; $("dl.user_profile > dt:contains("+ddcalled+") + dd").each(function () { var item = $(this).text(); $(this).html('<iframe src="http://gamercard.xbox.com/'+item+'.card" scrolling="no" frameBorder="0" height="140" width="204">'+item+'</iframe>');});}); //]]> </script> If that didn't fix it, let me know and I'll continue to examine your code. Edited by McKee91, Nov 24 2008, 12:13 PM.
|
![]() |
|
| Xagnam | Nov 24 2008, 10:07 PM Post #7 |
|
Member
![]() ![]() ![]()
|
Well, the Xbox Live Gamertag and the Wii Friend Code show, but the PlayStation Network ID continues not to display on my forum. Please focus your attention on that please. Again, thanks for all the support! |
![]() |
|
| McKee91 | Nov 25 2008, 02:48 AM Post #8 |
|
Member
![]() ![]() ![]() ![]()
|
I'm glad to help. You still have problems with your code though. For your PlayStation code, the title needs to match exactly as it is in the code. Pay attention to the "s" in playstation For example: You have: <script type="text/javascript"> //<![CDATA[ $(function () { var ddcalled = "Playstation Network ID"; $("dl.user_profile > dt:contains("+ddcalled+") + dd").each(function () { var item = $(this).text(); $(this).html('<img width="204" border="0" src="http://pid.us.playstation.com/user/'+item+'.jpg" class="psntag" />');});}); //]]> </script> It should be: <script type="text/javascript"> //<![CDATA[ $(function () { var ddcalled = "PlayStation Network ID"; $("dl.user_profile > dt:contains("+ddcalled+") + dd").each(function () { var item = $(this).text(); $(this).html('<img width="204" border="0" src="http://pid.us.playstation.com/user/'+item+'.jpg" class="psntag" />');});}); //]]> </script> Edited by McKee91, Nov 25 2008, 02:56 AM.
|
![]() |
|
| Xagnam | Nov 25 2008, 05:26 PM Post #9 |
|
Member
![]() ![]() ![]()
|
Thanks, it worked! But I suggest that you increase the space allotted to each profile field (20 is not enough, you need about 200+) in your instructions. Unfortunately the space given isn't enough for each image to display fully in your profile field. Help? AGAIN, thanks for the support, you are very helpful to those who use your codes! |
![]() |
|
| McKee91 | Nov 25 2008, 06:15 PM Post #10 |
|
Member
![]() ![]() ![]() ![]()
|
Um, the code works fine for me. I entered in your username for the test, hope you don't mind. Click here for a Preview I think you may have typed to much info when you entered your PSN tag name, double check it. Remember, you only have to enter your name. No image tags or any other code. If that doesn't work, message me back and I'll think of other solutions. |
![]() |
|
| Xagnam | Nov 26 2008, 05:42 PM Post #11 |
|
Member
![]() ![]() ![]()
|
It works now! Thanks for all the help! Sorry for all the trouble. I hadn't realized that you only needed to put your username in the profile field! Perhaps you should say that in your instructions! (because I was using the code that PlayStation provided for the image) |
![]() |
|
| McKee91 | Nov 26 2008, 11:00 PM Post #12 |
|
Member
![]() ![]() ![]() ![]()
|
I'm glad to help! Thanks for the instruction advice too. |
![]() |
|
| EdgeMirror | Dec 6 2008, 08:51 AM Post #13 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
EDIT: Solved.
Edited by EdgeMirror, Jan 9 2009, 01:16 PM.
|
![]() |
|
| tebroc | Dec 6 2008, 10:25 AM Post #14 |
|
Member
![]() ![]() ![]()
|
great code ![]() is there a way to get the new playstation cards up or not? (by new i mean the eu portable ID's) |
![]() |
|
| McKee91 | Dec 7 2008, 12:57 AM Post #15 |
|
Member
![]() ![]() ![]() ![]()
|
Yes, there is a way to use the EU Portable ID image. But first, make sure you (or whoever) registers on the PlayStation webite Register Here Now, for the code. Just change the present PlayStation Javascript. So it should look like this. . . JavaScript Spoiler: click to toggle The code above works with United Kingdom profiles and does not work for United States profiles! Edited by McKee91, Jan 28 2009, 12:35 PM.
|
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Code & Modification Database · Next Topic » |





![]](http://209.85.62.24/static/1/pip_r.png)










5:08 PM Nov 22