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:

Username:   Password:
Add Reply
Xfire ID gamecard; My first code
Topic Started: Jul 10 2012, 09:39 AM (532 Views)
Chowder908
Member
[ * ]
First add a Custom Profile Field called Xfire ID

then
Add this to Javascripts in board template
Code
Code:
 
<script type="text/javascript">
//<![CDATA[
$(function () { var ddcalled = "Xfire ID"; $("dl.user_profile > dt:contains("+ddcalled+") + dd").each(function () { var item = $(this).text(); $(this).html('<a href="http://beta.xfire.com/?username='+item+'"><img src="http://miniprofile.xfire.com/bg/bg/type/1/'+item+'.png" width="204" border="20" /></a>');});});
//]]>
</script>

Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply