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

Lack of interest New Phrase suggestion

xf_phantom

Well-known member
#1
It would be very useful , if you would create a phrase for the really really often used error message "This add-on requires XenForo 1.2.0 or higher.'" (used by many addons inside the install controller
PHP:
    if (XenForo_Application::$versionId < 1020070)
     {
       // note: this can't be phrased
       throw new XenForo_Exception('This add-on requires XenForo 1.2.0 or higher.', true);
     }
Instead of XenForo 1.2.0, i would also suggest to replace XenForo with a variable, then we could use it for xenforo version errors AND for other messages like
This add-on requires [bd] WidgetFramework 2.4.0 or higher.
.