MyBB Community Forums

Full Version: What is the hook for after a user login?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a hook which is run after a user logs in and if so, what is it called (name)?
To add to it, is that hook connected to the "after-user-registration" hook or is it separate? If it is separate, what is it called as well?
Lastly, what hook is run when a user is authenticated? By this I mean when a user is already logged in, what hook is run to check if that user's cookies to make sure he's the real, legit user?
What hook is used to log a user out?
Finally, how long will MyBB's cookies live after logging in?

What I want to do is make it so that if a user registers/logins to the forum that a separate cookie is also made to another subdomain of mine.
See if this helps: [Wiki: MyBB_Plugin_Hooks] (Broken link, head over to docs.mybb.com instead)