I installed your module - but am not having any success in getting it to work. I am running J 1.0.12 with Comm Builder 1.0.2. Mod publishes and appears fine one site, but no email comes to any site admin.
I am suspecting this may be the culprit.
mod_sugbox.php
Line 18
$query = "select email from jos_users where name = 'Administrator'";
Sites using CB may have trouble. Also - should it read...
$query = "select email from jos_users where GROUP = 'SUPER Administrator'";
Thanks!
baskman
Owner's reply:
Hi, This module is built to work with a default Joomla! database schema. Not one that has been modified with CB. If your administrator accounts name is not 'Administrator' then the module will not work. In this case you could edit the mod_sugbox.php file and replace $recipient = $resArray[0]; with $recipient = "email1@domain.com, email2@domain.com"; Also, make sure that your php.ini file is setup properly to use the mail() function.