I need help with this too.Welcome
There are two options that I don't know how to deal with
Can you explain what to do?
look at the picturesView attachment 276424View attachment 276425
XFOptimize
Version: 1.0.2 Release Candidate 4
Changelog
- Added improved compatibility for /View/ class extensions when other addons extend those same classes
Update on what specifically?Do we wait for 2.3 to come along before the new update on this?
ErrorException: [E_WARNING] Attempt to read property "message" on bool src/addons/Nulumia/XFOptimize/XF/Pub/View/Thread/View.php:28
Stack trace
#0 src/addons/Nulumia/XFOptimize/XF/Pub/View/Thread/View.php(28): XF::handlePhpError(2, '[E_WARNING] Att...', '/home/oakleyfo/...', 28)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(91): Nulumia\XFOptimize\XF\Pub\View\Thread\View->renderHtml()
#2 src/XF/Mvc/Renderer/Html.php(47): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Thread\\View', 'public:thread_v...', Array)
#3 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#4 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(Nulumia\XFOptimize\XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(Nulumia\XFOptimize\XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
extra_copyright
phrase with a bit of HTML. Not only to style it a little, but also to add a script that keeps the current year up-to-date, so I don't have to edit the phrase manually every new year.<script type="text/JavaScript">document.write(new Date().getFullYear());</script>
I'm using something similar, you can achieve this without JS.Or does anyone know a valid alternative to avoid to manually editing the current year every time?
{{ phrase('extra_copyright') }}
with {{ phrase('extra_copyright', {'year' : date($xf.time, 'Y')}) }}
, afterwards you can edit the phrase extra_copyright
and use {year}
for the current year, e.g. © 2010 - {year} <a href="https://example.com">Example.com</a> All Rights reserved.
Just to chime in, we use the standard style assets to link the images. CSS template code might look like:
Code:background: url({{ asset('stylefolder') }}/xenforo/bg.png) no-repeat 0 0;
As an example.
Enabling Move blocking CSS to inline style did mess with the loading of my style.
Before:
View attachment 276439
After:
View attachment 276440
Bug on your end related to the setting or style related issue to take with Russ?
The console says "failed to load resources", and then pointing to the various elements missing from the style.
This issue is still there in the latest version.Based on Omni. (but customized version).
We use essential cookies to make this site work, and optional cookies to enhance your experience.