How To Change Online List?!

Started on the old forum in November 2008 · view the original in the archive · old links redirect here

1 reply · 524 views · started 18 years ago · 1 min read

Guest #1

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!!!

valentin2br Junior · 47 posts #2

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."'");

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close