Home | Calendar | Register | Member List | Active Users | Stats | FAQ | Search | Private Messages | User Options | Homepage

Please note:
At the moment there is no tForum Dev Team. Maybe one day some people will be motivated to continue the work. Feel free to download and use tForum anyway, but it might happen that nobody responds on the support forum.

Print This Topic    Mark Topic as Unread 

Poster
Message    
dakine
Status: Jr. Member
Posts: 11
Registered: Feb 02, 2008
IP: Logged
Notification by email of new signups [Message #1]

Hi,

Does anyone know if tForums version b0.94.2.3 come with somekind of an automatic notification by email to the admin of new signup's??... I was wondering if it had this feature.

Thanks

Feb 16, 2008 at 04:37 AM
Print
Toxic

Status: tForum Developer
Posts: 389
Registered: Jul 14, 2005
IP: Logged
Re: Notification by email of new signups [Message #2]

no. but it should not be too difficult to create a modification for that. perhaps I'll have a look at it next weekend.

Feb 17, 2008 at 10:19 PM
Print
dakine
Status: Jr. Member
Posts: 11
Registered: Feb 02, 2008
IP: Logged
Re: Notification by email of new signups [Message #3]

That would be cool!

Feb 22, 2008 at 09:34 AM
Print
Toxic

Status: tForum Developer
Posts: 389
Registered: Jul 14, 2005
IP: Logged
Re: Notification by email of new signups [Message #4]

you could give this a try

CODE:
#OPEN member.php #FIND $sql->query($query); SomeMessage($txt['Registered'],$txt['Registeredtxt']); #REPLACE $sql->query($query); @require('./includes/mail.php'); $crlf = "\r\n"; $ent['UserName'] = $_POST['userinfo']['UserName']; $ent['Email'] = $_POST['userinfo']['Email']; $ent['IP'] = $_SERVER['REMOTE_ADDR']; $query = 'SELECT * FROM '.PREFIX.'users WHERE GroupID=1'; // query all admins $sql->query($query); while ($toEmailUser = $sql->get_assoc()) { $mail = new MAIL_OBJECT; $headers = 'From: '.$fSettings['SiteName'].' <'.EMERGENCY_EMAIL.'>'.$crlf.'Return-Path: <'.EMERGENCY_EMAIL.'>'; $subject = $txt['NewRegistration']; $ent['AdminName'] = $toEmailUser['UserName']; $message = ParseTemp(ReadTemplate('mail/newregistration'),$ent); $mail->send($toEmailUser['UserName'],$toEmailUser['Email'],$subject,$headers,$message); } SomeMessage($txt['Registered'],$txt['Registeredtxt']); #OPEN language/text.php #ADD $txt['NewRegistrationtxt1'] = 'Hello'; $txt['NewRegistrationtxt2'] = 'Someone has just registered to your forum:'; $txt['NewRegistration'] = 'New Registration'; #CREATE templates/mail/newregistration.html <!txt_NewRegistrationtxt1> <!AdminName>, <!txt_NewRegistrationtxt2> <!txt_username>: <!UserName> <!txt_Email>: <!Email> <!txt_IP>: <!IP> <!txt_adminpanel>: <!ScriptURL>/admin/index.php #END
Feb 26, 2008 at 11:38 AM
Print
dakine
Status: Jr. Member
Posts: 11
Registered: Feb 02, 2008
IP: Logged
Re: Notification by email of new signups [Message #5]

Wow, Thanks Tox for providing this notification mod!

You da bomb dude!

Cheers

Feb 26, 2008 at 05:20 PM
Print

Surf To:
Username: Password: Lost your password?

tForum version b0.94.2.3 (© 2003 tForumDevTeam)