buddy online/offline
-----
| Author | Message | |
|---|---|---|
|
skywalker |
||
| Tue Nov 15, 2005 11:29 am Post subject: buddy online/offline | ||
|
i've got a problem ith the buddy popup in prillian iff i go to forum i get message that a buddy is online, this one stays online but if i read a topic or so and go then to another page i get a message he's offline, i go to another page and get again the message he's online and on and on...
is there anywhere where i can edit the session time for prillian? or is ther an other solution for this... |
||
|
Thoul |
||
| Wed Nov 16, 2005 8:26 am Post subject: re: buddy online/offline | ||
|
Prillian uses the same session time for this that phpBB uses in includes/page_header.php. It's in this code:
Code: $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE u.user_id = s.session_user_id AND s.session_time >= ".( time() - 300 ) . " $user_forum_sql ORDER BY u.username ASC, s.session_ip ASC"; You can adjust the 300 there to change the time. |
||
Page 1 of 1