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

Discussion in 'Development Tutorials [Archive]' started by Jeremy, Nov 20, 2010.

  1. Jeremy

    Jeremy XenForo Moderator Staff Member

    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.
     
  2. ragtek

    ragtek Guest

    If you need the advanced stuff, check XenForo_ControllerPublic_Thread ;)
    There you can see what they do with the activities array^^
     
    Jeremy likes this.
  3. Jeremy

    Jeremy XenForo Moderator Staff Member

    Haven't gotten there yet. haha.
     

Share This Page