=== BuddyPress Messaging Control === Contributors: nuprn1, etivite Donate link: paypal.me/GeorgeChaplin Tags: buddypress, messages, messaging, private message, mentions Requires at least: PHP 5.2, WordPress 3.2.1 BuddyPress 1.5.1 Tested up to: 5.1 Stable tag: 1.5.2 Plugin URI: www.wordpress.org/plugins/bp-messaging-control/ This plugin allows the site admin to restrict public and private messaging based on users roles: role based restrictions and quotas. == Description == This plugin is perfect if you want to use messaging as a way of differentiating or monetizing your BP Site. It allows control over access to messaging and who the user can message. It also allows quotas to be set for each role. The options available per role are: Private Messaging: * Messaging Disabled - No access to messaging for this role. * Admin Only - The role can only message site admin. * Reply Only - The role can only message users who have previously sent them a message. Admin messages excluded from limitation. * Full Messaging - The role has unrestricted access to messaging. * Messaging quota; 1 to unlimited emails per month, week or day. Messages to admin not counted. * Message Character Limit: 100 to unlimited characters limitation per role. Public Messaging ( @Mentions) * @Mentions Disabled - No access to public messaging for this role. * @Mentions Admin Only - The role can only public message site admin. * @Mentions Reply Only - The role can only public message users who have previously sent them a public message. * @Mentions all - The role has unrestricted access to pubic messaging. * @Mentions quota; 5, 10, 25, 50, 100, 250, 500, 1000, unlimited emails per month, week or day. Messages to admin not counted. * Activity ( Public Message ) Character Limit: 100 to unlimited characters limitation per role. Notification Emails * Set size limit for the usermessage token - the notificaton message content. This is useful to prevent the entire message being sent in the notification meaning users will need to visit the site to read the full message. This plugin needs BuddyPress to work and it supports both BP Legacy and BP Nouveau themes. This plugin controls all aspects of BP messaging and makes sure the user only sees the messaging options they are entitled to. == Installation == 1. Upload the full directory into your wp-content/plugins directory 2. Activate the plugin at the plugin administration page 3. Adjust settings via the Messaging Control admin page == Frequently Asked Questions == == Changelog == = 1.5.2 = * 27/04/2019 * New: Added the ability to limit the length of the usermessage token, used in notifications emails to display the message content. = 1.5.0 = * 26/04/2019 * New: Added message character limit restrictions. = 1.4.9 = * 26/04/2019 * New: Added more message quota options. = 1.4.8 = * 01/04/2019 * Fix: Corrected date calculation so it uses the local server timezone. = 1.4.7 = * 28/03/2019 * Fix: corrected error handling negative counts. = 1.4.6 = * 28/03/2019 * Fix: Corrected logic error causing quota miscounting. = 1.4.5 = * 27/03/2019 * Fix: Corrected error preventing mentions for users with full mentions capability. = 1.4.4 = * 25/03/2019 * Fix: Better role checking. = 1.4.3 = * 25/03/2019 * Fix: Corrected variable not found errors for non editable roles included in users roles array. = 1.4.2 = * 25/03/2019 * Fix: Corrected variable naming errors. = 1.4.1 = * 24/03/2019 * Fix: corrected some variable names. * Fix: corrected variable not found error in check() function = 1.4.0 = * 24/03/2019 * New: Added mentions messages quota options. = 1.3.1 = * New: added admin only and reply only to @mentions restrictions. = 1.3.0 = * New: Added ability to disabled @Mentions for each site role. = 1.2.1 = * Fix: Corrected typo causing weekly mail counts to remain static. = 1.2.0 = * 21/03/2019 * New: Added daily and weekly quotas. * Updated: User compose message improvements. = 1.1.0 * 21/03/2019 * New: added email quotas per role. = 1.0.1 = * 17/03/2019 * Fix: Corrected undefined index error for compose screen. = 1.0.0 = * Initial Release. == Upgrade Notice == == Screenshots == 1. screenshot-1.png - Plugin Settings page. 2. screenshot-2.png - Compose Message screen with restriction announcement.