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 5300 time(s), 7 post(s) 12/5/2012 4:46:49 PMby super
super

super

12/5/2012 4:46:49 PM
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.
This content has not been rated yet. 
6018 Reputation 709 Total posts
imarusic

imarusic

12/6/2012 9:15:59 AM
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.
This content has not been rated yet. 
3016 Reputation 428 Total posts
Zoomicon

Zoomicon

12/10/2012 11:45:34 AM
>2. Membership editor has ActivationRequired property. Set it to true in order to avoid account activation.
</br>you mean "false" I guess
This content has not been rated yet. 
2793 Reputation 345 Total posts
Zoomicon

Zoomicon

12/10/2012 12:01:46 PM
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
This content has not been rated yet. 
2793 Reputation 345 Total posts
imarusic

imarusic

12/10/2012 12:23:30 PM
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.
This content has not been rated yet. 
3016 Reputation 428 Total posts
super

super

12/10/2012 9:34:45 PM
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"

This content has not been rated yet. 
6018 Reputation 709 Total posts
mzilic

mzilic

12/10/2012 10:10:10 PM
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
This content has not been rated yet. 
2218 Reputation 300 Total posts