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 )

12586 put(a) pogledan, 7 odgovor(a) 5.12.2012. 16:46:49Kreirao(la) super
super

super

5.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.
Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
imarusic

imarusic

6.12.2012. 9: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.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
2793 Reputacija 345 Ukupno objava
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.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
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"

Ovaj sadržaj još nije ocijenjen. 
6018 Reputacija 709 Ukupno objava
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
Ovaj sadržaj još nije ocijenjen. 
2218 Reputacija 300 Ukupno objava