Feature addition

Started by Blacklord, March 17, 2007, 09:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Blacklord

Added pip icons to indicate posters ranking (you can see them in the box to the left of each post)

Here's a snip of the code, so you can work out how many pips you get for how many posts you've made "

if($cur_post['num_posts'] > 5000) { $num_pips = 10; }
        elseif($cur_post['num_posts'] > 3000) { $num_pips = 9; }
        elseif($cur_post['num_posts'] > 2000) { $num_pips = 8; }
        elseif($cur_post['num_posts'] > 1000) { $num_pips = 7; }
        elseif($cur_post['num_posts'] > 500) { $num_pips = 6; }
        elseif($cur_post['num_posts'] > 300) { $num_pips = 5; }
        elseif($cur_post['num_posts'] > 100) { $num_pips = 4; }
        elseif($cur_post['num_posts'] > 50) { $num_pips = 3; }
        elseif($cur_post['num_posts'] > 10) { $num_pips = 2; }
        else { $num_pips = 1; }

Lance

Golan Klinger

Pip Pip Hooray!

(Someone had to make the joke.)
Call me Golan; my parents did.

Stephane Richard

lol a star system huh?   Now I know how all the girls in my little black book must feel! roflmao
When God created light, so too was born, the first Shadow!

MystikShadows