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: 25377
    Brajesh Singh on in reply to: Perfmatters & member type pro conflict #39584

    Hi Tosin,
    Thank you.


    @ravisharma
    will be assisting you with it early next week.

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377
    Brajesh Singh on in reply to: Recreating from another app #39571

    Hi,
    In case of old database, you only need to impost bthe Posts and post meta table.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377

    Please use this example. In the above code, you are using $group object which si not available.

    
    
    function child_update_profile_group_name( $name ) {
    
    	if ( $name == 'Settings' && is_user_logged_in() && in_array( 'subscriber', wp_get_current_user()->roles ) ) {
    		$name = 'Settings1';
    	}
    
    	return $name;
    }
    
    add_filter( 'bp_get_the_profile_group_name', 'child_update_profile_group_name' );
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377
    Brajesh Singh on in reply to: Custom Fields #39569

    Hi Ricardo,
    Welcome to BuddyDev support forums.

    I am sorry, there is no way to allow adding custom fields on upload screen. We do have some code snippet to allow it on Edit gallery media and edit media screen.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377

    Thank you for the question. There are multiple ways to do it. You can either use the action hook or do a template override.

    Based on your template pack( I am assuming Nouveau), you can copy the post-form.php from wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/activity directory to your theme/buddypress/activity/post-form.php and add the text as needed.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25377

    HI Toury,
    Welcome to BuddyDev support forums.

    Please visit Dashboard->Settings->BuddyPress->Options and look for “Allow activity stream commenting on posts and comments”

    Tick that option and the commenting will be enabled. It may not sync to the actual blog post though.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377
    Brajesh Singh on in reply to: [Resolved] Auto join groups – cron job #39557

    Hi Darshan
    Thank you for the reply.

    This is not how this plugin works. There are ways to make this condition though.

    Conditions:- These are used to match user profile. If a user matches these conditions, they will get added to the predefined list of groups you have selected.

    In your case, if you want to use the condition like above, you will need to create multiple list. For each list, you will select relevant groups.

    or example, a list containing condition employee id IN 1,2, you will select group 1 and 2.

    This is different from what you are expecting. I believe your expectation is to use the group ids from profile field and sync to it.

    It can be achieved much easier with custom code. Please allow us to post the code(Ravi or I will share the code in next 24 hours).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377

    Hi,
    You are using incorrect filter.

    Please use the filter ‘bp_get_the_profile_group_name’.

    Also, group id is not available with this filter.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25377
    Brajesh Singh on in reply to: BUDDYPRESS BLOCK USERS PLUGIN #39555

    Hi Deepa,
    Hope you are doing well.

    Did you approach and get any reply from your theme author about this?

    Thank you
    Brajesh