1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding information to the statistics tool

Discussion in 'XenForo Development Discussions' started by Jaw.sh, Feb 21, 2015.

  1. Jaw.sh

    Jaw.sh Member

    Hey,

    I've been probing this myself for a few hours but I'm close to being completely stumped. I can't find any resources on this

    I've added the following:
    1. An appropriate Mod_StatsHandler_Type with settings perfectly matching exist XenForo defaults.
    2. A row for each stat into xf_content_type with ('stat_type', 'addon_id', 'serialized array pointing to my class')
    3. A row for each stat into xf_content_type_field with ('stat_type', 'stats_handler_class', 'Mod_StatsHandler_Type'

    I still do not see my checkboxes on the daily statics page, though. What am I missing?
     
  2. digitalpoint

    digitalpoint Well-Known Member

    Did you rebuild the content cache so XF knows about your new handler/content type?
     
  3. Jaw.sh

    Jaw.sh Member

    I can't find an option to clear the content cache on the rebuild cache page. What's the relative URL for this page?
     
  4. digitalpoint

    digitalpoint Well-Known Member

    There is no way to do it with the default UI... you either need to build a mechanism to do it yourself or you could probably force XF to do it on it's own by doing something like disabling an addon and then reenabling it.
     
    Jaw.sh likes this.
  5. Jaw.sh

    Jaw.sh Member

    Heroic. Thank you.
     

Share This Page