BartVB
I posted it here before, but didn't get an answer:
https://discuss.flarum.org/d/11960-can-i-call-different-functions-in-an-extension-depending-on-what-event-is-fired
In short, I want to link the users on my forum, to the users on my main site, and to do that, I want to check if a user that logs in, exists on the database of users on the main site, which I could do if I knew how to get the login details from the users when they log in, and pass them to a JavaScript function, but I don't know how or if I can do that.