Jye.
Honored Member
Paper Wings
Posts: 29
|
Post by Jye. on Mar 18, 2009 3:10:42 GMT -5
This code adds points too each members mini profile (displayed under karma) each time a user posts 2 points are added to their mini profile. You can use this code and give rewards to members who reach certain amounts of points or something like that.
Placement: Global Footer
<script> // Points // By Jye // http://tsstudios.proboards.com
var info=document.getElementsByTagName('td'); for(t=0;t<info.length;t++){ if(info[t].width=="20%" && info[t].innerHTML.match(/Posts/i)){ var pcount=info[t].innerHTML.split("Posts:")[1] var points=parseInt(pcount)*2 //CHANGE 2 TO NUMBER OF POINTS YOU WANT PER POST
info[t].innerHTML+="<center><font size='1'><b>Points:</b> "+points+"<br /><br /></font></center>" }} </script>
Edit information is displayed in code.
|
|
|
Post by Jasek on Mar 18, 2009 4:11:57 GMT -5
Thank oyu Jye, this is very simple code and still cool thing for the forum.
|
|
Jye.
Honored Member
Paper Wings
Posts: 29
|
Post by Jye. on Mar 18, 2009 4:36:34 GMT -5
No problem, glad you like it.
|
|
|
Post by Spud on Mar 20, 2009 21:10:40 GMT -5
Cool
|
|
Jye.
Honored Member
Paper Wings
Posts: 29
|
Post by Jye. on Mar 22, 2009 0:17:17 GMT -5
Thanks
|
|
|
Post by Masamune on Mar 22, 2009 15:28:10 GMT -5
Yeah I like, I think we should have that as that would cause more people to saty (maybe)
|
|
|
Post by Spud on Mar 22, 2009 15:41:50 GMT -5
I agree. Jasek and I will take that under consederation
|
|
|
Post by Ellguipse on Sept 29, 2019 23:57:34 GMT -5
Amoxicillin Urinary Tract Infection Frontal Baldness Propecia Approved <a href=http://sildenafbuy.com>viagra</a> 7zx Cialis Best Sellers Catalog
|
|