I have a dating site and I would like to add some kind of bonus to the members that are often online. I want to add virtual activity points to the site.
For every minute a member is online he should get 1 activity point, so the script can just check the online users every minute and add them a point to the MySQL table (I already have a php file that displays all online users). On the 1st of every month every member should get back to 0 activity points again.
It should not count inactive online users, so it shouldn't add points if the user simply lets his browser open and just appears online without any activity.
I'd also like members with higher activity points to appear higher in the search results.
Last, I would like to be able to add activity points through the administration panel to any user.