Guide for adding 'Current Members' listing for add-ons?


Well-known member
I've been following the various guides about creating custom add-ons with pages & routes but I'm not finding any guides that also talk about how to update the 'Current Visitors' page so that the activity for the person on the new page (eg: shows them as being on the new page (myPage) as opposed to the generic viewing index.

Thanks :oops:


Active member
From XenForo_ControllerPublic_Index.
public static function getSessionActivityDetailsForList(array $activities)
    return new XenForo_Phrase('viewing_forum_list');
Add that function, with a slightly different phrase perhaps, to your own controller and you should be good to go. :)
For more advanced stuff check XenForo_ControllerPublic_Thread.