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!
Best,
Simo78
Please help. Fábio Maia isn`t responding.
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.