PHP 8.3.0+ is now required
Fixed:
Added:
- Fatal error "Declaration of Symfony\Component\Cache\CacheItem::get() must be compatible with Psr\Cache\CacheItemInterface::get(): mixed" on /help/bb-codes/ and in messages with HIDE expressions, when another add-on loads a newer psr/cache. The add-on no longer uses symfony/cache.
- Forum-wide hide expiration did not trigger with [MMO] Core Library 2.3.2.
- "Why hidden?" now works for any content with hide blocks, not only posts. It opens from a question mark icon in the title of the hide block.
- New permission "See why content is hidden for yourself": members see their own result on blocks that are closed for them.
Add option "Enable expressions in[HIDE]"
Add[EARLY=N]tag - early access. The content opens to everyone N days after the message was posted or last edited.
Add conditions in the condition builder:
Example of a collective unlock: [HIDE=(content_reactions >= 50)]
- replied - the user has replied in the thread
- liked - the user has liked the message
- content_days - days since the message was posted or edited;
- content_reactions - the reaction score the message has collected;
- thread_replies - the number of replies in the thread.
Add progress bar on hidden blocks.
Attachments embedded only inside hidden blocks can no longer be downloaded by a direct link (posts, direct messages, profile posts and their comments)
The API no longer returns hidden blocks in message and no longer lists hidden attachments.
Hidden text no longer gets into the search index
[THANKS], [REPLYTHANKS], [REPLYANDTHANKS]: with the reaction cache option on, any reaction was accepted; now it is always "Like" only
Fix snippets showed the phrase key mh_strip_visited_thread instead of its text.
Fix error text of an invalid expression was escaped twice.
The content of a hidden block is no longer rendered.
Only the variables an expression mentions are calculated, query results are cached for the request
Fixed node-level bypass permissions not applying correctly in some cases
Reacting to a post no longer triggers unnecessary reloads on posts without hide tags
Removing a reaction now properly re-hides the content
Hide blocks with [REPLY], [REPLYTHANKS], [REPLYANDTHANKS] now reveal instantly after posting a quick reply
Combined nested hide blocks now collapse into a clean accordion when requirements aren't met, e.g. "3 requirements to view hidden content" - click to expand and see what's needed
Added separate style settings to control whether visible and hidden accordions are expanded or collapsed by default
Add mhHideNestableMode style property to enable/disable combining
Nested hide tags now display as single block with all requirements
Show checkmarks/crosses for met/unmet requirements
Add accordion UI for visible state (collapsed by default)
Add phrases with plural support (mh_hide_requirements_word)
Fix posts phrase consistency (message -> post)
![]()
![]()
![]()
![]()
Fix 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
Now you can set individual css for a specific hide tag
Add new option, for display register or auth tags
In accordance with the new option, the event was deleted mh_hide_auth_tag_codes
Add new option Restricted tags for Hide Expiration
Min require XF 2.3.0
Support XF 2.3.0
Add new tag hideuserage
Add support math functions ceil and floor
Fix Grammar mistakes
Refactoring add-on
Change permission group for ignoring all content
Now for a specific forum node, you can select permissions or a group to ignore the option in the forum node
If the user is now a moderator of only a certain node and he has the right to edit or delete messages, then now he will not see the hide in other nodes
Delete duplicate code
Rename permissions
bb codes for reactions or groups in the modal window are now again displayed in 2 columns
On new installations of the add-on, the permission to use the tag will be enabled by default
Using Data container object for hide tags
Update callback in code event
Add new option: Hide Expiration Enable. This setting allows you to specify how long a hide "expires" and becomes available to all users. Ignoring tags: 'club', 'groups', 'users', 'usersid', 'usersexc', 'usersidexc'
In the future, it may be possible to add the ability to set permissions to use the tag in nodes
We use essential cookies to make this site work, and optional cookies to enhance your experience.