Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add latest Elxis wiki documentation in your site
 
Pages: [1]
  Print  
Author Topic: Administrator notification of new user registration  (Read 1948 times)
yiannisK
Elxis Community
Sr. Member
*****
Offline Offline

Posts: 284



WWW
« on: June 22, 2009, 01:24:16 PM »

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.
« Last Edit: June 22, 2009, 01:26:43 PM by yiannisK » Logged

www.promoweb.gr  | γίνετε αιμοδότες!
yiannisK
Elxis Community
Sr. Member
*****
Offline Offline

Posts: 284



WWW
« Reply #1 on: June 23, 2009, 10:17:49 AM »

Anybody home?  Roll Eyes
Logged

www.promoweb.gr  | γίνετε αιμοδότες!
datahell
Elxis Team
Hero Member
*****
Offline Offline

Posts: 5802



WWW
« Reply #2 on: June 23, 2009, 08:22:07 PM »

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);
Logged

Elxis Team | Is Open Source | IOS Reservations | IOS Eshop
yiannisK
Elxis Community
Sr. Member
*****
Offline Offline

Posts: 284



WWW
« Reply #3 on: June 23, 2009, 11:00:50 PM »

Thanks!

EDIT: i feel like idiot  Grin.
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
« Last Edit: June 24, 2009, 12:44:12 PM by yiannisK » Logged

www.promoweb.gr  | γίνετε αιμοδότες!
GeorgeBowers
Newbie
*
Offline Offline

Posts: 1


« Reply #4 on: February 03, 2010, 08:25:51 PM »

Nice one Datahell. That's just the code I need. I've been trying to figure out how to do this for the past few days until I found your post so thanks ALOT!

Bowtrol | Web Marketing
« Last Edit: May 20, 2010, 05:52:14 PM by GeorgeBowers » Logged
Pages: [1]
  Print  
 
Jump to: