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™

s2Member Captcha + Additional Variables Required

s2Member Plugin. A Membership plugin for WordPress®.

s2Member Captcha + Additional Variables Required

Postby a-SalviaLover » December 1st, 2011, 2:23 am

Hello,

I am new to the forum and would like to greet you all.

I am currently developing a subscription based web site and have two questions I need some assistance figuring out:

1. Is there a good way to set additional variables for each user? Some of the content in the Site will be unique for each member and will not be set on per level basis. Thus each member needs to have additional variables that are not filled in during registration, but are manually added later by the administrator when the service is provisioned.

2. As we believe registration first is better than checkout first, is there any way to add a captcha human verification box to avoid bots?

Please advice what are the best ways in your opinion to implement these two requirements. Thanks in advance for the support.

Thanks,
a-SalviaLover
User avatar
a-SalviaLover
Registered User
Registered User
 
Posts: 3
Joined: December 1, 2011

Re: s2Member Captcha + Additional Variables Required

Postby Raam Dev » December 1st, 2011, 9:11 pm

Welcome to the forums! :)

To answer your questions:

1) To set additional variables for each user, you'll want to use the Custom Capabilities feature. Please see the built-in documentation at WP Admin -> s2Member -> API/Scripting -> Custom Capabilities (Packages) and this video: http://www.s2member.com/custom-capabilities-video/

2) You can enable a captcha on your Pro Forms by adding the captcha= shortcode attribue. Please see the build-in documentation at WP Admin -> s2Member -> PayPal Pro-Forms -> Short Attribues (Explained)

Let me know if this answers your questions.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: s2Member Captcha + Additional Variables Required

Postby a-SalviaLover » December 2nd, 2011, 2:21 pm

I found the setting in "New Custom Registration/Profile Field": Allow Profile Edits: "Yes (editable after registration/invisible during registration)" to do it fine. Now the only thing it to remove the Edit Profile option when a subscriber has logged in.

As for captcha, is there a way to implement it without getting s2member pro?
User avatar
a-SalviaLover
Registered User
Registered User
 
Posts: 3
Joined: December 1, 2011

Re: s2Member Captcha + Additional Variables Required

Postby Raam Dev » December 2nd, 2011, 5:59 pm

Hi a-SalviaLover,

The captcha feature requires s2Member Pro.

To remove the Edit Profile option after a subscriber has logged in, you can simply not provide the link to edit profile. (If you're referring to the WordPress Edit Profile option, you can disable that in WP Admin -> s2Member -> General Options -> Member Profile Modifications -> Redirect Members Away from the Default Profile Panel = Yes.)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: s2Member Captcha + Additional Variables Required

Postby a-SalviaLover » December 3rd, 2011, 2:59 am

I did and redirect works fine. However, each time a member registers they see the link "Edit My Profile" on the dashboard on top. You can see in the screenshot I attached. Redirect works fine but it is ugly to have a link that's not working. Is there any way to set WP to switch dashboard off by default for all new members?
Attachments
newsubscriber.jpg
newsubscriber.jpg (8.77 KiB) Viewed 454 times
User avatar
a-SalviaLover
Registered User
Registered User
 
Posts: 3
Joined: December 1, 2011

Re: s2Member Captcha + Additional Variables Required

Postby Raam Dev » December 3rd, 2011, 6:26 pm

To disable the admin bar for all users, add the following code to your theme's functions.php file:

Code: Select all
add_filter(‘show_admin_bar’, ‘__return_false’); 
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: s2Member Captcha + Additional Variables Required

Postby Cristián Lávaque » December 4th, 2011, 2:34 am

s2Member Pro's captcha applies to pro-forms, including the free registration one, but not the default registration page. For that, you could try one from here http://wordpress.org/extend/plugins/sea ... on+captcha
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron