Loading...
 
Skip to main content

Documentation


Star colour in scoring system

The user 'Score' system is great, but I can't find out how many 'points' you need to progress through to each of the colour stages (grey to blue to red to purple (or something)). I appreciate that different activities result in getting awarded different numbers of points, but how many do you need to earn to 'change colour'!! This is important in terms of ranking users. thanks!

I did a little digging and found in lib/tikilib.php:
// Returns html < img > tag to star corresponding to user's score

0 => 'grey',
100 => 'blue',
500 => 'green',
1000 => 'yellow',
2500 => 'orange',
5000 => 'red',
10000 => 'purple'

-- Gary