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
    Brajesh Singh on in reply to: Multiple profile types on one account #46506

    Hi Alex,
    Thank you for the question.
    At the moment, there does not seem to have any existing solution for this.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: Activate registration by administrator #46505

    Hi Alex,
    Thank you for the question.

    Please take a look at
    https://wordpress.org/plugins/bp-registration-options/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Carsten,
    In BuddyPress, only the part after the username is called component. The part that comes after component is called action.

    In your examples, ‘edit’, ‘change-cover-image’ etc are actions not component. ‘profile’ is the component in this case. so, you will need to exclude ‘profile’ is using the above code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Richard,
    Thank you for sharing.

    It looks good based on your use case. Earlier, I thought that you wanted users to accept the terms on a new page but I now see you wanted it differently.

    I think the approach in second step is erroneous as it will add anyone visiting that page as someone who has accepted the terms even if they did not.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: How to remove following tab #46494

    Have you put the code in bp-custom.php? It won’t work from your theme’s functions.php
    I will be testing later today after installing the plugin.

    Regards
    brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Carsten.
    The component is the slug that is being used after the user name. e.g ‘profile’, ‘groups’, ‘friends’ etc.

    Have you added change cover image as top level?

    You can put any slugs in this array in the above code

    
    array( 'activity', 'notifications', 'messages', 'settings' )
    

    as

    
    array( 'activity', 'notifications', 'messages', 'settings', 'some-slug-with-dashes-and-string', 'some-other-slug' )
    

    and so on.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: how to add reach text field in a user profile #46491

    Hi,
    Thank you for the replies.

    1. For BuddyBoss core related questions, BuddyBoss is the authority and I will suggest checking with their support.

    2/3. We did not add it in core as it is not the experience we are looking for. If we ever added an option like that, we will need to implement some kind of the fedeback mechanism to the user on the chars length. Without that, this only applies on save and is not very helpful for the end user.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: How to remove following tab #46490

    You may use the following code(Please test as I haven’t tested)

    
    
    add_action( 'bp_follow_activity_loaded', function () {
    
    	$bp = buddypress();
    
    	if ( empty( $bp->follow ) || empty( $bp->follow->activity ) || empty( $bp->follow->activity->module ) ) {
    		return;
    	}
    
    	if ( ! method_exists( $bp->follow->activity->module, 'add_activity_directory_tab' ) ) {
    		return;
    	}
    
    	remove_action( 'bp_before_activity_type_tab_favorites', array(
    		$bp->follow->activity->module,
    		'add_activity_directory_tab'
    	) );
    } );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486
    Brajesh Singh on in reply to: [Resolved] Branded login 403 forbidden error #46489

    Hi Tosin,
    It seems your theme has some kind of login handling mechanism too(redirect etc) and that is conflicting with Branded Login. I will suggest looking into your theme and checking if you can disable that.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25486

    Hi Daniel,
    I had a look.

    The plugin does filter on the delete link on user profile.

    Here is the code for that

    
    		// let us apply our mod.
    		if ( ( is_user_logged_in() && $activity->user_id == bp_loggedin_user_id() ) || is_super_admin() ) {
    			return $del_link;
    		}
    
    

    it simple enabled the delete link for user’s own activity or if the site admin is logged. It does not affect the link in any other way.

    Regards
    Brajesh