PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Bypass the membership options page

s2Member Plugin. A Membership plugin for WordPress®.

Bypass the membership options page

Postby johnsimpson » December 21st, 2011, 5:38 am

Hi all

I want to use this plugin to create a locked off area for some clients on one of our websites. I do not want to charge for this access however we do want them to register their details before they can view the content on the specific page.

I have installed the free version of this plugin and got it working with the open registration facility and it works great... the only problem I have is the registration part... Is it possible to bypass the membership options page and take them straight to the registration form? Or even better be able to stick the registration / login forms directly into this page? - I also dont like the fact that the registration / login page looks completely different to the rest of the site, I have put our logo on it and I see you can add a footer in but I would prefer it to appear like its part of the site and sits within my page?

I hope someone can help, really like this plugin!

thanks
John
User avatar
johnsimpson
Registered User
Registered User
 
Posts: 2
Joined: December 21, 2011

Re: Bypass the membership options page

Postby Philly » December 21st, 2011, 1:33 pm

create a page called 'register'
put the following form into that page changing the website in action to your site (leave the "wp-login.php?action=register" bit thats important!).
Then make sure you have open registration enabled under s2member > general options
also under s2member > general options > membership options page, change that to the page 'register' you created, which should now be in the drop down menu.

you can style the form with css

Let me know if this approach works

Code: Select all
<form name="registerform" id="registerform" action="http://www.yourwebsite.com/wp-login.php?action=register" method="post">
   <p>
      <label for="user_login">Username *<br />
      <input type="text" name="user_login" id="user_login" class="input" value="" size="20" tabindex="10" /></label>
   </p>
   <p>
      <label for="user_email">Email Address *<br />
      <input type="email" name="user_email" id="user_email" class="input" value="" size="25" tabindex="20" /></label>
   </p>
      <span>Password *</span><br />
      <input type="password"  maxlength="100" autocomplete="off"  value="" tabindex="30" />
   <br class="clear" />
   <input type="hidden" name="redirect_to" value="" />
   <p class="submit"><input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Register" tabindex="100" /></p>
</form>
Last edited by Cristián Lávaque on December 23rd, 2011, 5:48 am, edited 1 time in total.
Reason: Improve code readability. http://www.primothemes.com/forums/viewtopic.php?f=36&t=2780
User avatar
Philly
Experienced User
Experienced User
 
Posts: 48
Joined: December 19, 2011

Re: Bypass the membership options page

Postby MOH Guy » December 21st, 2011, 6:12 pm

I want to use this plugin to create a locked off area for some clients on one of our websites. I do not want to charge for this access however we do want them to register their details before they can view the content on the specific page.


Sounds like you need a client portal. check out this video http://www.s2member.com/client-portals-video/ it's the first video listed under, "Misc / Troubleshooting" on the video tutorials page.

I hope that helps
User avatar
MOH Guy
Registered User
Registered User
 
Posts: 6
Joined: December 21, 2011

Re: Bypass the membership options page

Postby johnsimpson » December 22nd, 2011, 3:52 am

thank you to you both I really appreciate your help, I will try both methods and see if they will help
User avatar
johnsimpson
Registered User
Registered User
 
Posts: 2
Joined: December 21, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron