Unclassified NewsBoard Code Reference

ShowOnlineUsers function

List users that were online in the last 5 mins

function ShowOnlineUsers ($forumid);

Parameters:

forumid
(int) -1: list users that have been online today. no forum restriction here
0: list users that have been online in the last 5 mins (configurable value)
> 0: restrict the meaning of "being online" to a single forum id

Implementation file: unb_lib/main.inc.php, line 1305

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.