• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • 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

Well-known member
#1
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.
 
R

ragtek

Guest
#2
If you need the advanced stuff, check XenForo_ControllerPublic_Thread ;)
There you can see what they do with the activities array^^