Open zmattingly opened 1 year ago
Probably the easiest way to do this is to add a last_modified
to the user
table. Since it would update on any XP, and anything you do adds XP, we could use that instead of tracking logins. This would miss lurkers, but do we want to keep lurkers at high rank?
Since it would update on any XP
Isn’t it possible to opt out of the XP system though?
I had thought that it was impossible to opt out of the XP, just that it stop level ups and badge trading. My memory was that there were people that had opted out, and when they opted in again, they got several levels in a row. But looking at the actual thing in xp.py
, it does require it be enabled to earn any XP.
We might want to make it a last_seen
that is updated on a login. The problem is, when is the login message sent? It’s likely different for mobile, desktop, and web platforms, and it’s possible that something like the mobile app won’t logout when it’s in the background, so some people might be continuously logged in for months.
Another possibility is to just run a search for the ●●+ people to see when their last message was. We could run a script to check them (monthly?) and see if anyone has not posted anything for half a year.
Per Gulliver Skidmore: