Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

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

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

    Hi Peter,
    Can you please tell me on which site did you create the member types? Was it your main site? If yes, you can replace
    BLOG_ID_CURRENT_SITE with 1. Otherwise, Please use the blog id on which you have created the member types.

    PS:- BuddyPress and BuddyBoss both uses taxonomy terms as member type but they differ on the interface used for creation of the member types. BuddyBoss uses a post type for the creation interface while BuddyPress utilizes the taxonomy screen. It should not affect fetching of the terms(unless BuddyBoss fetches from post type instead of terms).

    Regards
    Brajesh