The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Admin Notification emails - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Admin Notification emails (/showthread.php?tid=987)



Admin Notification emails - medtrans - 03-01-2018

I have been looking at the forums for the code to send admin email when a new users registers using the email template/casemanagers/admin_notification.php

Has anyone added this code?

Thanks



Admin Notification emails - Brandin - 03-02-2018

admin_notifications is only for the notifications system.

I would recommend using the messaging a system and turn email notifications on-or you can send the email manually. Your best example would be on messages.php or admin_messages.php


Admin Notification emails - medtrans - 03-02-2018

Thanks for that answer. I was actually looking for the system to send an notification email to the administrator when a new user enrolls.

Thanks


Admin Notification emails - Brandin - 03-02-2018

That hasn't been built-nor requested before. You'll do this in during_user_creation. Make a template in Views (copy one of the _email ones) and pass your parameters. You can copy the Email Code on the join.php page. Let me know if you need help-I'd write a script out for you but I'm in the middle of something right now, sorry!


Admin Notification emails - medtrans - 03-05-2018

Brandin,

That worked, thanks!