2022-05-10, 10:48 AM
Hello there, I'm relatively new here, and posted an introduction some days ago, which is here: https://community.mybb.com/thread-17770-...pid1376994
I'm writing a plugin that's supposed to identify and manage users who have gone inactive (stopped visiting). One of the things it should do is to change their status back to active upon successfully logging back in. While looking into the hooks that I may use, there are at least three alternatives:
I'm not sure which one to use, or whether there is a better one. Could you help? Thank you.
P.S. I'll appreciate if you could explain the difference between them.
I'm writing a plugin that's supposed to identify and manage users who have gone inactive (stopped visiting). One of the things it should do is to change their status back to active upon successfully logging back in. While looking into the hooks that I may use, there are at least three alternatives:
- member_do_login_end
- member_login_end
- datahandler_login_complete_end
I'm not sure which one to use, or whether there is a better one. Could you help? Thank you.
P.S. I'll appreciate if you could explain the difference between them.