Membership plug-in: Is Email address required?

By gversion - February 12, 2012

Hello,

I am hoping to only store the username and password in the "accounts" table and then have another table called "profile", which stores users' contact details.

I would therefore like to delete the following fields from my "accounts" table and create them in the "profile" table:
- First Name
- Last Name
- Email
- Country

So the only fields remaining in the "accounts" table would be:
- username (I have set this to be the same as their email address)
- password

Is that possible or will I run into problems? For example, if someone uses the "Forgot password" function will the system now know their email address?

Any advice would be greatly appreciated.

Thank you,
Greg

Re: [gversion] Membership plug-in: Is Email address required?

By gkornbluth - February 13, 2012

Hi Greg,

I don't think that's possible, but what are you trying to accomplish by this?

There maybe another approach to achieve the same goal.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Membership plug-in: Is Email address required?

By gversion - February 13, 2012

Hi,

Thanks for the reply.

I was hoping to just have one section editor called "Edit Username/Password" and then when the user clicks this the only fields that display are their username and password.

I can find a workaround but was just wondering if this would be possible through the cmsAdmin interface somehow.

Thanks again,
Greg

Re: [gversion] Membership plug-in: Is Email address required?

By gkornbluth - February 13, 2012

Greg,

Why not use a form and have only those fields available on the form?

The membership module would make this easier (and offer a lot more things along the way) but you could probably do it without the plugin.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] Membership plug-in: Is Email address required?

By gversion - February 13, 2012

Hi Jerry,

Yes, I could create a form but I wanted to try and achieve this through cmsAdmin, not the front-end website.

I am already using the Membership plug-in. I was wondering if the Membership plug-in requires an "email address" field, in order for the plug-in to work.

Or can I can remove all fields from the "accounts" table and just leave username and password?

Regards,

Greg

Re: [gversion] Membership plug-in: Is Email address required?

By Jason - February 14, 2012

Hi,

The email field is not required by the website membership plugin. The only fields you really need are the username and password fields. That being said, you shouldn't remove any field from the accounts section that is listed as a system field.

I'm still a little unsure why you would need to break up client information into multiple sections. Is it possible for a user to have more than one profile? If not, it would probably be easier to keep all account information in a single record. Also, if you break up information between 2 sections, you need to have a way to associate the accounts record with the profile section.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [gversion] Membership plug-in: Is Email address required?

By gkornbluth - February 14, 2012

Hi Greg,

You might want to have a look at this plugin:

http://www.interactivetools.com/add-ons/detail.php?Show-Hide-Fields-For-Users-1036

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gversion] Membership plug-in: Is Email address required?

By Jason - February 15, 2012

Hi Greg,

Another option would be to not give the user access to the accounts section at all and instead use the "My Account" link in the upper left hand corner. You can control which fields in the accounts table are accessable from there by checking the "My Account" check box in the field's editor (found under advanced settings). Another benefit of doing it this way is that the user is automatically asked to confirm their password.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/