[AddonsLab] Conversation Permissions

[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!
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.
  • Love
Reactions: unmöglichefirmen
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.webp
    download.webp
    25.8 KB · Views: 63
This version removes the files belonging to [AL] Core package and adds requirement for the add-on https://xenforo.com/community/resources/al-core-package.7382/ Install the upgrade if you see errors from this add-on in the admin panel “files with unexpected contents”.
This is a bug-fix version that restores the message telling the users why exactly they can't start a conversation. Now a message will be shown stating how many posts exactly they should have to be able to start a conversation.
In this version we have implemented a new Yes/No permission to reply in conversations.

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

  • Conversation Permissions.webp
    Conversation Permissions.webp
    42.8 KB · Views: 120
  • Like
Reactions: Case
This is the next update implementing a permission for usergroups to override recipient quota.

Conversation Permissions.webp


Feel free to suggest further enhancements for the add-on or report any issues you have and they will be addressed asap.

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!
Hello everyone!

In this release, we have implemented two new permissions. Now you can set the quota on the overall number of conversations users can have. This includes both sent and received conversations. If a user exceeds this limit, they will not be able to start a conversation and other users will not be able to send a conversation to them.

Another permission defines the minimum number of posts users should have to read their conversations. If users have fewer posts, they can still see the list of conversations, get notifications about new conversations and replies, but they will not be able to see the conversation itself.

We also modified the product to show detailed information about the error (e.g. how many posts they need to start a conversation) instead of just showing a general error message.

Feel free to suggest further enhancements for the add-on or report any issues you have and they will be addressed asap.

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!
Top Bottom