Quote:
Originally Posted by Sarteck
Short answer, yes.
You could make a plugin on newpost_process that would search the content of the post for your specified tags, and if one or more is found, have it e-mail the specified address.
Something like,
PHP Code:
$flag_for_email = false;
$flags = array('alertword1','alertword2');
foreach ($flags AS $flag) {if (stristr($post['message'],$flag)) {$flag_for_email = true;}}
if ($flag_for_email) {do_my_email_stuff($post['threadid']);}
|
Thanks for the fast and serious help!
Any help on how i make an addon in "newpost_process" ?
(Yes, i am a newbie :-) ) Thanks in advance.