Post
Topic
Board Meta
Re: Activity & new membergroup limits
by
DannyHamilton
on 31/08/2014, 13:31:44 UTC
They already have (Legendary). It comes sometime before 1000 activity (slightly randomized for each user).
Yes you are right! Is it applied manually by Theymos or is there any algorithm behind it for random choosing?
Actually, this is a very interesting question. I too wonder.

It's an algorithm.

Scroll back to post 595 in this thread and you'll find:

Currently this randomness is done with a single SQL query, which is very convenient.

Code:
update smf_members set ID_POST_GROUP=21 where ID_POST_GROUP=8 and
activity>=775 and activity>=775+conv(substr(sha1(concat(ID_MEMBER,
secretSeed)), 1, 2), 16, 10);