grantus
Active member
Hi,
I have a custom page where I'm trying to show the online users, and I'm able to do it by putting this:
inside the pagenode_container template. It shows but the problem is I get this error:
Any ideas on the error and how I can properly include the online users in a page?
Thanks.
I have a custom page where I'm trying to show the online users, and I'm able to do it by putting this:
Code:
<xen:include template="sidebar_online_users"></xen:include>
inside the pagenode_container template. It shows but the problem is I get this error:
Code:
Invalid argument supplied for foreach() in E:\home\www\library\XenForo\Template\Abstract.php(265) : eval()'d code, line 274:
273: ';
274: foreach ($onlineUsers['records'] AS $user)
275: {
Any ideas on the error and how I can properly include the online users in a page?
Thanks.