[OzzModz] Force Ignore

[OzzModz] Force Ignore [Paid] 2.0.1

No permission to buy ($10.00)

Ozzy47

Well-known member
Ozzy47 submitted a new resource:

[OzzModz] Force Ignore - Allow staff to force ignore users

Requirements:
XenForo 2.3+

Description:
This addon allow staff with the proper permissions to set users to force ignore. Once forced ignored, the user can not unignore the ignored user, only staff with the proper permissions can unignore a forced ignore. This does not change the default XenForo viewing of a ignored user, the user will still see the prompts to view ignored content.

If you remove a forced ignore and it is a two way ignore, it will be removed for both users...

Read more about this resource...
 
Ozzy47 updated [OzzModz] Force Ignore with a new update entry:

[OzzModz] Force Ignore for XenForo for XenForo 2.2+ Update 2.0.1

2.0.1

Fix:
Properly uninstalls columns added by the addon in the xf_user_ignored table
Change: Now will remove any forced ignores added while running the addon
Added: Option to hide the "Show ignored content" link in threads so users can not click on it to see ignored content.
Added: A cron to turn off the option "Add error logging for debug purposes" in case you forget to turn it off after debugging with Ozzy47. The cron runs every ten minutes.

Read the rest of this update entry...
 
Just a quick note, in the Overview section of this addon, you have listed compatibility with XF 2.2, 2.3 and you indicated that this addon is for XF 2.3+.

1741521386595.webp

The addon does appear to work as intended in XF 2.3.x (2.3.6 tested) and it does throw an error in 2.2.17 when a member who is on forced ignore tries to view their ignored list. (../account/ignored)

You can of course ignore this report if it's truly only supported for XF 2.3+.

Code:
[*]InvalidArgumentException: Class XF\Finder\UserFinder does not match formatter pattern %s\Entity\%s
[*]src/XF.php:1129
[*]Generated by: ENF_Ignored_B
[*]Mar 9, 2025 at 8:50 PM

Stack trace

#0 src/XF/Mvc/Entity/Manager.php(50): XF::stringToClass('XF\\Finder\\UserF...', '%s\\Entity\\%s')
#1 src/XF/Mvc/Entity/Manager.php(69): XF\Mvc\Entity\Manager->getEntityClassName('XF\\Finder\\UserF...')
#2 src/XF/Mvc/Entity/Manager.php(225): XF\Mvc\Entity\Manager->getEntityStructure('XF\\Finder\\UserF...')
#3 src/XF/Mvc/Controller.php(1010): XF\Mvc\Entity\Manager->getFinder('XF\\Finder\\UserF...')
#4 src/addons/OzzModz/ForceIgnore/XF/Pub/Controller/Account.php(21): XF\Mvc\Controller->finder('XF\\Finder\\UserF...')
#5 src/XF/Mvc/Dispatcher.php(352): OzzModz\ForceIgnore\XF\Pub\Controller\Account->actionIgnored(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'Ignored', Object(XF\Mvc\RouteMatch), Object(OzzModz\ForceIgnore\XF\Pub\Controller\Account), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\ForceIgnore\XF\Pub\Controller\Account), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2513): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state

array(4) {
  ["url"] => string(16) "/account/ignored"
  ["referrer"] => string(28) "https://enf.jp/xf2217"
  ["_GET"] => array(1) {
    ["/account/ignored"] => string(0) ""
  }
  ["_POST"] => array(0) {

  }
}
 
Last edited:
Back
Top Bottom