BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on 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.php

    The 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: MediaPress Media Moderator with Buddy #47981
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25206

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Users I follow plugin styling #47962

    You are welcome!

    It is pleasure to assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on in reply to: Members filters #47961
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25206
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25206