Is it possible to add fields to the umbraco membership package? If so, how do I do that? I've been looking into the forums and seems like everybody is creating their own membership control. I just want to use the membership package if that is possible. Sorry but I do not have an ASP.NET background.
In your member type there is a tab called "generic properties" where you can add all the extra fields that you want to. Just like when you are creating a document type.
But I think you should consider using the asp.net membership controls - I myself do not have the greatest .net skills but with this guide http://www.mortenbock.dk/setting-up-membership-in-umbraco-116.htm by Morten and some comon sense I think you can handle it :)
Umbraco membership uses the standard ASP.NET MembershipProvider model, which has implementations to route through the Umbraco member store.
For the properties of a member (ie - things like First Name, Last Name) you add those to the MemberType which your Members will be using.
You can then configure this with a ProfileProvider in the web.config (the class is umbraco.providers.members.UmbracoProfileProvider), and specifying the Name as the Alias of the property on the MemberType
So I added a field on the generic property of the Member Type. It's name is address. I dont know where to insert this line on the web.config file <add name="address" type="umbraco.providers.members.UmbracoProfileProvider" />
Add fields on the Umbraco Membership Package
Hi again,
Is it possible to add fields to the umbraco membership package? If so, how do I do that? I've been looking into the forums and seems like everybody is creating their own membership control. I just want to use the membership package if that is possible. Sorry but I do not have an ASP.NET background.
Thank you.
Regards,
Harry
Yes that should be possible.
In your member type there is a tab called "generic properties" where you can add all the extra fields that you want to. Just like when you are creating a document type.
But I think you should consider using the asp.net membership controls - I myself do not have the greatest .net skills but with this guide http://www.mortenbock.dk/setting-up-membership-in-umbraco-116.htm by Morten and some comon sense I think you can handle it :)
Hope some of this helps you.
/Jan
Umbraco membership uses the standard ASP.NET MembershipProvider model, which has implementations to route through the Umbraco member store.
For the properties of a member (ie - things like First Name, Last Name) you add those to the MemberType which your Members will be using.
You can then configure this with a ProfileProvider in the web.config (the class is umbraco.providers.members.UmbracoProfileProvider), and specifying the Name as the Alias of the property on the MemberType
Hi,
So I added a field on the generic property of the Member Type. It's name is address. I dont know where to insert this line on the web.config file <add name="address" type="umbraco.providers.members.UmbracoProfileProvider" />
When I try to insert that line inside
<roleManager enabled="true" defaultProvider="UmbracoRoleProvider">
<providers>
<clear />
<add name="UmbracoRoleProvider" type="umbraco.providers.members.UmbracoRoleProvider" />
</providers>
</roleManager>
and
<membership defaultProvider="UmbracoMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear />
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Website-User" passwordFormat="Hashed" />
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
</providers>
</membership>
umbraco crashes. Please help.
Thank you.
Regards,
Harry
Oh! I mean I want to add extra fields on the registration page. like address, phone numbers, etc. Sorry.
Regards,
Harry
You want to look into the ProfileProvider as I mentioned. There's plenty of stuff on this on MSDN, here's a good starting point: http://msdn.microsoft.com/en-us/library/2y3fs9xs.aspx
Then when you use the CreateUserWizard control it will detect the stuff from the profile provider defined and put all the fields there.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.