• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Setting Session Activity

Jeremy

in memoriam 1991-2020
How do you set the session activity for your add-on? Well, in controller public, define the following function:

PHP:
	public static function getSessionActivityDetailsForList(array $activities)
	{
		return new XenForo_Phrase('what_itll_say');
	}

Not sure about advanced stuff, but that's it.
 
If you need the advanced stuff, check XenForo_ControllerPublic_Thread ;)
There you can see what they do with the activities array^^
 
Top Bottom