Welcome Guest [Log In] [Register]
Viewing Single Post From: Admin Editable Cash
thelegend1987
Member
[ * ]
This is my first code: a simple editable cash code. It displays the cash both in the profile and miniprofile. If anyone notices any problems please let me know and I will fix them. It is pretty straightforward to use but if you need help:

The perPost is the amount of cash you get for every post made.
monName is the name such as "Cash:" or "Points:"
Change username to the board user you wish to add points to and the beside it to how many points they need in addition to points from posts. (Note: Case sensitive)

Works in IE and Firefox. Preview:)

Code: HTML
 

<script type="text/javascript" src="http://h1.ripway.com/thelegend1987/CM.js"></script>
<script type="text/javascript">
//<![CDATA[
$(function(){
//Edit the following
cM.MID=[];
cM.MID["username1"] = 10000;
cM.MID["username2"] = 15000;
cM.perPost=5;
cM.monName = "Cash:";
//stop editing here
cM.injectCash();
});
//]]>
</script>


Enjoy! :D
Edited by thelegend1987, Feb 13 2008, 11:47 PM.
Offline Profile Quote Post
Admin Editable Cash · User Created Codes