HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Moderated Posts

Is there a way to send the admin an email when a message is waiting to be moderated. IE new user signs up and their first post is moderated to make sure they are human? Right now when logged in i see on my user that there are posts waiting to be moderated but I want to get an email


  • Options
    R_JR_J Ex-Fanboy Munich Admin

    You need a custom plugin for that ;-)

    Take a look at LogModel->insert(). It fires an event "AfterInsert". In your plugin you need a method

    public function logModel_afterInsert_hendler($sender, $args)

    Maybe it's gdn_logModel_...

    $args will hold the information you need to decide what to do. I like putting a decho(array_keys((array)$args)); as the only line in such a method and see what info is passed.

Sign In or Register to comment.