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

    You are welcome.

    I am glad you resolved it. Thank you for sharing the details. It may help others.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: send message #45350

    You are calling it too early. Try calling it after init or even better bp_actions hook.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] BuddyPress User Circles #45349

    Hi Quint,
    Thank you for the feedback.

    The Circle is like twitter lists/circles. It is like a list of users and the ability to see updates from them if the underlying platform/theme(BuddyPress/BuddyBoss) allows filtering activity.

    That’s why it is behaving in this manner.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] set permalink via php #45332

    Hi Tosin,
    This is doable but these are all steps in wrong direction.

    You should try to troubleshoot and try to find the root issue. That will save you from a lot of troubles in future.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Dianne,
    Thank you for the patience.

    Please upgrade to 1.2.3 and in the “Enabled For” section, Please select “None” that will hide the tab completely.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] set permalink via php #45329

    Hi Tosin,

    It is fine to use the flush rewrite rule son theme change or some action which done not happen too frequently.

    Also, My suggestion for you will be to find out the real culprit. Putting patches like this will lead to a fragile and unstable/unpredictable code.

    Regards
    Brajesh

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

    Hi Silvana,
    Thank you.

    Please consult your theme author. They might have some BuddyPress specific customizations which is leading to this.

    the plugin is working fine for BuddyPress default template packs.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Nik,
    You are welcome.

    oops, I mean, you add a flag(meta key) and use that to filter the list of groups.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] Delay when posting on BP #45324
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    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