How To Change Online List?!
Started on the old forum in November 2008 · view the original in the archive · old links redirect here
QUOTE (mobilmega @ Nov 28 2008, 11:30 PM) <{POST_SNAPBACK}>
Does some body now how to chancge time on OnLine List???
Now i see members why is there seven min. (7) ! I want to chancge that? I want to see members OnLine in last five min (5)
Thanks!!!
go to core.php end u find this
function addonline($uid,$place,$plclink)
{
/////delete inactive users
$tm = time();
$timponline = mysql_fetch_array(mysql_query("SELECT value FROM name_settings WHERE name='online'"));
$online = $timponline[0];
$timeout = $tm - 300; //heere u change
$timeout = $tm - $online;
$deloff = mysql_query("DELETE FROM name_online WHERE actvtime <'".$timeout."'");