New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to suspend private messaging ability #4376
base: feature
Are you sure you want to change the base?
Conversation
Great job
…On 22 May 2021, 13:15 +0100, Mathias Mogensen ***@***.***>, wrote:
https://community.mybb.com/thread-195240.html
Based on the above-planned feature, the ability to suspend a user's private messaging abilities. If a user is suspended using private messaging, the user can neither send nor receive new private messages.
Options to moderate suspension of PM added both AdminCP and ModCP similar to suspend posts and moderate posts.
You can view, comment on, or merge this pull request online at:
#4376
Commit Summary
• Update user_users.lang.php
• Add columns to mybb_users table
• Add Suspend PM to Moderate User
• Restrict access to private for pm suspended users
• Add pm suspension to user cleanup task
• Restrict sending PMs to a pm suspended user
• ModCP option to Suspend Private Messaging
• Last fixes and implementations
File Changes
• M admin/modules/user/users.php (73)
• M inc/datahandlers/pm.php (2)
• M inc/languages/english/admin/user_users.lang.php (3)
• M inc/languages/english/modcp.lang.php (5)
• M inc/tasks/usercleanup.php (7)
• M install/resources/mybb_theme.xml (99)
• M install/resources/mysql_db_tables.php (2)
• M install/resources/pgsql_db_tables.php (2)
• M install/resources/sqlite_db_tables.php (2)
• M modcp.php (40)
• M private.php (2)
Patch Links:
• https://github.com/mybb/mybb/pull/4376.patch
• https://github.com/mybb/mybb/pull/4376.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, just some minor comments.
Co-authored-by: Euan <euantorano@users.noreply.github.com>
Co-authored-by: Omar Gonzalez <Sama34@users.noreply.github.com>
Should I close this? I can also squash the commits or similar. |
We'll be redirecting new features to 1.9, so it can be adjusted to target the From a brief look, We can also consider allowing access to the PM system to allow reading past messages, but disallowing sending new ones. |
https://community.mybb.com/thread-195240.html
Based on the above-planned feature, the ability to suspend a user's private messaging abilities. If a user is suspended using private messaging, the user can neither send nor receive new private messages.
Options to moderate suspension of PM added both AdminCP and ModCP similar to suspend posts and moderate posts.
Note: Should also be mentioned, this restricts access to 'private.php', similar to if a usergroup didn't have access to Private Messaging.