Implemented Allow XenForo_ProxyOutput to be extended

Jon W

Well-known member
Please could you replace the static run method in XenForo_ProxyOutput in XenForo 1.3 with:
     * Static helper to execute a full request for proxy output
    public static function run()
        $dependencies = new XenForo_Dependencies_Public();

        $class = XenForo_Application::resolveDynamicClass('XenForo_ProxyOutput');

        $proxyOutput = new $class($_REQUEST, $dependencies);
I would really like to be able to extend this class.


XenForo developer
Staff member
I have done this, but I'm not clear on why. Suggestions tend to be better if they explain motivations as well as the desired change (as it makes it more compelling).

Jon W

Well-known member
Thanks, and point taken.

In this case, I would like to add other proxies -- namely, a thumbnail proxy for my Thread Thumbnails add-on.