Not Solved Admin Activate Email 1.0 - Copyright 2011 Fábio Maia
#1
Not Solved
Hello all,

i want a plugin which sends mails to my users if they are activated. I found the script from Fabio but it don`t works. Nothing happens - no error - nothing.

The mails are working because the forum sends from other plugins the mails.

My forum is on 1.6.8 and have the german language pack. COPPA isn`t active!

Is it possible that this is the incorrect hook for my forum "admin_user_users_coppa_activate_commit" ? I don`t find any other hook.

I have edited the script so it is very simple but nothing happend. I need help. Please!

$plugins->add_hook("admin_user_users_coppa_activate_commit", "adminactivateemail_run");


function adminactivateemail_run()
{
    global $mybb, $user;
    
    $adminactivateemail_subject = "Validierung von Ihrem Benutzer erfolgreich!";
    $adminactivateemail_message = "Die Validierung von Ihrem Benutzer konnte erfolgreich abgeschlossen werden.\n Sie haben nun vollen Zugriff .\n Viele Grüße";
    
    my_mail($user['email'], $adminactivateemail_subject, $adminactivateemail_message);
}

Best,
Simo78

Please help. Fábio Maia isn`t responding.
Reply


Messages In This Thread
Admin Activate Email 1.0 - Copyright 2011 Fábio Maia - by Simo78 - 2012-11-09, 06:32 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)