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™

Eliminate fields from registration form

s2Member Plugin. A Membership plugin for WordPress®.

Eliminate fields from registration form

Postby Severus » June 25th, 2010, 3:04 am

Hi there,

I have installed the plugin without problem, however the registration page request data that I do not need and may complicate legally innecesarily the site (protection data Law in germany is very strong).

For my site I just need an username and email, (maybe the first name if I want to send a personalized email) that´s all.

How could I take away the Last Name field from the registration page.

This is my current Registration page: http://www.severus.es/wp-login.php?action=register

Thanks

Severus
User avatar
Severus
Registered User
Registered User
 
Posts: 1
Joined: June 25, 2010

Re: Eliminate fields from registration form

Postby Jason Caldwell » June 26th, 2010, 2:23 am

Hi Severus. Thanks for your inquiry.

This IS possible, but it's NOT done easily. s2Member is designed to collect this minimum information. That being said, if you really would like this to work; you'll want to override a function inside:
/s2member/includes/functions/register-access.inc.php

You don't have to do a direct edit on that file, you just need to declare this function before s2Member loads into WordPress, "ws_plugin__s2member_custom_registration_fields()".
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Eliminate fields from registration form

Postby jambon » July 19th, 2010, 2:48 am

Could you be a little more specific on how this can be done? Not exactly sure what you mean by just declaring that function - thanks!
jambon
Guest User
Guest User
 

Re: Eliminate fields from registration form

Postby Jason Caldwell » July 22nd, 2010, 6:36 am

Yea, that was pretty vague..
~ So sorry about that.

Here is what I mean.
Inside your /wp-config.php file, add this line:
Code: Select all
function ws_plugin__s2member_custom_registration_fields(){}
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 2 guests

cron