displaying the online users (and staff) without needing the ugly sidebar

Buck Russell

New member
what is the xen code to pull the online users/staff list? i tried the code in the sidebar template but it returns no results. i don't want to buy an add-on i just need to know the code to pull that info.

Chris D

XenForo developer
Staff member
If you need to know the code, you should look at library/XenForo/ControllerPublic/Forum.php and the function actionIndex.