Do you mean the time that the Who's online screen updates?
There are two areas you can look:
ubbt.inc.php
<br /> // -----------------------------------------------<br /> // Expire any outdated entries in the Online table<br /> $Outdated = $html -> get_date();<br /> $Outdated = $Outdated - 600;<br /> $query = "<br /> DELETE FROM {$config['tbprefix']}Online<br /> WHERE O_Last < $Outdated<br /> ";<br />
The 600 is the number of seconds
and also in the online.php
<br />// -------------------------<br />// Delete the inactive users<br /> $html = new html;<br /> $Outdated = $html -> get_date() - 600;<br /> $query = "<br /> DELETE FROM {$config['tbprefix']}Online<br /> WHERE O_Last < $Outdated<br /> ";<br /> $dbh -> do_query($query);<br />
The above will change the time that the user's navigation on your forum changes the contents of the w3t_Online table. If you wish the Who's Online screen to refresh every say 20 minutes then all you have to do is go to the online.php and find this line:
<br />// ------------------<br />// Send a html header<br /> $html -> send_header($ubbt_lang['ONLINE_HEAD'],$Cat,"<meta http-equiv=\"Refresh\" content=\"60;url={$config['phpurl']}/online.php?Cat=$Cat\" />",$user);<br />
and change the
Refresh" content="60; to the number of seconds you want that page to refresh (for 20 minutes this will be 1200)
Warm regards
Nikos