Users may have some privacy-related content that only want to be seen by the discussion author. For this reason, we add a [OP]Hide Content[/OP]
tag. The content marked with this tag will only be seen by the host (and administrator).
At the same time, you can add a permission for discussions under certain tags, and you can specify that only specific user groups can see the content of the partition. Ordinary users can create discussions under this tag and see their own discussion content and responses, but cannot see other people's discussion content (including #1).
Installation
Install with composer:
composer require imdong/flarum-ext-visible-to-op-only:"*"
Updating
composer update imdong/flarum-ext-visible-to-op-only:"*"
php flarum cache:clear
Known issues
- When
askvortsov1/flarum-pwa
is enabled, if users follow the discussion of tag, they may see part of #1 in the new reply push. Temporary solution
Links
Links