Charlie G
Member
Are you running v4.0.3 Pete?Errors after viewing log
Are you running v4.0.3 Pete?Errors after viewing log
I've released new version to fix above bugs. Please upgrade to latest version.Errors after viewing log
Code:InvalidArgumentException: Class Truonglv\IgnoreContent\Entity\Ignore\List does not match formatter pattern %s\%s\View\%s src/XF.php:1437 Generated by: Pete Thomas Nov 19, 2024 at 9:46 AM Stack trace #0 src/XF/App.php(1906): XF::stringToClass('Truonglv\\Ignore...', '%s\\%s\\View\\%s', 'Admin') #1 src/XF/Container.php(233): XF\App->XF\{closure}('Truonglv\\Ignore...', Array, Object(XF\Container)) #2 src/XF/Container.php(246): XF\Container->create('view', 'Truonglv\\Ignore...', Array) #3 src/XF/Mvc/Renderer/AbstractRenderer.php(80): XF\Container->XF\{closure}('Truonglv\\Ignore...', Array) #4 src/XF/Mvc/Renderer/AbstractRenderer.php(88): XF\Mvc\Renderer\AbstractRenderer->createViewObject('Truonglv\\Ignore...', 'admin:tic_ignor...', Array) #5 src/XF/Mvc/Renderer/Html.php(47): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('Truonglv\\Ignore...', 'admin:tic_ignor...', Array) #6 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Html->renderView('Truonglv\\Ignore...', 'admin:tic_ignor...', Array) #7 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View)) #8 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View)) #9 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html') #10 src/XF/App.php(2826): XF\Mvc\Dispatcher->run() #11 src/XF.php(806): XF\App->run() #12 admin.php(15): XF::runApp('XF\\Admin\\App') #13 {main} Request state array(4) { ["url"] => string(30) "/admin.php?tic-ignores/&page=5" ["referrer"] => bool(false) ["_GET"] => array(2) { ["tic-ignores/"] => string(0) "" ["page"] => string(1) "5" } ["_POST"] => array(0) { } }
It would appear to be no.can it ignore "categories"?
Yes you can set specific forums that cannot be ignored.can forums be excluded from option to ignore?
@truonglv is this something you would be willing to add in? some can be alot of forums to ignore one at a time.can it ignore "categories"?
What is XFRM?
[SOLVED]. Thank you!How can I buy a new license for our second forum? Do I need to register a different email for a different forum? I've asked twice already but got no replies so far. I need to move on this.
Regards,
Andre
<xf:css src="tic_ignore_content_style.less"/>
<a href="{$ignoreLink}" class="tic-button{{ $extra0Classes ? (' ' . $extra0Classes) : '' }}"
title="{{ $isIgnored ? $phrases.unignore : $phrases.ignore }}"
data-sk-ignore="{$phrases.ignore}" data-sk-unignore="{$phrases.unignore}"
data-xf-click="{{ $clickInit ?: 'overlay' }}"><xf:trim>
<xf:if is="$iconOnly">
<xf:if is="$isIgnored">
<xf:fa icon="fa-eye-slash" />
<xf:else />
<xf:fa icon="fa-eye" />
</xf:if>
<xf:else />
{$buttonText}
</xf:if>
</xf:trim></a>
a.tic-button {
color: #6f768d;
font-size: 0.80em;
font-weight: 400;
text-transform: none;
}
(Feel free to delete).
The new update introduces a visible "button" around the phrase "Ignore."
View attachment 319569
I was asked to remove it, and I spent a big chunk of time trying to identify the templates and code to modify to achieve this.
So IF this can be useful to others, here is how I did it.
Two (2) files need to be edited:
1. tic_ignore_content_button
2. tic_ignore_content_style.less
1. For tic_ignore_content_button I interrupted the call to $extraClasses by editing its name. You could use any character, I used 0.
Code:<xf:css src="tic_ignore_content_style.less"/> <a href="{$ignoreLink}" class="tic-button{{ $extra0Classes ? (' ' . $extra0Classes) : '' }}" title="{{ $isIgnored ? $phrases.unignore : $phrases.ignore }}" data-sk-ignore="{$phrases.ignore}" data-sk-unignore="{$phrases.unignore}" data-xf-click="{{ $clickInit ?: 'overlay' }}"><xf:trim> <xf:if is="$iconOnly"> <xf:if is="$isIgnored"> <xf:fa icon="fa-eye-slash" /> <xf:else /> <xf:fa icon="fa-eye" /> </xf:if> <xf:else /> {$buttonText} </xf:if> </xf:trim></a>
2. Then, create your own CSS rule in tic_ignore_content_style.less to control the a.tic-button parameter.
Insert this code at the bottom of that file. The parameters are yours to decide, I just picked these for now.
▼
Code:a.tic-button { color: #6f768d; font-size: 0.80em; font-weight: 400; text-transform: none; }
Result looks more tidy:
▼
View attachment 319570
Hope this helps!
Andre
Notable changes:
- Added new style property allow customize ignore button
did you check style properties? idk, i saw him mention it that way, you may need to configure it back as a button somewhere, but idkJust updated to 4.0.6 and users are unable to see the button in thread list
I told my users now it is back because I saw it, they said no it´s not.Yes I saw there is a new style property, but that didn't seem to affect the lack of a button.
NB: moderators who had edit any thread enable could see it.
However, the style properties are not affecting the ignore button in thread listNB: moderators who had these permissions could see it:
We use essential cookies to make this site work, and optional cookies to enhance your experience.