[AddonsLab] Conversation Permissions

xF2 Add-on [AddonsLab] Conversation Permissions 1.5.2

No permission to download
The release fixes the following PHP error:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "is_admin" on null
  • src/addons/AddonsLab/ConversationPermissions/XF/Entity/ConversationMaster.php:57

It seems the error would happen if a participant of the conversation is deleted from the database.

Thank you!
  • Like
Reactions: BattleKing
The release fixes the error that occurs when View Conversation: Min Post Count permission is set and a user starts a conversation with an admin and due to this bug could not see the content of the conversation and any replies in it.

Thank you!
We have updated this permission to allow not only admins but also moderators of the board.

This version also fixes a bug with checking the Conversation Quota of a user who starts the conversation.
The release fixes the error that occurs when a user leaves a conversation:
An exception occurred: [TypeError] Argument 1 passed to AddonsLab\ConversationPermissions\XF\Entity\ConversationMaster::AddonsLab\ConversationPermissions\XF\Entity{closure}() must be an instance of XF\Entity\ConversationUser, null given in src/addons/AddonsLab/ConversationPermissions/XF/Entity/ConversationMaster.php on line 18
In this version, we have implemented a new Yes/No permission to allow contacting site administrators even if the number of posts is not enough to contact other users.

This permission is enabled by default for all existing usergroups.

Please consider posting a review if you are using the add-on and let us and other users know how it works for you.

Thank you!

Attachments

  • download.png
    download.png
    11.2 KB · Views: 143
This version removes the files belonging to [AL] Core package and adds requirement for the add-on https://enxf.net/resources/al-core-package.1677/ Install the upgrade if you see errors from this add-on in the admin panel “files with unexpected contents”.
Top