ranking
i think we should have a ranking thing that show in users profile and in there posts. it should be based on there points and posts. it should be ranked like this:
mewling newbie newbie beginner hacker expert hacker h4x0r 1337
something like that. though this might encourage spamming if we do posts.
its just an idea.
grind if you want, i could modify the script so that it includes points aswell. So if the user has 1000 points, but 5 posts, then it would be ranked "Expert Hacker" or if someone has 700 Points and 200 posts, then it ranks "Expert Hacker etc"
So it combines points + posts to get a rank.. that would be a neat idea, and not hard to code either :)
ps - it shoudl be > 200, not < 200 ;)
If you are doing returns, shouldn't you not need the bottom bounds checking? like markupfunction rank($data){ if($data < "50"){ return "Newbie"; } elseif ($data < "100"){ return "Moderate"; } elseif ($data < "150"){ return "Active"; } elseif ($data < "200"){ return "Mad Poster"; } elseif ($data >= "200"){ return "Crazy Guy"; } else { return "unknown"; } }
Unless PHP does returns differently, this should work the same, but with half as many checks (so faster).
Also, not it should be greater than or equal to, rather than < or >. Otherwise people with 200 posts are Unknown.
Mr_Cheese wrote: grind if you want, i could modify the script so that it includes points aswell. So if the user has 1000 points, but 5 posts, then it would be ranked "Expert Hacker" or if someone has 700 Points and 200 posts, then it ranks "Expert Hacker etc"
So it combines points + posts to get a rank.. that would be a neat idea, and not hard to code either :)
ps - it shoudl be > 200, not < 200 ;)
Cool, lol, also with you 600 odd posts you're gna get some awesome ranking ;)
Grind you havent defined 300, 400, 500, 600, 700, 800 etc,You also didn't define hacker level 3 properly, which is incidently where i sit, IE you left 900-1000 out completely you need to use something like this:
$data = $post + $points;
if($data <= "200"){
return "Newbie";
} elseif ($data > "200" & $data < "300"){
return "Moderate";
} elseif ($data >= "300" && $data < "400"){
return "Active";
} elseif ($data >= "400" && $data < "500"){
return "Mad Poster";
} elseif ($data >= "500" && $data < "600"){
return "Crazy Guy";
} elseif ($data >= "600" && $data < "700"){
return "Monster";
} elseif ($data >= "700" && $data < "800"){
return "Hacker Level 1";
} elseif ($data >= "800" && $data < "900"){
return "Hacker Level 2";
} elseif ($data >= "900" && $data < "1000"){
return "Hacker Level 3";
} elseif ($data >= "1000" && $data < "1100"){
return "Elite";
} elseif ($data >= "1100" && $data < "1500"){
return "Uber Elite";
} elseif ($data >= "1500") {
return "Too elite to determine";
}
}
Hope thats right :S lol, I'm not too good at it.
One day he will catch up to your level.
BTW Grindordie, you still don't need the bottom bounds checking, although for a different reason than I mentioned. If you are doing elseif checks, that automatically rules out the range from the checks before. For example:
return "Newbie";
} elseif ($data < "300"){
return "Moderate";
} elseif ($data < "400"){
return "Active";
}```
In that case, if you are under 200 you are Newbie, or else if you are not under 200 (so over it), and you are under 300, you are Moderate.... I think you get my drift.
I dont like the idea of Rank for the reason that were all the same its like why group use different if were the same just like Black hats and white hats at the end of the night were the same thats the only reason we can get along with each other becouse we are the same if i'm wrong then why do we go to web sites and post messages and articles shouldnt we be trying to be more alike then anyone else shouldnt we be all together not in different rankings but i guess people like rankings so we are not all alike for once i know where we are different and this is where
We are not all the same, nor will we ever be. Why do you want to be the same as everyone else? Don't you cherish your indiviuality? I sure do. I know I'm not the same as you. I'm better than you at somethings and you better than me at other things. Labels and rank are two different things also. White Hat and Black Hat are just labels that no one can really agree on. Ranking is different. It's a quantitative assessment. It's a simple formula, the more missions and post you make, the higher your ranking. Ranking on this site doesn't prove anything beyond what you've done on this site. Ranking also gives people goals then can sense and a further sense of accomplishment.