Topic-icon Registered users getting "Account Details for xxxx" email

Active Subscriptions:

None
Hi,

Our portal is running Joomla 2.5 with Jreviews and Jomsocial latest versions. We had Jfbconnect also running on the site and we recently upgrade that to the latest version. However after upgrading to the latest version in JFBConnect we are experiencing a new issue on the portal. Certain registered users are getting the following email

"
Hello administrator,

A new user 'Aeo Glen', username 'aeog', has registered at www.xxxxxxxxxxxx.com/.
"

The users receiving this email are not administrators, they are normal registered users. Initially this was sent out to over 1700 users and we manually turned off the receive system emails option for each of these accounts. We also turned off notification to Administrators under options in User Manager. Even though these settings were enabled earlier we are facing this issue only after upgrading to the latest version in JFBConnect.

Even after turning off all these options, certain users are still getting this email sent to them. And this does not happen when a user registers normally. It only happens when the user connects his account with facebook.

Our users are finding this very frustrating and we are losing users because of this. We have tried everything we can think of and are still working on this. Can you please help us out with this ? I noticed that in the changelog for the latest version the last point is "Bug Fix: Joomla 2.5 admin new user emails not sent". Could this have something to do with this behavior ?

We'd really appreciate your support on this. Thanks in advance.

Regards
Glen
The topic has been locked.
Support Specialist
Glen,
The new user emails are sent to any users marked as "Receive System Emails". The functionality to process which users receive new user notifictions was copied directly from Joomla's user component itself.

There is no way to specify that only admins receive the new user emails, it's only dictacted by the "Receive System Emails" setting for each user. That can only be enabled through the admin area, and should not be enabled for all of your users.

Obviously, it's a big problem for all users to receive new user notifications (with name and email information). JFBConnect is used on tons of Joomla 2.5 sites, and this is not an issue that's been reported before and it's never been seen during testing. If you're seeing different behavior, please let us know, but it sounds like the Receive System Notifications setting is being improperly set for your users.

Finally, if you'd like, we can gladly tell you what code to comment out to prevent the new user notification email from being sent altogether.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thanks for the response. I am aware that the emails are being sent because of "Receive system emails". We have turned this off for all users. But for some reason it is being turned on for certain users automatically. Some action on their part or some component/plugin is turning this back and we have no idea whats causing it. We have not been able to determine a pattern for this behavior either. If you can guide me on some methods we can use to pin point the cause, that would be helpful too.

Finally as a last resort, can you please let me know what code to comment out to prevent the new user notification email from being sent altogether. Also will this affect the user activation emails/forget password requests etc ?

Another thing that we noticed now is that JFBConnect is not working for us for new registrations. Existing users are able to log in fine and users can also connect facebook with an existing joomla account. But new registration does not work on step two (when the user has to choose a username and password and hit submit)
You can test this at tinyurl.com/84xdv7f

Thank you

Regards
Glen
The topic has been locked.
Support Specialist
Glen,
I can't imagine a reason or extension that would be automatically setting that value. The option also shouldn't be exposed to the user on the front end. I'd check the User plugins you have enabled to see if there's anything 'odd' there that might be the cause. It could be any type (system or other), but User is a good guess to check.

Beyond that, the only thing I can suggest is removing the admin email. It won't affect the email the new user receives, so that shouldn't be a problem. To disable, you'll need to edit the /components/com_jfbconnect/controllers/loginregister.php file. About 20 lines from the bottom of the file, you'll see:
// get all admin users
            $query = 'SELECT name, email, sendEmail' .
                    ' FROM #__users' .
                    ' WHERE sendEmail=1';
Simply add the following line directly above that:
return;
That will prevent all the code below there from running, which is what sends the admin emails.

Finally, for the new user registration being sent to a registration form, that's normal with the way you have JFBConnect configured. If you want the automatic registration (no forms) you should change the "Registration Flow" in the configuration area of JFBConnect to "Automatic".

Hope that helps, although I'm still confused as to the actual cause of the first issue...

Thanks, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thanks for the update. We were able to disable sending the emails using that method.

With regards to the "Registration Flow" i am aware there is a second step involved. However when i fill the form and hit submit, the page reloads again with the same info. So we are not able to register successfully. You can check this by trying to register a new account via Facebook on the following link

tinyurl.com/d3zbspc

Can you please check this ?

Regards
Glen
The topic has been locked.
Support Specialist
Glen,
Sorry, I was confused what you were looking for.

I just used the registration and my account was created without any errors or other issues. My username is 'sourcecoast' if you want to check the profile. Not sure why you're seeing an error. If the page is reloading with the same info, can you check:
* The top of the content area says "Welcome *name*", whatever your name is. If it doesn't have your name, that's a problem
* The password you're using is at least 6 characters long (I think that's our requirement)
* The passwords actually match
* The facebook user's email isn't already in your system. We do checks if this is the case and show the email field, but maybe that's not working for some reason.

Let us know what you find,
Alex
The topic has been locked.