Replies
- calu on February 16, 2019 at 12:01 am in reply to: Private Message Rate Limiter with role based code #20939This reply has been marked as private.
- calu on February 15, 2019 at 11:51 pm in reply to: [Resolved] BuddyPress User Profile Tabs Creator Pro, profile tab substituted by a front tab #20936
Yes, it did, thank you!
- calu on February 15, 2019 at 11:24 pm in reply to: Private Message Rate Limiter with role based code #20934This reply has been marked as private.
- calu on February 15, 2019 at 11:03 pm in reply to: [Resolved] BuddyPress User Profile Tabs Creator Pro, profile tab substituted by a front tab #20933
Sorry about that, yes, this option was enabled
Thanks again
- calu on February 15, 2019 at 11:00 pm in reply to: Private Message Rate Limiter with role based code #20932
Hi Brajesh, I’m using Version 1.0.6, and I’m not using message privacy plugin, or other which can block the messages, to my knowledge.
Now that I know the code is correct, I have to go through my setup, to find out what is conflicting with the code.
Just to clarify, the BP Rate Limit Private Message settings in the dashboard are irrelevant?Regards
Carsten - 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