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
Simple Auto Increasing Rank in Posts.; By NevuxAB
Topic Started: Jan 25 2010, 11:01 AM (109 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: NevuxAB
Simple Auto Increasing Rank in Posts.
 
Code: Auto Increasing Rank.

Description: Increases users rank when a user posts it keeps calculating a rank for you. Simple.
Special Note: Must go at top of Footers

Author: Slayer766

Code:
Code:
 

<script>
//Basic Ranking System v1
//By slayer766 of thecodingzone.com

if(location.href.match(/showtopic=/i)){
var a=document.getElementsByTagName("span")
for(i=0;i<a.length;i++){
if(a[i].className=="postdetails" && a[i].innerHTML.match(/Posts: (\d+)/)){
rank = RegExp.$1
a[i].innerHTML += "<b>Rank:</b> "+Math.round((rank)/2)+"";
}}}
</script>
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply