UI.X 2

UI.X 2 2.2.15.0.2

No permission to download
Hello all,

I have a lot of error messages in my AdminCP in this form:

1684580735021.png

Here are the details:

Server error log​

ErrorException: Template error: [E_USER_WARNING] Macro public:uix_icons.less:content is unknown src/XF/Template/Templater.php:660
Generiert von: Unbekanntes Konto 20.05.2023 um 12:24

Stack-Trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/www/htXXXX/XXXX...', 660)
#1 src/XF/Template/Templater.php(660): trigger_error('Macro public:ui...', 512)
#2 src/XF/Template/Templater.php(773): XF\Template\Templater->getTemplateMacro('public', 'uix_icons.less', 'content')
#3 src/addons/MaZ/AMP/XF/Template/Templater.php(116): XF\Template\Templater->callMacro('uix_icons.less', 'content', Array, Array, NULL)
#4 internal_data/code_cache/templates/l2/s13/public/core_action_bar.less.php(139): MaZ\AMP\XF\Template\TemplaterAbstract->callMacro('uix_icons.less', 'content', Array, Array)
#5 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#6 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('core_action_bar...', Array, true, NULL)
#7 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:core_act...', Array, true, NULL)
#8 src/XF/Template/Templater.php(1683): MaZ\AUN\XF\Template\Templater->renderTemplate('public:core_act...', Array)
#9 internal_data/code_cache/templates/l2/s13/public/ampcore.less.php(211): XF\Template\Templater->includeTemplate('public:core_act...', Array)
#10 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#11 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('ampcore.less', Array, false, NULL)
#12 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:ampcore....', Array, false, NULL)
#13 src/XF/CssRenderer.php(333): MaZ\AUN\XF\Template\Templater->renderTemplate('public:ampcore....', Array, false)
#14 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:ampcore....', NULL)
#15 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#16 src/XF/CssRenderer.php(118): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#17 src/addons/MaZ/AMP/Styles.php(136): XF\CssRenderer->render(Array)
#18 src/addons/MaZ/AMP/Styles.php(170): MaZ\AMP\Styles::generate('13', '2', Array)
#19 src/addons/MaZ/AMP/Listener.php(111): MaZ\AMP\Styles::insertCss(Object(XF\Pub\App), 'forums', Array, '<!doctype html>...')
#20 src/XF/Extension.php(81): MaZ\AMP\Listener::app_complete(Object(XF\Pub\App), Object(XF\Http\Response))
#21 src/XF/App.php(2994): XF\Extension->fire('app_complete', Array, NULL)
#22 src/XF/App.php(2253): XF\App->fire('app_complete', Array)
#23 src/XF/Pub/App.php(456): XF\App->complete(Object(XF\Http\Response))
#24 src/XF/App.php(2490): XF\Pub\App->complete(Object(XF\Http\Response))
#25 src/XF.php(524): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}

Request status​

array(4) {
["url"] => string(13) "/forum/?amp=1"
["referrer"] => bool(false)
["_GET"] => array(1) {
["amp"] => string(1) "1"
}
["_POST"] => array(0) {
}
}



I don't know if the errors are caused by the UI.X style or if an addon is responsible.
I would appreciate if someone could give me some hints on how to fix the errors....

Thanks!
rike
 
I just updated my Xenforo to the newest version and after merging the outdated templates using the custom changes, the user info for every message now shows this:
gpusOdY.png

I thought it had to have something to do with UI.X / the theme, so I tried updating UI.X to it's newest version, but Xenforo is telling me that the .zip is not a valid archive:
QFHBbs5.png


I've also made a ticket on the ThemeHouse website, but after submitting said ticket, it is not showing up on my opened tickets.
 
FA not working for other add-ons

View attachment 286224

How to solve this?

That's a not-uncommon issue; We utilize Material icons and try to insert as many translations from FA to Material Icons as is reasonable, but not every icon gets at Material alternative.

I saw you switched to using FA, which is what I'd recommend in this context if you didn't want to go through and add your own alternatives.

Hello all,

I have a lot of error messages in my AdminCP in this form:

View attachment 286226

Here are the details:

Server error log​

ErrorException: Template error: [E_USER_WARNING] Macro public:uix_icons.less:content is unknown src/XF/Template/Templater.php:660
Generiert von: Unbekanntes Konto 20.05.2023 um 12:24

Stack-Trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/www/htXXXX/XXXX...', 660)
#1 src/XF/Template/Templater.php(660): trigger_error('Macro public:ui...', 512)
#2 src/XF/Template/Templater.php(773): XF\Template\Templater->getTemplateMacro('public', 'uix_icons.less', 'content')
#3 src/addons/MaZ/AMP/XF/Template/Templater.php(116): XF\Template\Templater->callMacro('uix_icons.less', 'content', Array, Array, NULL)
#4 internal_data/code_cache/templates/l2/s13/public/core_action_bar.less.php(139): MaZ\AMP\XF\Template\TemplaterAbstract->callMacro('uix_icons.less', 'content', Array, Array)
#5 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#6 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('core_action_bar...', Array, true, NULL)
#7 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:core_act...', Array, true, NULL)
#8 src/XF/Template/Templater.php(1683): MaZ\AUN\XF\Template\Templater->renderTemplate('public:core_act...', Array)
#9 internal_data/code_cache/templates/l2/s13/public/ampcore.less.php(211): XF\Template\Templater->includeTemplate('public:core_act...', Array)
#10 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, NULL)
#11 src/addons/MaZ/AMP/Traits/Templater/XF22.php(52): XF\Template\Templater->renderTemplate('ampcore.less', Array, false, NULL)
#12 src/addons/MaZ/AUN/XF/Template/Templater.php(39): MaZ\AMP\XF\Template\Templater->renderTemplate('public:ampcore....', Array, false, NULL)
#13 src/XF/CssRenderer.php(333): MaZ\AUN\XF\Template\Templater->renderTemplate('public:ampcore....', Array, false)
#14 src/XF/CssRenderer.php(260): XF\CssRenderer->renderTemplate('public:ampcore....', NULL)
#15 src/addons/ThemeHouse/UIX/XF/CssRenderer.php(40): XF\CssRenderer->renderTemplates(Array, Array, Array)
#16 src/XF/CssRenderer.php(118): ThemeHouse\UIX\XF\CssRenderer->renderTemplates(Array, Array, Array)
#17 src/addons/MaZ/AMP/Styles.php(136): XF\CssRenderer->render(Array)
#18 src/addons/MaZ/AMP/Styles.php(170): MaZ\AMP\Styles::generate('13', '2', Array)
#19 src/addons/MaZ/AMP/Listener.php(111): MaZ\AMP\Styles::insertCss(Object(XF\Pub\App), 'forums', Array, '<!doctype html>...')
#20 src/XF/Extension.php(81): MaZ\AMP\Listener::app_complete(Object(XF\Pub\App), Object(XF\Http\Response))
#21 src/XF/App.php(2994): XF\Extension->fire('app_complete', Array, NULL)
#22 src/XF/App.php(2253): XF\App->fire('app_complete', Array)
#23 src/XF/Pub/App.php(456): XF\App->complete(Object(XF\Http\Response))
#24 src/XF/App.php(2490): XF\Pub\App->complete(Object(XF\Http\Response))
#25 src/XF.php(524): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}

Request status​

array(4) {
["url"] => string(13) "/forum/?amp=1"
["referrer"] => bool(false)
["_GET"] => array(1) {
["amp"] => string(1) "1"
}
["_POST"] => array(0) {
}
}



I don't know if the errors are caused by the UI.X style or if an addon is responsible.
I would appreciate if someone could give me some hints on how to fix the errors....

Thanks!
rike
Looks like you're using some old templates; modern XF versions of our styles shouldn't be using uix_icons.less. I'd suggest re-installing your style and making sure you aren't including that template in any of your customized templates.


I just updated my Xenforo to the newest version and after merging the outdated templates using the custom changes, the user info for every message now shows this:
gpusOdY.png

I thought it had to have something to do with UI.X / the theme, so I tried updating UI.X to it's newest version, but Xenforo is telling me that the .zip is not a valid archive:
QFHBbs5.png


I've also made a ticket on the ThemeHouse website, but after submitting said ticket, it is not showing up on my opened tickets.
Looks like maybe something got removed in the merge, or a template mod from an addon isn't quite finding/replacing properly.

Regarding the install, when you install a style you won't be loading the ZIP in the addons section; If you want to manually install you'll upload the files in the upload folder within the zip, and then install the XML(s) contained within the same zip under the Appearance -> Styles section of the ACP.

Does ist support Pull-to-Refresh on the new PWA iOS App?
It should, yes; With the recent XF template changes I saw nothing that would've impacted that feature itself. Most of the template edits that weren't automatically mergeable were for the new back button functionality and the new meta data, but if you do have any issues be sure to let us know so we can investigate!

Could I get back the original html code of the "about us" widget?
Thank you

No problem!

HTML:
<div class="block" data-widget-definition="th_aboutUs">
    <div class="block-container block-container--noStripRadius">
        <h3 class="block-minorHeader">About us</h3>
        <ul class="block-body">
            <li class="block-row">Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.</li>
        </ul>
    </div>
</div>
 
Looks like maybe something got removed in the merge, or a template mod from an addon isn't quite finding/replacing properly.

Regarding the install, when you install a style you won't be loading the ZIP in the addons section; If you want to manually install you'll upload the files in the upload folder within the zip, and then install the XML(s) contained within the same zip under the Appearance -> Styles section of the ACP.
Ah, Yes. The installation of UI.X was definitely my blunder. Figured it out shortly after posting my message.

As for the issue, it was the template "post_macros" getting scrambled.
I fixed it by importing UI.X as an additional style and copying said template to my actual theme.
Absolutely no idea why that particular template broke during the update.
 
Can this style be installed via the ACP only, or does it require manually uploading directories and files via FTP?

Our Cloud service does not allow FTP or server access of any kind.
 
It requires FTP access to manually install it as I believe we had an archive importer before it was a core feature, and our archives aren't compatible with it and we haven't rebuilt how the themes get packaged. However our Install and Upgrade addon will pull in products (both addons and themes) with active licences from themehouse.com (even free products have a licence on your account) and will install them for you, which is our recommended way of doing it.
 
It is a free theme now, so not sure if there is an easier way now that we don't need a license for this particular theme.
 
Top Bottom