MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Confusion with registeration process (new user)  (Mono Support )

Viewed 12721 time(s), 7 post(s) 05.12.2012 16:46:49by super
super

super

05.12.2012 16:46:49
1) If any user registers, on the click event of "Create Account" the register page doesn't tell the user to check email or the account is not activated yet or anything. So the user remains confuse, what's going on and obviously user will try to login wich account he/she just created and then it gives message that your account is not activated yet.

How to fix this problem ?

2) How to change settings to that no activation is needed ? User can get activated automatically as soon as he/she creates an account.
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
imarusic

imarusic

06.12.2012 09:15:59
Hi,

1. Can you send us some screenshots for your issue. You can always change the behaviour of registration process by attaching to memberhip editors events on the registration page.(AccountCreating, AccountCreated)

2. Membership editor has ActivationRequired property. Set it to true in order to avoid account activation.

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
Zoomicon

Zoomicon

10.12.2012 11:45:34
>2. Membership editor has ActivationRequired property. Set it to true in order to avoid account activation.
</br>you mean "false" I guess
Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts
Zoomicon

Zoomicon

10.12.2012 12:01:46
1) the issue is that the demo site doesn't have some default handler there to show a more informative message after sign up like the mono company site does when you sign up (not social login) at support
Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts
imarusic

imarusic

10.12.2012 12:23:30
2. Yes set it to false, sorry, my mistake.
1. As writen above, you can always use membership editors events and perhaps call the Message.Show("title", description) methods to show more prominent information to user.

Regards.
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
super

super

10.12.2012 21:34:45
1. As writen above, you can always use membership editors events and perhaps call the Message.Show("title", description) methods to show more prominent information to user.

IMARUSIC,

Could you please help with code and show how to do this ?

I need activation required but I need to display message once anybody registers saying "your account has been created but you need to activate your account so check your mail"

Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
mzilic

mzilic

10.12.2012 22:10:10
Hello,

As Ivan mentioned you can use the AccountCreationCompleted event for that, for example:
ctlMembershipEditorEmployer.AccountCreationCompleted += new EventHandler(ctlMembershipEditor_AccountCreationCompleted);
Finally call the Message.Show method, example below:
void ctlMembershipEditor_AccountCreationCompleted(object sender, EventArgs e)
{
    MonoSoftware.MonoX.Message.Show("This is an example message");           
}
Please note that ctlMembershipEditor is the MembershipEditor control.

Regards,
Mario
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts