Administrators not receiving system emails

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
bdpaulick
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 5:05 pm

Administrators not receiving system emails

Post by bdpaulick » Wed Mar 31, 2010 5:10 pm

I have granted two users the ability to receive system emails as well as Administrators to the back end of our Joomla 1.5 site. However when I registered a test user, they did not receive the new user notification email only I did. By the way I am setup as the Super admin. Is there something I need to refresh/turn on/setup to enable them to receive the emails?

Thanks

BDP

val1723
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 165
Joined: Thu Jan 17, 2008 3:17 pm

Re: Administrators not receiving system emails

Post by val1723 » Wed Mar 31, 2010 5:39 pm

Are you using anything else besides Joomla for user management, like Community Builder?
www.theworldartistnetwork.org

If your question is answered and solves your problem, please edit your post and write -SOLVED at the end of your title so that others know where to find the answer. :)

bdpaulick
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 31, 2010 5:05 pm

Re: Administrators not receiving system emails

Post by bdpaulick » Wed Mar 31, 2010 7:24 pm

No only Joomla

val1723
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 165
Joined: Thu Jan 17, 2008 3:17 pm

Re: Administrators not receiving system emails

Post by val1723 » Wed Mar 31, 2010 8:26 pm

Did you add them to the contacts list?
www.theworldartistnetwork.org

If your question is answered and solves your problem, please edit your post and write -SOLVED at the end of your title so that others know where to find the answer. :)

elliea
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Jun 27, 2008 4:54 pm

Re: Administrators not receiving system emails

Post by elliea » Tue Apr 13, 2010 11:26 pm

Same problem here. I have set an Administrator to receive system emails but they do not get notified of new users. If I increase them to Super Administrator they do receive the emails.

User avatar
kestertonm
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sat Nov 11, 2006 1:45 pm

Re: Administrators not receiving system emails

Post by kestertonm » Mon Apr 19, 2010 3:46 am

I am also having this problem and have done considerable testing. It appears that the user has to be Super Admin to get system emails.

masse001
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Aug 26, 2010 5:29 am

Re: Administrators not receiving system emails

Post by masse001 » Thu Aug 26, 2010 5:51 am

I can't even get Super Admins to receive system emails. Does anyone have a resolution for this?

infocom
Joomla! Intern
Joomla! Intern
Posts: 96
Joined: Sun Oct 22, 2006 2:26 pm
Contact:

Re: Administrators not receiving system emails

Post by infocom » Fri Nov 19, 2010 6:48 pm

Same here! Just spent half a day trying to figure this out, turns out emails wont go to Administrators, have to make them Supers.

dooley
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Nov 26, 2010 9:27 pm

Re: Administrators not receiving system emails

Post by dooley » Fri Nov 26, 2010 10:29 pm

Is there a resolution for this issue?
Any ideas why my users are receiving email notifications, and mass mails function, but administrator emails are not working?

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Wed Jan 12, 2011 2:04 am

Hi,

Has anyone found a solution to this?

It's really bad design that we have to grant users Super Adminstrator access for them to receive system emails.

User avatar
airton
Joomla! Ace
Joomla! Ace
Posts: 1368
Joined: Sun Nov 04, 2007 1:12 am
Location: Brazil
Contact:

Re: Administrators not receiving system emails

Post by airton » Wed Jan 12, 2011 3:08 am

Joomla! 1.5 restricts the registration notifications to Super-Admins only, irrespectively of their having the parameter "Receive System Messages" set to yes or no. To change that behaviour, it is necessary to perform a core hack. Be aware that, if you perform this change, you'll have do it all over again every time you update/upgrade your J!1.5 installation.

In the file /components/com_user/controller.php around line 506 to 511 you'll see the following code:

Code: Select all

		//get all super administrator
		$query = 'SELECT name, email, sendEmail' .
				' FROM #__users' .
				' WHERE LOWER( usertype ) = "super administrator"
		$db->setQuery( $query );
		$rows = $db->loadObjectList();
change it to:

Code: Select all

		//get all super administrator
		$query = 'SELECT name, email, sendEmail' .
				' FROM #__users' .
				' WHERE (LOWER( usertype ) = "super administrator" OR LOWER( usertype ) = "administrator" OR LOWER( usertype) = "manager") AND sendEmail = 1';
		$db->setQuery( $query );
		$rows = $db->loadObjectList();
to allow admins and managers to receive the notifications along with the super-admins, but only if they have the parameter "Receive System Message" set to yes. If you change it to:

Code: Select all

		//get all super administrator
		$query = 'SELECT name, email, sendEmail' .
				' FROM #__users' .
				' WHERE sendEmail = 1';
		$db->setQuery( $query );
		$rows = $db->loadObjectList();
All users of any type will receive the email notifications, if they have the parameter "Receive System Messages" set to yes.

Hope it helps,
Airton Torres
Joomla Bug Squad http://groups.google.com/group/joomlabugsquad
Community website - http://community.joomla.org
Unsolicited support PMs will be deleted and the user added to the foes list.

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Wed Jan 12, 2011 3:26 am

Wow, thanks Airton! I'll give this a go and let you know.

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Wed Jan 12, 2011 4:47 am

Weird, it doesn't seem to work :(

I tried both options (the one which should email super admin/admin/managers and the other one which should email all users with receive sys emails enabled).
Both times only the Super Admin received the new user noticification email, even though my test admin user and a test normal user had receive sys emails enabled.
I've checked my spam as well.

I guess I'll try to install a clean VM and try your hack to see what happens. Unless you have any ideas?

EDIT: By the way, I'm running Joomla 1.5.22

Thanks,
Bob.

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Thu Jan 13, 2011 2:06 am

airton wrote: Hope it helps,
Hi,

OK, I installed the standard Joomla 1.5.22 / VM 1.1.6 bundle, used your hack but unfortunately it still only emails Super Admins.

Any ideas please?

I can PM you the URL if that's OK?

Thanks,
Bob.

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Thu Jan 13, 2011 2:44 am

This is weird! I completely commented out the //get all super administrator section of code and my Super Admin is still getting new user emails!

I just had a thought, I'm registering new users via the VirtueMart registration screens. Maybe they're don't use /components/com_user/controller.php but their own php file?

User avatar
airton
Joomla! Ace
Joomla! Ace
Posts: 1368
Joined: Sun Nov 04, 2007 1:12 am
Location: Brazil
Contact:

Re: Administrators not receiving system emails

Post by airton » Thu Jan 13, 2011 3:03 am

actiononlinenz wrote:This is weird! I completely commented out the //get all super administrator section of code and my Super Admin is still getting new user emails!

I just had a thought, I'm registering new users via the VirtueMart registration screens. Maybe they're don't use /components/com_user/controller.php but their own php file?
That's it. You found the problem. Virtuemart doesn't use com_users for registering/logging. ;)

Can't help you here. Sorry.
Airton Torres
Joomla Bug Squad http://groups.google.com/group/joomlabugsquad
Community website - http://community.joomla.org
Unsolicited support PMs will be deleted and the user added to the foes list.

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Thu Jan 13, 2011 3:16 am

At least I know, thanks for confirming. I (incorrectly!) assumed VM called the standard Joomla files. I'll try the VM forums (wish me luck!!).

actiononlinenz
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Sat Nov 14, 2009 12:38 am
Location: Wellington, New Zealand

Re: Administrators not receiving system emails

Post by actiononlinenz » Fri Jan 14, 2011 2:39 am

In case anyone finds this post who has the same issue (a VirtueMart issue, not Joomla), I worked out the solution, which I've posted here - http://forum.virtuemart.net/index.php?t ... #msg265593


Locked

Return to “Administration 1.5”