Page 1 of 1

Intercept login process

Posted: Mon May 21, 2018 1:55 pm
by silenus
Hi,

I begin to discover phpBB source code.

What I want to do :

After a successfull user login, and before session (or other internal variable) setting up the user is successfully authentified, I want to call a php script (which, based on its results, may affect theses variables saying user is or not logged).

Can you make me clear about which source code file, function, variable, may I modify? I don't know about phpbb software architecture and there are a lot of files...

Best regards.

Re: Intercept login process

Posted: Mon May 21, 2018 2:28 pm
by david63
It is not recommended that you edit core code but that you use extensions, which as you have posted in the Extension Writers Discussion form is what I am guessing that you are trying to do.

I would suggest that you start by looking at the core.login_box_redirect event - or possibly one of the other events in that function.