BuddyDev

Search

Issues with registration member types.

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #44914

    Hi Ethan,
    Thank you for the patience.

    Please upgrade to 1.5.6 and then add the following code to your bp-custom.php

    
    
    /**
     * Disables auto activation, auto login for castingdirector member type.
     */
    add_filter( 'bpaaal_disable_auto_activation', function ( $disable ) {
    
    	if ( isset( $_POST['field_808'] ) &&  'castingdirector' == $_POST['field_808']) {
    		$disable = true;
    	}
    
    	return $disable;
    } );
    
    

    It will disable the auto activation process for the casting director.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #44917

    The fix I received does not work it auto logs in the casting director still. and cant reply to the no reply email

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #44918

    Hi Ethan,
    Can you please confirm the following:-

    1. You upgraded the plugin to 1.5.6
    2. You have bp-custom.php in wp-content/plugins directory and you have put the code from my previous post there?

    This forum uses bbPress for support and it does not support reply by email.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #44920

    Yes this is the code:. <?php
    /**
    * Disables auto activation, auto login for castingdirector member type.
    */
    add_filter( ‘bpaaal_disable_auto_activation’, function ( $disable ) {

    if ( isset( $_POST[‘field_808’] ) && ‘castingdirector’ == $_POST[‘field_808’]) {
    $disable = true;
    }

    return $disable;
    } );
    ?>

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #44921

    I have updated.

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #44922

    Hi Ethan,
    I am sorry, that seems very odd. I have checked your site and the field id is same. I will be testing again and getting back to you.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #45024

    Hi Any update?
    Please i need to get this completed

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #45025

    Would you like to try it on the website?

  • Keymaster
    (BuddyDev Team)
    Posts: 21267
    Brajesh Singh on #45031

    Hi Ethan,
    I am sorry, the code worked for me and I have no idea why it is not working there.

    Please provide me temporary access. I will quickly check and get it working.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 28
    Ethan Figliola on #45072
    This reply has been marked as private.

You must be logged in to reply to this topic.

This topic is: not resolved