Resource icon

Ban Groups 2.3.0

No permission to download

Xon

Well-known member
Xon submitted a new resource:

Ban Groups - 1.0.0

Add users to different groups depending on how they are banned.

Note; does not switch groups if the user goes from perma-baanned to temp banned or vis-versa.

On install, the "Add User Group on Ban" setting is copied into the new ban group settings.

Options
View attachment 166613


Contributing features or bug fixes
Please create a Github Pull request via the "More Information" link.

Contributions

If you appreciate this addon, please consider a contribution via...

Read more about this resource...
 
getting this error

ErrorException: [E_RECOVERABLE_ERROR] Argument 2 passed to XF\Service\Thread\Replier::__construct() must be an instance of XF\Entity\Thread, null given, called in /var/www/vhosts/kekz.info/httpdocs/src/XF/Container.php on line 274 and defined in src/XF/Service/Thread/Replier.php at line 35


  1. XF::handlePhpError() in src/XF/Service/Thread/Replier.php at line 35
  2. XF\Service\Thread\Replier->__construct() in src/XF/Container.php at line 274
  3. XF\Container->createObject() in src/XF/App.php at line 1319
  4. XF\App->XF\{closure}() in src/XF/Container.php at line 228
  5. XF\Container->create() in src/XF/App.php at line 2457
  6. XF\App->service()
  7. call_user_func_array() in src/XF.php at line 526
  8. XF::service() in src/addons/XenMax/BannedPost/XF/Repository/Banning.php at line 70
  9. XenMax\BannedPost\XF\Repository\Banning->banUser() in src/XF/Pub/Controller/Member.php at line 878
  10. XF\Pub\Controller\Member->userBanSaveProcess() in src/XF/Pub/Controller/Member.php at line 895
  11. XF\Pub\Controller\Member->actionBanSave() in src/XF/Mvc/Dispatcher.php at line 249
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1880
  15. XF\App->run() in src/XF.php at line 328
  16. XF::runApp() in index.php at line 13
 
@EAGLE 1
That isn't my add-on in that stack trace. It is Banned Post.

A quick look at that add-on shows it doesn't have any error checking to ensure the thread it is posting to exists.
 
I have a suggestion: Can you add the ban reason like this?
 

Attachments

  • Screenshot_20180804-154244_Samsung Internet.webp
    Screenshot_20180804-154244_Samsung Internet.webp
    38.8 KB · Views: 11
Could you add a third dropdown for temporary ban. I would like to put temporary banned user in a special group.

Would be great! :)
 
Xon updated Ban Groups with a new update entry:

2.2.0 - Feature update

This add-on is now available on atelieraphelion.com

  • Require php 7.2+
  • Require XenForo 2.2+
  • Fix case where users did not have the disabled/rejected group applied if the user account was created in a disabled/rejected state
  • When changing a user from being temporary banned to permanently banned (or the reverse) update the ban group that is applied
  • Improve job rebuild behavior to apply/remove ban groups

Read the rest of this update entry...
 
Back
Top Bottom