Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • AB 29 posts 80 karma points
    Jun 27, 2014 @ 16:07
    AB
    0

    uSitebuilder 2 and MemberTypes

    Hi,

    I am using usiteBuilder 2 along with umbraco 7.

    I am trying to create a new member type called 'Standard Member', however when usite builder runs it only creates the member and tabs but NOT the properties.  Here is a sample of my code:

    [MemberType(Name = "Standard Member", Description = "Member type that describes standard members", IconUrl = "memberType.gif", Thumbnail = "member.gif")]
        public class StandardMember : MemberTypeBase
        {
            public StandardMember(string loginName, string email, string password, string confirmGuid) : base(loginName, email, password)
            {
                ConfirmGuid = confirmGuid;
            }
            
            [MemberTypeProperty(UmbracoPropertyType.Textstring, Name = "Confirm Guid", Alias = "confirmGuid", Tab = "Other Details", Mandatory = false)]
            public string ConfirmGuid { getset; }
            
            [MemberTypeProperty(UmbracoPropertyType.TrueFalse, Name = "User is verified", Alias = "hasVerifiedEmail", Tab = "Other Details", Mandatory = false)]
            public bool HasVerifiedEmail { getset; }

    Any ideas?

    Thanks in advance,

    Adam

     

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    May 15, 2015 @ 14:07
    Alex Skrypnyk
    0

    We have the same problem, properties aren't generating at all for member.

    Thanks,

    Alex

Please Sign in or register to post replies

Write your reply to:

Draft