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
Basic Ranking System v1; By .Scott
Topic Started: Jan 25 2010, 11:01 AM (180 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: .Scott
Basic Ranking System v1
 
Code Name: Basic Ranking System v1
Description: Places a rank for everyone in their postdetails section. The rank is found out by your Member No. though it doesn't just point your member number AS your rank...

Preview of it in Use/Screenshot: Posted Image

Where it goes: Footer
Quote:
 
<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.className=="postdetails" && a.innerHTML.match(/Member No.: (\d+)/)){
rank = RegExp.$1
a.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