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

XF 1.5 Disable listeners of individual add ons

Discussion in 'XenForo Questions and Support' started by oman, Jan 11, 2016.

  1. oman

    oman Well-Known Member


    I'm aware you can use the following feature to disable the listeners of all add ons: https://xenforo.com/help/disable-addons-config-php/

    Is it possible to do the same, but for specific add ons? I want the same effect as that method if possible?

  2. Mike

    Mike XenForo Developer Staff Member

    No. You have to disable the add-on via the control panel. (The config.php switch is only designed for an emergency situation to get back into the control panel if an add-on prevents access. Disabling the add-on via the control panel is the proper way to remove the effects of an add-on.)
  3. oman

    oman Well-Known Member

    I've got a situation where two add ons use the same route - and when disabling one, the other one won't work with that route and says it is not found.

    I sought some info about this and was told it had something to do with how XenForo handles two add ons using the same route.

    Two portal add ons, and disabling one still won't let the other work.
  4. Mike

    Mike XenForo Developer Staff Member

    Disabling listeners wouldn't fix that. Whenever there's a conflict, it's basically the last action that wins, so the last imported add-on in this case. Effectively, you can't have both of those add-ons installed simultaneously.
  5. oman

    oman Well-Known Member

    So what would be the best way to reset it? It seems like uninstalling the winning one doesn't bring back the other?
  6. Mike

    Mike XenForo Developer Staff Member

    Uninstall the one you don't want and "upgrade" the one you do to ensure all of its data is in place.
  7. oman

    oman Well-Known Member

    Thank you very much for your advice @Mike

    Problem solved. :)

Share This Page