e-mail to admin when author makes an entry

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Stosh
Regular
Posts: 77
Joined: Mon Oct 12, 2009 11:47 pm

e-mail to admin when author makes an entry

Post by Stosh »

Is there a way to do this?

I have it set up to only allow new registrars to make drafts. Is there a way to send me an e-mail to the admin when they save it, or log out, mayhaps?


-s
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: e-mail to admin when author makes an entry

Post by Timbalu »

Stosh wrote:...only allow new registrars to make drafts.
How did you do this, in core or by plugin?
To be honest, I don't really think it is possible to control registered users activities by email.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: e-mail to admin when author makes an entry

Post by garvinhicking »

Hi!

Currently there's no public plugin that does this. But the hook is there, and you could easily make a plugin "listen" on when drafts are created, and perform a mail().

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply