Child site cannot get the new user registration notification

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/2/2012 12:39:07 PM
Gravatar
Total Posts 125

Child site cannot get the new user registration notification

latest mojo and MSSQL

I have two sites in related mode and I set an email address  "Email Addresses(es) For User Approval Notification" in the admin page. I got a email notification when the user registered in the main site. No email was sent when a new user registered in the child site. There was no info in the system log related to this. I test the smtp setting with the contact form and it works well.

Thanks

2/2/2012 12:53:22 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Child site cannot get the new user registration notification

We don't use related sites mode, so I'm not sure if this is different for you, but in our environment that setting is present in the site settings for each of our sites. In other words, we need to enter the email addresses for notification into every site's settings.

Jamie

2/2/2012 1:02:58 PM
Gravatar
Total Posts 125

Re: Child site cannot get the new user registration notification

Thank you for replying.

I think in related mode you don't get such a setting in the child site.

 

2/2/2012 1:50:45 PM
Gravatar
Total Posts 18439

Re: Child site cannot get the new user registration notification

Hi Wei,

I confirm this bug for related sites mode.

This is now fixed in the source code repository so it will be fixed in the next release.

In the mean time you can solve it by running a query to update the child site(s) like this:

UPDATE mp_SiteSettingsEx
SET KeyValue = 'yourcommaseparatedemailaddresses'
WHERE KeyName = 'EmailAdressesForUserApprovalNotification'
AND SiteID = yourchildsiteid

You'll probably need to touch web.config after that to clear the site settings cache.

Hope that helps,

Joe

2/4/2012 11:33:15 AM
Gravatar
Total Posts 125

Re: Child site cannot get the new user registration notification

I made the patch and it doesn't work. I recalled registration notification was working before and it stop sending emaill a while ago, maybe after updates. I am not sure since when it stop working.

2/4/2012 11:56:38 AM
Gravatar
Total Posts 18439

Re: Child site cannot get the new user registration notification

What do you mean by "I made the patch"?

You used the workaround I mentioned on your database or you got the fix from the source code repository?


2/4/2012 1:53:36 PM
Gravatar
Total Posts 125

Re: Child site cannot get the new user registration notification

Sorry for the confusion.

I got the fix from the souce code.

Thanks

2/4/2012 2:59:17 PM
Gravatar
Total Posts 18439

Re: Child site cannot get the new user registration notification

Hi Wei,

The fix in code was just a fix to make it propagate that setting to the child sites in related sites mode when the master site site settings are saved. So, if you have the latest code you just need to go to Site Settings in the master site and click the save button and that should solve it.

Hope that helps,

Joe

2/4/2012 3:01:55 PM
Gravatar
Total Posts 125

Re: Child site cannot get the new user registration notification

Thanks, Joe.

It works.

 

You must sign in to post in the forums. This thread is closed to new posts.