BuddyDev

Search

BuddyPress Message Rate Limiter

  • Participant
    Level: Initiated
    Posts: 5
    Fabian on #50763

    Hi,
    I am not sure if my last message came through so I try again.
    Your Message Rate Limiter can limit the amount of message per time limit, so every 5,10, etc minutes.
    Does the plugin also offer the option to change this per user role, so that for example a subscriber can send 5 messages every 10 minutes but an editor can send 10?

    Or is this a fixed setting applying to all user roles at once?

    Thank you 😉

  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #50768

    Hi Fabian,
    Thank you for your interest in the plugin.
    I am sorry, if we missed it earlier.

    The plugin doe snot offer UI interface to set limit per role. There is a small snippet of code that can used used to set role specific limitation with this plugin.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 5
    Fabian on #50774

    Hi, thanks for your reply 😉
    I really appreciate it.
    It is fine, if the UI does not have this setting option as long as there is a workaround like with the code snippet you mention.

    But if I buy the plugin will you help me with the code snippet or will I have to pay extra for it?

    Also, I am sorry I forgot to ask this in my first message: Will there be a time counter somewhere so that a user can see how long they need to wait?

    Thanks again Brajesh 😉

  • Keymaster
    (BuddyDev Team)
    Posts: 24653
    Brajesh Singh on #50778

    Hi Fabian,
    Thank you.

    1. PLease take a look at the snippet here.
    https://gist.github.com/sbrajesh/cc37e8794527f86046e1d880490d974b

    2. I am sorry, there are no counter or a way to inform user how much time is remaining.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved