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

xenForo equivalent of "plugin/hook" system from vBulletin?

Discussion in 'XenForo Development Discussions' started by Peace, May 8, 2016.

  1. Peace

    Peace Active Member

    Hi everyone! I'm trying to learn more about add-on development in xenForo.

    With vBulletin, I could write quick plugins, register the variables in a template, and then call them from the template.

    I'm trying to learn the equivalent way of doing that in xenForo. As an example, I use Waindigo's Last Post Avatar plugin.

    I load threadlist views in various locations outside of the actual threadlist page. But in these locations, the Last Post Avatar is always blank. I understand logically that I need to pass the last post avatar information into other locations (beyond the threadlist view), but I'm not sure conceptually how to do that.

    I know xenForo uses listeners with add-ons, so maybe that's where I need to start? I have many more examples/needs like this, and I'd love to better understand xenForo's plugin system so I can become more self-sufficient like I was with vBulletin.

    Last edited: May 8, 2016
  2. Alfa1

    Alfa1 Well-Known Member

    Peace likes this.
  3. Peace

    Peace Active Member

Share This Page