[MMO] Hide Bb-Code Content System

[MMO] Hide Bb-Code Content System 2.3.2

No permission to download
Hello,
thank you for the update, however I have a question if you allow me, we must update the addon if we go to version XF 2.3.0 or we can update it even if we are under XF 2.2 ?
 
Hello,
thank you for the update, however I have a question if you allow me, we must update the addon if we go to version XF 2.3.0 or we can update it even if we are under XF 2.2 ?
To update the add-on you must have version 2.3 installed
 
I was testing out this addon with various tags, but I found the [HIDE] tag throws this error (XF 2.3, addon v 2.3.1):

ErrorException: [E_DEPRECATED] preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in src/addons/MMO/Hide/BbCode/Tag/Hide.php at line 34
  1. XF::handlePhpError()
  2. preg_match() in src/addons/MMO/Hide/BbCode/Tag/Hide.php at line 34
  3. MMO\Hide\BbCode\Tag\Hide->render() in src/addons/MMO/Hide/BbCode/AbstractTag.php at line 133
  4. MMO\Hide\BbCode\AbstractTag::renderHide() in src/XF/BbCode/Renderer/Html.php at line 349
  5. XF\BbCode\Renderer\Html->renderTag() in src/XF/BbCode/Traverser.php at line 63
  6. XF\BbCode\Traverser->renderSubTree() in src/XF/BbCode/Traverser.php at line 39
  7. XF\BbCode\Traverser->renderAst() in src/XF/BbCode/Traverser.php at line 22
  8. XF\BbCode\Traverser->render() in src/XF/SubContainer/BbCode.php at line 236
  9. XF\SubContainer\BbCode->render() in src/XF/Service/Message/PreparerService.php at line 356
  10. XF\Service\Message\PreparerService->checkValidity() in src/addons/MMO/Hide/XF/Service/Message/PreparerService.php at line 17
  11. MMO\Hide\XF\Service\Message\PreparerService->checkValidity() in src/XF/Service/Message/PreparerService.php at line 143
  12. XF\Service\Message\PreparerService->prepare() in src/XF/Service/Post/PreparerService.php at line 103
  13. XF\Service\Post\PreparerService->setMessage() in src/XF/Service/Thread/ReplierService.php at line 124
  14. XF\Service\Thread\ReplierService->setMessage() in src/XF/Pub/Controller/ThreadController.php at line 487
  15. XF\Pub\Controller\ThreadController->setupThreadReply() in src/XF/Pub/Controller/ThreadController.php at line 636
  16. XF\Pub\Controller\ThreadController->actionAddReply() in src/addons/ThemeHouse/AutoMergeDoublePost/XF/Pub/Controller/Thread.php at line 42
  17. ThemeHouse\AutoMergeDoublePost\XF\Pub\Controller\Thread->actionAddReply() in src/XF/Mvc/Dispatcher.php at line 362
  18. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  19. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  20. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  21. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  22. XF\App->run() in src/XF.php at line 802
  23. XF::runApp() in index.php at line 23
 
I must be missing a step in the configuration--I've tried a few of the HIDE BBCodes and none of them are hiding content. Not even for my test user which has only basic permissions.

I'm going to have to look through the permissions more.

I really only want the main [HIDE] tag to hide content from visitors who are not logged in, so I may change the phrase and template layout to fit my needs better. But that's easy to do. 👍
 
Hello, thanks for the great add-on.

Maybe noob question, but for example:
If i hide text for user "user1", user1 sees the tag with text "Hidden text exclude for users: user1"

How can i hide it? It doesn't make sense to user1 sees message that there is hidden content from him.

Many thanks for answer(s) ;)
 
Last edited:
Not sure if its a XF 2.3.3 issue or a plugin issue but no matter how permissions are set they seem to be completely ignored.

When using "Reply & Thanks" option.
 
Back
Top Bottom