Resource icon

Ban Groups 2.1.0

No permission to download


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.

View attachment 166613

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


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

Read more about this resource...


Active member
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/ 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


Well-known member
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.


Active member
I have a suggestion: Can you add the ban reason like this?


  • Screenshot_20180804-154244_Samsung Internet.jpg
    Screenshot_20180804-154244_Samsung Internet.jpg
    147.9 KB · Views: 8


Well-known member
Could you add a third dropdown for temporary ban. I would like to put temporary banned user in a special group.

Would be great! :)