Elxis CMS Forum
Support => Administration => Topic started by: yiannisK on June 22, 2009, 14:24:16
-
Is there a way Elxis notify me when a new user is registered, account activated via e-mail?
As it does when i select Account Activation: Manual.
-
Anybody home? ::)
-
I am home!
components/com_registration/registration.php
line 367-373:
if ($mainframe->getCfg('useractivation') == "1") {
.........
mosMail($mainframe->getCfg('mailfrom'), $mainframe->getCfg('fromname'), $email, $subject, $message);
Add bellow:
mosMail($mainframe->getCfg('mailfrom'), $mainframe->getCfg('fromname'), 'your e-mail address here', 'New user registration', $message);
-
Thanks!
EDIT: i feel like idiot ;D.
This site was on Olympus 2008, and if i am not wrong this feature was not enabled. The admin was notified only when the registered user had to be approved manually.
The admin notification works fine after the update in 2008.1 2245 and then in 2009
Anyway, the above hack is very useful to notify a 2nd administrator