[Events +] Event + plugin: New user registration page

Test page: https://www.sandiegosecondsaturday.com/events/

If someone responds (No, Maybe, I'm attending) and they have NOT previously registered on the site, the user is redirected to the login page. There is no prompt to create a new account. How is this done?

  • Ash
    • WordPress Hacker

    Hello mgnett

    First of all, you need to enable registration on your site. Please go to Dashboard > Settings > General and check the box for “Anyone can register”.

    Now, go to Dashboard > Events > Settings > Plugins Settings > Check the box for “Allow Facebook and Twitter Login?”.

    Then go to Dashboard > Events > Settings > API Settings > And hide the modules you don’t want. Here you can hide all facebook, twiter and google login and keep the wordpress login.

    Once you configure these, you will see the login/register popup from the single event screen :slight_smile:

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,

    Ash

  • Ash
    • WordPress Hacker

    Hello mgnett

    I now see that clicking on “Already a member? Login here, displays the registration form. That’s confusing.

    I can confirm the issue on my test site, so I am marking this as a bug and reporting to the developer. Hopefully, very soon the issue will be resolved and an update will be released. We appreciate your patience on this.

    Any way to edit this and to display the registration screen by default?

    Please try the following code:

    add_action( 'wp_head', function(){
    ?>
    <script>
    jQuery(function($){
    $('.wpmudevevents-buttons a').click(function(){
    showRegister();
    });

    function showRegister() {
    $('.wpmudevevents-login_link-wordpress').click(function() {
    $('#eab-wordpress_login-mode_toggle a').click();
    });
    }
    });
    </script>
    <?php
    } );

    You can use this code in your child theme’s functions.php if the theme is not changed. Otherwise mu-plugin is the best option. To create a mu-plugin, go to wp-content/mu-plugins folder. If there is no mu-plugins folder then, create one. Now, inside the mu-plugins folder create file with name anything.php (make sure file extension is .php). Now start with a <?php tag and then put the above code.

    Hope it helps! Please feel free to ask more questions if you have any.

    Have a nice day!

    Cheers,

    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.