BuddyDev

Search

BP Rate Limit Private Message – what does "NEW" messages mean?

  • Participant
    Level: Initiated
    Posts: 5
    Vision Synergy on #3109

    Does this plugin limit the number of consecutive messages sent to the same user, the number of messages sent to multiple users, or only the number of users messaged within the given time period?

    I’m confused about what the “NEW” messages means in the documentation.

    In testing, I can see that a user may send consecutive messages to another user that exceeds the set rate limit.

    Can you please clarify?

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #3110

    Hi,
    Welcome to the BuddyDev forum.
    I am sorry for the confusion. New message means new conversation thread. In BuddyPress, when you visit your private messages you see a list of conversation threads. We call that message.
    Any reply to a conversation thread is just “reply” and not counted as a new message.

    If you want to limit the number of replies and the new threads, you should use the second option from the settings.

    The plugin does not check for message for whether they are among the same users or different set of users.

    Hope that clarifies.

  • Participant
    Level: Initiated
    Posts: 5
    Vision Synergy on #3112

    Thanks for the quick reply. If you mean that the plugin should limit the number of new conversation threads within the set time period (regardless of how many recipients), then it does not seem to be working as expected.

    What I mean is that User1 can exceed the plugin rate limit by sending multiple messages – one after the other – to User2 (doesn’t matter if the subject is the same or different).

    Is that expected behavior?

    Here are the details about our installation:

    WordPress / BuddyPress:

    WordPress: 4.4.2
    WordPress multisite: no
    BuddyPress: 2.4.3
    MySQL: 5.6.28
    PHP: 5.5.9-1ubuntu4.14
    Permalinks: custom

    Theme:

    Current theme: CBOX Child Theme version 1.0
    Infinity Version: 1.1b
    Developer Mode: Enabled

    Active Plugins:

    Akismet: 3.1.7
    bbPress: 2.5.8
    Better Font Awesome: 1.4.3
    BP Auto Login on Activation: 1.0.1
    BP Display Name: 1.0
    BP Group Announcements: 1.0.5
    BuddyPress Auto Group Join: 2.2.1
    BuddyPress Group Email Subscription: 3.6.0
    CAC Featured Content: 1.0.6
    CloudFlare: 1.3.20
    Commons In A Box: 1.0.12
    Contact Form 7: 4.4
    CUNY Academic Commons Buddy Press Admin Bar Mods: 0.1
    Custom Post Type Editor: 1.2.5
    Custom Profile Filters for BuddyPress: 0.3.1
    Display Widgets: 2.05
    Export User Data: 1.2.0
    GD bbPress Attachments: 2.3.1
    Google Analytics by Yoast: 5.4.6
    Google Language Translator: 5.0.05
    Gravity Forms: 1.9.16
    Gravity Forms MailChimp Add-On: 3.7.1
    Gravity Forms No CAPTCHA reCAPTCHA: 1.0.7
    Gravity Forms User Registration Add-On: 3.1
    Invite Anyone: 1.3.9
    Login Logo: 0.7
    Page Links To: 2.9.6
    Page Restrict: 2.2.6
    Pantheon Migration: 1.20
    Really Simple CAPTCHA: 1.8.0.1
    SearchWP: 2.7
    SearchWP bbPress Integration: 0.1
    SeedProd Coming Soon Pro: 3.10.1
    Stream: 3.0.4
    valet.io: 4.1.28
    VaultPress: 1.7.9
    Widget CSS Classes: 1.3.0
    WordPress HTTPS: 3.3.6
    WordPress Importer: 0.6.1
    WP-Ban: 1.68
    WP-ShowHide: 1.04
    WP Better Emails: 0.3
    WP Crontrol: 1.3
    wpMandrill: 1.33
    WP Migrate DB Pro: 1.5.5
    WP Snippets: 150201
    WP Valet Mail Logger: 0.01
    Yoast SEO: 3.0.7

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #3113

    Hi,
    Thank you for the details. I tested the plugin and it seems a bug on BuddyPress 2.5.1. Please give me 2 hours and I will have an update available.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #3115

    Hi,
    Please upgrade to 1.0.2
    https://buddydev.com/plugins/bp-private-message-rate-limiter/

    It will fix all the issues. Please do let me know if that works for you or not?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Vision Synergy on #3116

    Thanks, Brajesh. I will test on our staging server and confirm tomorrow.

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #3117

    Thank you. Looking forward to your tests.

  • Participant
    Level: Initiated
    Posts: 5
    Vision Synergy on #3138

    Brajesh, again thanks for the quick response!

    I tested on two staging servers with different versions of WP/BP (single site). The plugin did not seem to work on an older version of WP/BP. After testing, I realized that the plugin description requires BP 2.4+ … of course!

    WP 4.4.1 / BP 2.3.3 / PHP 5.4.45

    On the first test, the plugin did not seem to work at all. I created multiple regular user test accounts. I set the rate limiter for 3 NEW messages in 3 minutes. I was able to send to 4+ users simultaneously and then repeatedly to individual and multiple users. I used the same and different subject lines. The rate limit was never triggered.

    WP 4.4.2 / BP 2.4.3 / PHP 5.5.9

    On the second test server, the plugin seemed to work as described (with one exception). The rate limit was triggered if I sent consecutive messages to individual or multiple users.

    However, I was able to send a single message to 7+ users. I realize it is not the design of this plugin to limit the number of recipients, but it does seem to be a hole for spam. I wish there was a way to limit the number of recipients of a PM (preferably to 1).

    __________

    For us it would be best if we had a plugin that limits PM’s to friends and/or followers only. There were two old plugins created by r-a-y that did this, but they haven’t been updated in about 5 years.

    https://wordpress.org/plugins/buddypress-private-message-for-friends-only/
    https://github.com/wpaustralia/wpaustralia/tree/master/plugins/buddypress-private-message-for-friends-only

    https://wordpress.org/plugins/buddypress-private-messages-for-followers-only/
    https://github.com/r-a-y/bp-pms-for-followers

    We would gladly pay for updated plugins with this functionality.

    __________

    Thanks again! I hope this test info is helpful.

  • Keymaster
    (BuddyDev Team)
    Posts: 24645
    Brajesh Singh on #3140

    Hi Lucas,
    Thank you for the tests.
    This plugin does not count or restrict recipient users. It only acts on threads/replies.

    I will get @ravi1987 to check the 2 plugins you have mentioned and update if necessary. I or Ravi will update the thread in the day with relevant information.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Vision Synergy on #3142

    Brajesh –

    I just realized today that your Message Privacy plugin gives users the ability to restrict PM’s to friends only. I will post a question in the forum for that plugin.

    Many thanks, again, for the quick responses and updates on this Rate Limiter plugin!

    It is now live on our server. We’ll see how it goes.

    All the best +

    – Lucas

You must be logged in to reply to this topic.

This topic is: not resolved