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

Implemented Allow XenForo_ProxyOutput to be extended

Jon W

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

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

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

Mike

XenForo developer
Staff member
#2
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
#3
Thanks, and point taken.

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