Well-known member

My suggestions isn't really because of the possibility to share them with others
It's to not have to do the changes manual on all the instances (dev, test, live) Just like with the suggestion to be able to export the options

It would clash with other add-ons using the same route. I could have changed it to gallery. But no doubt one day that would clash too. If XenForo released an official gallery, that may cause issues too.

So I made the change so that my add-on was shipped with the route "xengallery".

I implemented my own route changer type system so that it was easy to change "xengallery" to "media" and I shipped that with the default option.

Since the Route Filters came along, I can use the above code in the installer to create the route filter if it doesn't exist and later remove it during uninstall. I'm happy to carry on doing this, but I'd much rather that process be handled by XenForo and be more closely tied with the add-on system. As well as creating and removing the route filter, I'd like to see that being upgraded by an add-on upgrade and disabling it if the add-on is disabled.

The latter in itself goes some way to mitigate the issue of a site being screwed up by an add-on or causing problems with others. But, of course, they can be disabled in the Admin CP easily enough anyway. And there's just as much chance of someone screwing up an install using my code above, as there is if a route filter was added using an add-on XML.