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: 25338

    Hi Marc,
    I am sorry but I can not understand the context. Which plugin/code are you using for the State/City combo.

    I will advise to ask the author of that code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338
    Brajesh Singh on in reply to: [Resolved] BP Member Multiple Types #6192

    Hi Marc,
    BuddyPress allows users to have multiple Member types but the management interface is not yet appropriate for that.

    The BP Member Types Generator plugin does not manage adding member type to user. It simply manages registering the member type.

    If you are using our BuddyPress Member Type Xprofile Field plugin, Then you can certainly ask it to use checkboxes at registration.

    Please see this
    https://buddydev.com/plugins/bp-xprofile-member-type-field/

    Hope that helps.
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Please put the code in bp-custom.php .

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Hi Ken,
    hope you are doing fine.

    Please use the following code and modify the term ids with your own to include only them.

    
    
    function buddyblog_limit_terms( $settings ) {
    
    	if ( ! isset( $settings['tax'] ) ) {
    		return $settings;
    	}
    
    	$tax = $settings['tax']; //it is multi dimensional array
    
    	$taxonomy = 'category';//name of taxonomy
    
    	// Array  of term ids to include.
    	$terms = array(1, 53 ); //term ids
    
    	if( ! isset( $tax[ $taxonomy ] ) ) {
    		$tax[ $taxonomy ] = array();
    	}
    
    	$tax[ $taxonomy ]['include'] = $terms;
    
    	//update settings
    	$settings['tax'] = $tax;
    	
    	return $settings;
    
    }
    add_filter( 'buddyblog_post_form_settings', 'buddyblog_limit_terms' );
    

    Hope that helps.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Hi Owen,
    I will test with Kleo and post the code evening today or early tomorrow. It may need some css.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Hi Ken,
    I am sorry I missed it. I will post the code today(Around noon PST).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Hi Hans,
    Welcome back. It is nice to see you and I hope you are doing well.

    Thank you for that link. Those are smart actionable items. I will certainly do it but a little bit delayed. I am sorry but due to current work queue, It is a little bit low on my priority.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338
    Brajesh Singh on in reply to: Plugin idea – BP Featured Members and Groups #6182

    Hi George,
    Thank you for another wonderful idea. It is simple but I can see how it may be beneficial of multiple type of communities.


    @ravisharma
    has half finished it already, but due to Diwali holidays, he is off from the work and will be back on Wed/Thu days. Asap he comes, we will have a formal update for these 2 plugins.

    PS: We have planned to use button instead of checkbox on the front end.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    Hi Owen,
    Thank you for posting. Is there any chance that you modified the template of MediaPress directory pages? It seems like the line-height being set to zero there.

    Also, which theme are you using? Is it kleo?

  • Keymaster
    (BuddyDev Team)
    Posts: 25338

    No Problem. I am glad I could help 🙂

    Marking it as resolved.

    Regards
    Brajesh