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

Analyzing an add-on, trying to fix 1.2 issues

Discussion in 'XenForo Development Discussions' started by chrisj, Feb 28, 2014.

  1. chrisj

    chrisj Active Member

    I was trying to fix this add-on for 1.2:


    The structure off the add-on is:

    ClearCache.php - Doesn't seem to be used but would reset the cache.
    Controller - Empty file, probably does nothing.
    Public.php - adds status and status comments to the response->params.

    ProfilePost.php - saves the profile post and resets the recent status cache. (so clearcache seems extraneous)

    DataWriter.php - triggers the ProfilePost datawriter.
    LoadClassController.php -triggers the Public.php code.
    TemplateHook.php - adds status and status comments to the templete. (so Public.php seems extraneous)

    I've written an add-on before but I didn't hook into Xenforo as much. Am I correct in stating that it can be cut down to:


  2. tajhay

    tajhay Well-Known Member

    Not answering your question, but i would highly recommend xfrocks bd widget framework addon. A widget for the recent status already exists within that package and allows you far more configurability as well as able to add different things to your forum, anywhere you would like with it.

Share This Page