https://www.icyphoenix.com/viewtopic.php?f=35&t=865
-----------------------------------
hpl
Thu 11 Jan, 2007 14:34

Recent Topic In View Online
-----------------------------------
Hi,

from ACP I want to set 5 recent topics on view online page.....see the image....the graphic is not the best....is possible to set number of last user online = to recent topic??


-----------------------------------
Mighty Gorgon
Fri 12 Jan, 2007 02:29

Re: Recent Topic In View Online
-----------------------------------
Edit this line in [b]viewonline.php[/b]:

FIND
[codeblock]	$sql = "SELECT username, user_id, user_lastlogon, user_level, user_allow_viewonline FROM " . USERS_TABLE . " WHERE user_id > 0 ORDER BY user_lastlogon DESC LIMIT 10";[/codeblock]

REPLACE WITH
[codeblock]	$sql = "SELECT username, user_id, user_lastlogon, user_level, user_allow_viewonline FROM " . USERS_TABLE . " WHERE user_id > 0 ORDER BY user_lastlogon DESC LIMIT " . $config_mg['last_msgs_n'];[/codeblock]


-----------------------------------
KugeLSichA
Fri 12 Jan, 2007 13:39

Re: Recent Topic In View Online
-----------------------------------
coooool

i like this and added this to my site thx :mrviolet:


-----------------------------------
LordC
Wed 24 Jan, 2007 20:16

Re: Recent Topic In View Online
-----------------------------------
hello how do I add in the viewonline page the last users online, the recent topics and the shoutbox? because I only see the who is online box...

thank you very much  :mrblue:


I found the way: I just have to go to [b]ACP[/b] > [b]Settings[/b] > [b]DB[/b]


