Sorry I can’t provide a drop in solution, but hopefully my little code can help someone to code for this plugin.
Here is the code for the web user save notification.
<?php
// Set this plugin to listen on "OnWUsrFormSave"
global $content;
$e = &$modx->Event;
switch($e->name) {
case 'OnWUsrFormSave':
// NOTE:
// - You might need to code soemthing to check whether the the event being
// called on new user or they are just updating their user information
// - I'm not to for sure whether this event being called on web user
// signup form snippet included on basic installation of MODx though,
// hopefully it is.
// - I NEVER TESTED THE SCRIPT, so be careful in using this :D
mail("[email protected]", "Web User Created", "There is a new web users created!");
break;
default:
break;
}
?>
For the user comment, I’m assuming you’re using the comment snippet. Look for this line "// create new comment page", after that comment, you need to add mail function calling on those snippet to send you an email.
// NOTE:
// - I HAVEN'T TESTED THIS YET!
mail("[email protected]", "New Comments", $comment);
Hope that helps.