Replies
- calu on February 15, 2019 at 9:40 pm in reply to: Private Message Rate Limiter with role based code #20926
The user has subscriber role, I also changed the role to customer. Even with a limit of 30000, messages is blocked. It seems like all other values than 0, are blocked?
'customer' => array( 'duration' => 1440, 'limit' => 0, ),
'customer' => array( 'duration' => 1440, 'limit' => 30000, ),
- calu on February 15, 2019 at 9:20 pm in reply to: Private Message Rate Limiter with role based code #20924
Should this be changed?
$default = array( 'duration' => bp_get_option( 'bp_rate_limit_pm_throttle_duration', 5 ), 'limit' => get_option( 'bp_rate_limit_pm_count', 5 ), );
- calu on February 15, 2019 at 9:17 pm in reply to: Private Message Rate Limiter with role based code #20923
Hi Brajesh, thanks for the code, you were right, my code wasn’t complete.
The code is working now, but there is a bug some were.
If I set the limit to 0, no limit, messaging is unblocked as it should. If I set the limit to 5000 within one minute, messaging is blocked.
Are the BP Rate Limit Private Message dashboard settings overruled by the settings in the code?
Regards
Carsten'subscriber' => array( 'duration' => 1, 'limit' => 0,
'subscriber' => array( 'duration' => 1, 'limit' => 5000,
- calu on February 14, 2019 at 3:20 pm in reply to: Private Message Rate Limiter with role based code #20895
Hi Brajesh, I don’t recall, which topic this code is found, you did not add it to the code snippet library by any chance?
Regards
Carsten - calu on February 12, 2019 at 11:14 am in reply to: [Resolved] Messages toolbar notification bubble gone? #20860
Hi Brajesh, I’m happy to report that the message count with updated label issue is solved with this update.
Thanks
Regards
Carsten - calu on February 5, 2019 at 7:43 pm in reply to: [Resolved] Messages toolbar notification bubble gone? #20731
Hi Brajesh, thanks for letting me know about the update, I’m not home this week, but looking forward testing it.
Regards
Carsten - calu on January 31, 2019 at 10:39 am in reply to: [Resolved] BuddyPress Member Types Pro associating user roles #20620This reply has been marked as private.
- calu on January 31, 2019 at 10:23 am in reply to: [Resolved] BuddyPress Member Types Pro associating user roles #20617
Hi Brajesh, what about user role permissions, basically what I need are two user roles with same permissions as the subscriber role.
Is it possible to create two identical user roles, like subscriber 1 and subscriber 2?
Regards
Carsten - calu on January 30, 2019 at 10:28 am in reply to: [Resolved] How to make BP members directory look better on mobile #20586This reply has been marked as private.
- calu on January 30, 2019 at 10:18 am in reply to: [Resolved] How to make BP members directory look better on mobile #20585This reply has been marked as private.