Intercept login process

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
silenus
Registered User
Posts: 11
Joined: Tue Aug 15, 2017 4:56 am

Intercept login process

Post by silenus » Mon May 21, 2018 1:55 pm

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.

User avatar
david63
Jr. Extension Validator
Posts: 14550
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Intercept login process

Post by david63 » Mon May 21, 2018 2:28 pm

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.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 5 guests