Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Bypass "Join Us" page

Simple Membership Plugin › Forums › Simple Membership Plugin › Bypass "Join Us" page

Tagged: Join, Register

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by mbrsolution.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 1, 2016 at 3:26 pm #7337
    cdonahue
    Participant

    I’m setting up registration for a nonprofit website, so there are no memberships levels. I’d like the link at the bottom of the Login box to be “Register” — and go straight to the Registration page, instead of “Join Us.” I created copies of the simple membership login.php and loggedin.php forms and put them in the right subfolder in my child theme. I can see the code that generates the “Join Us” link on login.php:

    <div class="swpm-join-us-link">
                    <a id="register" class="swpm-login-form-register-link" href="<?php echo $join_url; ?>"><?php echo SwpmUtils::_('Join Us') ?></a>
                </div>

    How do I replace that with code that would send users directly to the Registration page?

    July 1, 2016 at 3:30 pm #7338
    cdonahue
    Participant

    Here’s the full code:

    <div class="swpm-join-us-link">
                    <a id="register" class="swpm-login-form-register-link" href="<?php echo $join_url; ?>"><?php echo SwpmUtils::_('Join Us') ?></a>
                </div>
    July 1, 2016 at 8:12 pm #7341
    cdonahue
    Participant

    Well, I got around this problem by taking the Registration page up one level so it’s no longer a child of the “Join Us” page, and replacing the php code with a direct URL:

    <div class="swpm-join-us-link">
                    <a id="register" class="swpm-login-form-register-link" href="http://aiia.staging.wpengine.com/aai-grantees/membership-registration/"><?php echo SwpmUtils::_('Register') ?></a>
                </div>

    Not entirely sure this is kosher but it’s doing what I wanted it to do — going directly to the Registration page when the user clicks on “Register”

    July 2, 2016 at 9:57 pm #7351
    mbrsolution
    Moderator

    Hi, is this currently working for you the way you have set it up?

    July 2, 2016 at 11:32 pm #7352
    cdonahue
    Participant

    The only thing that isn’t working is the message users get after they fill in their registration details and hit the “Register” button. Even though I have the new user status set to “pending,” they see a message that says “Registration complete. Login here.”

    I don’t know if that is related to my taking out the php for “join us” and replacing it with a direct link to the register page, or if it’s a separate issue.

    July 3, 2016 at 12:34 am #7353
    mbrsolution
    Moderator

    Hi, did you check your other support thread here in this forum which I have replied to? It is referring to the above mentioned issue you are having.

    Regards

    July 3, 2016 at 1:17 am #7354
    cdonahue
    Participant

    No, I’m not — is that what you recommend?

    July 3, 2016 at 1:32 am #7355
    mbrsolution
    Moderator

    Hi, I was referring to this thread.

    Can you reply to this thread.

    Thank you

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy