Replies
- Brajesh Singh on January 12, 2023 at 6:30 pm in reply to: buddypress clear notifications throwing PHP warning #47986
Hi Matt,
Thank you for reporting the issue.It seems BuddyBoss has changed their API and instead of array it is returning something else.
https://github.com/sbrajesh/bp-clear-notifications/blob/master/bp-clear-notifications.phpThe code is working for BuddyPress as it gets an array of notifications.
I will check the BuddyBoss implementation and update you by tomorrow.
Regards
Brajesh - Brajesh Singh on January 12, 2023 at 6:24 pm in reply to: Regarding the BuddyPress Emoji plugin #47985
Hi Jen,
I am sorry, could not reply in time yesterday as we had some server issue to tackle.There is a reason why we(or other’s) don’t provide an emoji plugin. The emoaji plugin needs the text area to be editable content instead of the textarea tags being used. Most of the BuddyPress theme have javascript code tied with the existence of the form textarea and replacing it with editable content breaks.
That’s why we added the support for our theme butnot others.
Regards
Brajesh - Brajesh Singh on January 12, 2023 at 6:21 pm in reply to: My BuddyPress Editable Activity plugin isn’t working #47984This reply has been marked as private.
- Brajesh Singh on January 12, 2023 at 4:53 pm in reply to: MediaPress Media Moderator with Buddy #47981This reply has been marked as private.
- Brajesh Singh on January 12, 2023 at 12:04 pm in reply to: [Resolved] Buddy Blog Pro: GROUP Version?? #47980
Hi Dianne,
Happy Neaw Year!
I hope you are doing well.Please Visit Your Profile->Membership->Plugins.
The BuddyBlog Groups plugin is available under it. It is a release cadidate and once we are done with the Documentation, we will release it publicly.
Regards
Brajesh - Brajesh Singh on January 11, 2023 at 12:08 pm in reply to: [Resolved] Multiblog Mode – Member Type Synchronization #47963
HI Peter,
Thank you for the replies.1. The Multi Network plugin is not suitable for your need. It allows you to have separate social networks on a single multisite and not the other way.
2. The support package for multi network includes troubleshooting if the specified featured do not work. It does not include any custom coding requirement.
Even though I understand what you are looking is important, there is no proper solution. The media/contents which use post types are specific to blog where they were created. Even though the creation blog can be changed using switch_to_blog(), It needs support by all the plugins you use.
So, I do not see any simple solution.
Regards
Bajesh You are welcome!
It is pleasure to assist.
Regards
Brajesh- This reply has been marked as private.
- Brajesh Singh on January 10, 2023 at 10:29 pm in reply to: [Resolved] BuddyPress Registration Control #47953
Hi Tosin,
Code seems to be fine except for sanitizing url, wp_kses_post is overkill, esc_url_raw should be fine.Also, your redirection callback is very inefficient, hitting database for user count on each page load.
Here is an updated version to avoid that.
// Check if registration is open or closed function custom_bp_redirect_registration() { if ( ! bp_is_register_page() ) { return; } if ( get_option( 'bp-disable-site-registration', 'open' ) !== 'closed' ) { return; } $total_users = count_users(); $total_users = $total_users['total_users']; $limit_user_registration_count = absint( get_option( 'bp-close-registration-at-users' ) ); if ( $total_users >= $limit_user_registration_count ) { wp_redirect( get_option( 'bp-disable-site-registration-redirection-url' ) ); // wp_safe_redirect? exit; } }Regards
Brajesh - Brajesh Singh on January 10, 2023 at 10:18 pm in reply to: [Resolved] Fix Avatar + Cover Photo visibility problem on BuddyPress Multiblog/Multisite #47952
Thank you.