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: 25307
    Brajesh Singh on in reply to: [Resolved] set permalink via php #45323

    It’s a bad idea.

    1. You should never flush rewrite rules on each request. That will hit the performance badly.

    The last one is slightly better but still not recommend. why do you want to automate the permalink structure on theme activation?

    It will take only 30 second to update it manually.

    If you still want to do it, here is a cleaned version of your last one

    
    function set_custom_permalinks() {
    
    	if ( get_option( 'permalink_structure' ) ) {
    		return;
    	}
    
    	global $wp_rewrite;
    	// Save permalinks to a custom setting, force create of rules file
    	$wp_rewrite->set_permalink_structure( '/%postname%/' );
    	$wp_rewrite->flush_rules( true );
    }
    
    add_action( 'after_switch_theme', 'set_custom_permalinks' );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: [Resolved] Xprofile Field – Country Select #45322

    Hi Quint,
    You can achieve that by selecting match any/match all in the search mode and setting overflow on the front end search view.

    Please see
    https://i.ibb.co/vYWqXhZ/Selection-512.png

    Were you looking for something different?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi Dianne,
    I am sorry for the inconvenience.

    Please allow us to put an update by day end Tuesday with the option to set it to None.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: BuddyPress Activity Autoloader #45310

    Hi Silvana,
    Welcome to BuddyDev support forums.

    Which theme, template pack and plugin are you using? Please let me know and we will assit.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: [Resolved] Xprofile Field – Country Select #45309

    Hi Quint,
    Thank you.

    Probably you do not need to update that. The BP profile search plugin allows selecting mode when adding the field to search. Try switching the mode. They control the user Interface.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi Nik,
    Thank you for the question.

    We did not find it aligned with our goal and could not work on it.

    If you want to achieve it, you may want to set the group hidden by default, disable the Group Management screen for creators, disable joining/request and then add a filter for filtering these in the admin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: [Resolved] Delay when posting on BP #45307

    Hi Daniel,
    I am sorry, I could not try the theme.

    Will be doing so by day end tomorrow and updating you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307
    Brajesh Singh on in reply to: buddyblog medium editor not displaying embeds #45306

    Thank you. appreciate it.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi Tosin,
    Ravi is expected to work on it next week. Hopefully, we may have the update soon.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25307

    Hi,
    I am sorry for the delayed reply.

    We missed to update in 1.2.3 . Yesterday, we released another update to include it.

    Please upgrade to latest version from wp.org and put this code in your bp-custom.php

    
    
    add_filter( 'bpxcftr_enable_tag_removal_on_view_profile', '__return_false' );
    
    

    That will do it.

    Please let me know if it works for you or not?

    Regards
    Brajesh