BuddyDev

Search

[Resolved] Assigning Member Types During Profile Creation

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40911

    Hi Kiki,
    Thank you.

    I am glad it is working partially.

    Please allow me to look into the role issue and assist you by Monday. Is there any chance that you are using it on Multisite? If yes, is BuddyPress is active on the main site and registration happening on the main site or a sub site?

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40913

    Hi Brajesh,

    We are not using it on multisite.

    Okay, sure 👍
    Looking forward to your response on Monday.

    Thank you.

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #40979

    Hi Brajesh,

    Just writing to follow-up.
    Did you get a chance to look into the role issue yesterday?

    Regards,
    Kiki

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #41001

    Hi Kiki,
    I am sorry, the setup for testing was with Ravi and he is away for next couple of days. I will be needing 2-3 more days before I can setup. I have reached out to him and hoping that he will be able to point the issue to me.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #41056

    Hi Brajesh,

    Any update on a fix?

    Please, we’re hoping this can be resolved soon because this issue is continuously causing members to have no roles, and blocking Gravity Forms from assigning one as it used to.

    Ideally, we would prefer to have Gravity Forms continue to assign roles at registration as it was doing before, and not have Member Types Pro assign roles at all.

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #41059

    Hi Kiki,
    I am sorry, @ravisharma was looking at it but he took leave on 7th(festive holidays here). We had the testing setup with him.

    He will be back to work tomorrow or day after tomorrow. We will be prioritizing and getting it resolved in next 2 days.

    Thank you.
    Brajesh

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #41062

    Hi Brajesh.

    Okay, thank you.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 1825
    Ravi on #41084

    Hello Kiki,

    Please update “BuddyPress Member Types Pro” plugin and use the following code:

    
    
    add_filter( 'gform_addon_pre_process_feeds', function ( $feeds, $entry, $form ) {
    
    	if ( ! function_exists( 'gf_user_registration' ) ) {
    		return $feeds;
    	}
    
    	if ( gf_user_registration()->has_feed_type( 'create', array( 'id' => $form['id'] ) ) ) {
    		add_filter( 'bpmtp_disable_bp_role_override', '__return_true' );
    	}
    
    	return $feeds;
    }, 10, 3 );
    
    

    Please let me know if it helps or not.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 13
    kiki on #41138

    Hello Ravi,

    Yes, it helps.
    Thank you for your assistance.

You must be logged in to reply to this topic.

This topic is: resolved