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

    Please put the code in bp-custom.php .

  • Keymaster
    (BuddyDev Team)
    Posts: 25373

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

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

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

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25373

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

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

    No Problem. I am glad I could help 🙂

    Marking it as resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25373
    Brajesh Singh on in reply to: bp-magic is not responsive? #6173

    Hi Nana,
    I am sorry, due to some unexpected things, the release has been delayed till 1st November. We will be setting up a demo page and other things by this weekend. so, you may take a look this week before it becomes available on Tuesday. I will keep you updated.

  • Keymaster
    (BuddyDev Team)
    Posts: 25373

    Hi Deco,
    No problem.

    If your questions are related to this plugin, Please use this topic else I will appreciate if we can discuss it in new thread. Looking forward to talk to you tomorrow.

    Regards
    Brajesh