New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Hiding users and user count #38890

    Hi Nifty,
    Thank you for the question.

    You can filter on the total member count and update the count.
    Here is an example showing that we remove 4 from the count.

    
    
    add_filter( 'bp_get_total_member_count', function ( $count ) {
    
    	// return updated count.
    	return $count - 4; // decrease by 4 or so.
    }
    );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Nitin,
    Welcome back.

    Adding tab is not difficult but showing the form is not that simple. You can add a tabg with this code(or modify it to point to some other url)

    
    add_filter( 'xprofile_filter_profile_group_tabs', function ( $tabs, $groups, $group_name ) {
    
    	$link  = '#'; // use your link.
    	$label = 'My Tab';
    	// Add tab to end of tabs array.
    	$tabs[] = sprintf(
    		'<li><a href="%1$s">%2$s</a></li>',
    		esc_url( $link ),
    		$label
    	);
    
    	return $tabs;
    }, 20, 3 );
    
    

    I will suggest using a page url in the link and put your form their to make ti simple.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Carsten,
    Thank you for the suggestion. I am afraid there is no hook to allow this currently without having side effect.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Sandra,
    Thank you for the patience.

    I have seen the issue. It seems it is not working with the multiselect field on the site. Please allow me to test and push an update by Tuesday.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Lisa,
    Thank you for letting me know. I tested on Ubuntu and Chrome browser.

    I will ask one of my colleagues to test it on chrome on Mac and report tomorrow(it’s off time for them here now).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Sotiris,
    Thank you.

    The simplest solution will be using css. If you know the ID of the login page( I am assuming 5 here for example, Please change).

    Then, you can add the following css

    
    .page-id-5 .site-header-login-link {
      display:none;
    }
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Lakia,
    Thank you for using MediaPress.

    Please visit Dashboard->MediaPress->Settings and make sure that the types are enabled. After doing that, Please visit MediaPress->Settings->Members Gallery and make sure that the needed types are enabled.

    Please let me know if that makes it work or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Lisa,
    I have checked it.

    Are you referring to the green color bar that appears as progress? It is working fine for me in both the comments as well as the Post.

    Please recheck after clearing any browser cache.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Sotiris,
    Thank you for the question.

    Is it for Community Builder theme? Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Seo title of the activity #38853

    Hi Jennifer,
    I have removed previous 2 replies as the user was a spammer and just wanted to have a reputation on this forum before posting their own topic with promotional link.

    Regards
    Brajesh