Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Setup Admin Email Notification for new installs



Threaded Mode | Print  

 Setup Admin Email Notification for new installs (3 Replies, Read 6167 times)
titanhost
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hey all,

I was curious as to the best way (if it can be done) to setup admin notification emails for new script installations.

Example:

Client installs a new WordPress instance via softaculous. Once the install completes successfully, the admin email would be triggered.

The email itself would primarily need to contain the following data:

- cPanel user that triggered the installation
- URL of the new installation


I am familiar with PHP development but I don't have an in-depth knowledge of Softaculous, so I wanted to make sure I was approaching this the right way.
IP: --   

Setup Admin Email Notification for new installs
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

You can use the Post Install filter in Softaculous :
https://www.softaculous.com/docs/Filters#post_install

This filter is triggered after each installation is completed. You can use the use the details you receive as the parameter and send an email.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Setup Admin Email Notification for new installs
titanhost
Group: Member
Post Group: Newbie
Posts: 2
Status:
Brijesh,

Thanks for your reply. This appears to be exactly what I'm looking for!

One more question: Do you have a recommendation for how best to retrieve the cPanel username that ran the installation?

Thanks again for your help.
IP: --   

Setup Admin Email Notification for new installs
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

You can globalize the $softpanel in your filter and use the following :
Code
$softpanel->user['name']


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 9:42 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.022