There are two bugs
-
Thank the author for creating this plugin, which is exactly what I was looking for. Unfortunately, the one I wanted didn’t seem to work.
I don’t know if I understand this wrong, but does “Public Messaging Quota Restrictions” refer to the number of activities users can publish per month? I set it to 1 and a test account that still allowed unlimited activities to be sent
Another bug is that restricted user groups encounter fatal errors after logging in if Buddypress doesn’t open the group component. You can see in the WordPress log that bp-messaging-control-loader tries to use the non-existent function bp_get_groups_slug():
PHP Fatal error: Uncaught Error: Call to undefined function bp_get_groups_slug() in /var/www/html/wp-content/plugins/bp-messaging-control/bp-messaging-control-loader.php:56\nStack trace:\n#0 /var/www/html/wp-includes/class-wp-hook.php(324): bpmc_messaging_control_maybe_load_scripts('')\n#1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n#2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#3 /var/www/html/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(291): do_action('bp_init')\n#4 /var/www/html/wp-includes/class-wp-hook.php(324): bp_init('')\n#5 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n#6 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#7 /var/www/html/wp-settings.php(700): do_action('init')\n#8 /var/www/html/wp-config.php(134): require_once('/var/www/html/w...')\n#9 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')\n#10 /var/www/html/wp-admin/admin-ajax.php(22): require_once('/var/www/html/w...')\n#11 {main}\n thrown in /var/www/html/wp-content/plugins/bp-messaging-control/bp-messaging-control-loader.php on line 56, referer: https://xxxxxxxx/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.