I think it would be handy for admins and users to have a who's online feature.
Do you mean for the adoptables site itself?
A way must exist because on a myadopts hosted site there is online.php
ok so why not add something to the header that just adds say a one to the a cell in the user table everytime the header loads and then make a cron that takes away the one each minute.
It would be off by 59 seconds give or take but but if a person just wanted an idea of the useage that would work.
Or make it add the new time stamp to header so each time it loaded they put in a new time stamp.
My game shows the users online and it shows the number of seconds since they made their last click.
if something like this is still wanted I can make it work but I don't want to put a lot of time into something that people don't really want.
I'll be honest tho this script is written in a code that I don't really work with a lot, I was playing with it just to see and I got the cron 1 minute thing working, that is pretty simple but i was having a problem getting it to read the time stamp right.
I work in php but this thing is totally different from the way that I write. I am sure I can get the time stamp to go but like i said i don't want to spend a lot of time if really isn't wanted.
$var = Get Current Page
$res = Select all rows from table $prefix_activity
if Number of Rows in $res > 249 {
Delete oldest activity
}
Insert into $prefix_activity user, time, and current page
//Show page normally