100%
|
Post by Aaron on Aug 6, 2004 10:42:44 GMT -8
<script type="text/javascript"> <!-- /* Hi-Tech Mini-Profile v.1.2 - Money Created by Naruto hatakeforum.proboards30.com/index.cgi */
// Gender Colors var Female = "pink"; var Male = "lightblue";
// Status Online / Offline Colors var Online = "green"; var Offline = "red";
// Money Info var Currency = "$"; var MoneyName = "Gil";
var TD = document.getElementsByTagName("TD"); for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].vAlign=="top" && TD[t].innerHTML.match(/Posts: (\d+)/gi)){ var Amount = TD[t].innerHTML; var Amount = TD[t].innerHTML.split("Posts"); var Amount = Amount[1].split(":"); var Amount = Amount[1].split("<BR>"); var PostCount = Amount[0]; var Money = parseInt((PostCount * 2.5)); var Info = TD[t].innerHTML.split("<b"+"r>"); if(navigator.appName.match(/Microsoft/i)){ var Info = TD[t].innerHTML.split("<B"+"R>"); } var Posts = Info[13].split(":"); TD[t].cellSpacing="0"; if(Info[12].indexOf("Gender")==-1){ Info[12]="<font size='1'>---</font>"; } if(Info[12].match("female.gif")){ Info[12]="<font color='"+Female+"'>Female</font>"; } if(Info[12].match("male.gif")){ Info[12]="<font color='"+Male+"'>Male</font>"; } if(Info[4].match("online")){ Info[4]="<font color='"+Online+"'>Online</font>"; } if(Info[4].match("offline")){ Info[4]="<font color='"+Offline+"'>Offline</font>"; } TD[t].innerHTML = "<table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='titlebg' colspan='2'><font size='1'>"+Info[0]+"</font></td></tr><tr><td align='center' class='windowbg2' colspan='2'><font size='1'>"+Info[1]+"</font><br />"+Info[2]+"</td></tr><tr><td align='center' class='windowbg' colspan='2'>"+Info[5]+"<br /><font size='1'>"+Info[7]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Status:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[4]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Gender:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Info[12]+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>Posts:</font></td><td class='windowbg2' width='50%'><font size='1'>"+Posts+"</font></td></tr><tr><td class='windowbg2' width='50%'><font size='1'>"+MoneyName+":</font></td><td class='windowbg2' width='50%'><font size='1'>"+Currency+Money+"</font></td></tr></table><br /><table border='0' cellpadding='2' cellspacing='1' class='bordercolor' align='center' width='100%'><tr><td align='center' class='catbg'><font size='1'><b>Contact</b></font></td></tr><tr><td align='center' class='windowbg2'>"+Info[9]+Info[10]+"</td></tr></table>"; TD[t].innerHTML = TD[t].innerHTML.replace("Posts, ","") }} //--> </script>Preview: It was requested that the Hi-Tech Mini-Profile v.1.2 have money included, so I've included it.. I tried making the money cross-browser with now luck, so if one of you know what to do, please inform me in this thread. This particular version allows you to edit the colors of the things shown in the preview more easier. Hopefully v2 will be admin panel controlled. What to edit: Female - Gender color for a Female Male - Gender color for a Male Online - Online color Offline - Offline color $ - Currency Symbol Gil - Name of moneyIMPORTANTYou must change your gender icons to "male.gif" or "female.gif" in order for the code to work. Goes in All Footers.#nosmileys#nosmileys#nosmileys#nosmileys#nosmileys
Last Edit: Oct 17, 2004 9:20:43 GMT -8 by Aaron
|
|
|
Post by Smashey on Aug 8, 2004 8:34:08 GMT -8
So, do you get more money with every post you get?
|
|
100%
|
Post by Aaron on Aug 8, 2004 9:01:25 GMT -8
Yeah.
|
|
|
Post by Smashey on Aug 8, 2004 9:02:39 GMT -8
Cool. I might use this version on my clan forum
|
|
|
Post by Kenshin on Aug 10, 2004 4:46:52 GMT -8
This version looks great, but maybe you could ad like MP, and HP bars under the money
|
|
100%
|
Post by Aaron on Aug 10, 2004 9:23:11 GMT -8
I was supposed to make RPG Infection v.3 with Infinite, but he left. We were going to use the profile hack; so I guess I'm on my own.. I'm not sure how long it will take for me to start the rpg hack as I'm not sure I want to do it anytime soon.
|
|
|
Post by Merlin on Aug 10, 2004 9:55:25 GMT -8
Naruto I can help you with RPG Infection making it crossbrowser and adding some features if ya want?
|
|
100%
|
Post by Aaron on Aug 10, 2004 11:14:44 GMT -8
Alright, but I'm not really in the mood to work on the rpg right now; how about in a couple of days?
|
|
|
Post by Merlin on Aug 10, 2004 11:19:51 GMT -8
Sure, post some stuff in the staff lounge about it.
|
|
|
Post by Kenshin on Aug 10, 2004 11:38:23 GMT -8
Naruto could you like have Shop with name glow and stuff?
|
|