• 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/
    • This topic was modified 3 months, 1 week ago by xiaoyao.
    • This topic was modified 3 months, 1 week ago by xiaoyao.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Venutius

    (@venutius)

    Hi there, Messaging control if only for messages, not for activities. It’s and interesting idea though.

    I’ll take a look at the issue with the groups component later. I’m currently on holiday though, it might take a little while.

    Thread Starter xiaoyao

    (@xiaoyao)

    Ok, so it looks like I’ll need another plugin to implement the activity restriction.

    And, have a nice holiday. ??

    @xiaoyao

    I was just testing the restriction quotas just now and thought this is the perfect opportunity to let you and everyone know how the restriction quota works, as well as leave a reminder for myself.

    The private messaging quota restriction refers to the amount of private messages you can send to a user. It is the total number of messages, so it includes replies, ie if you set the quota to 10, then you can send one person 10 messages or ten people 1 message each or two people 5 messages or five people 2 messages each etc.

    @venutius

    I also wanted to add, when I created a quota, on the front end the user has this message in their messages section “Your messaging is capped, you can send a further ” but nothing else after that. Ie it should say something like “Your messaging is capped, you can send a further 10 messages” or “Your messaging is capped, you can send a further 9 messages”, but this message never updates and does not show the number. So this is a bug. Not urgent, so enjoy your holiday.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.