core.auth_login_session_create_before
event has a parameter autologin
, maybe that's what you're looking for?core.auth_login_session_create_before
event has a parameter autologin
, maybe that's what you're looking for?As you say no - I am going from memory and as far as i can recall the "remember me" is handled in session handling and there are no [suitable] events in there where I could pick up the user data.
That may be true but like I said I myself, have used different browsers, different devices and have been in different locations so how are my sessions remaining active between devices? Maybe I am missing something or don't understand fully but my own logons are not being loggeddavid63 wrote: Sat Mar 03, 2018 3:05 pm One possible reason why you are not seeing logon information could be that they are accessing the board while their session is still active.
Logging new users definitely works on my board.
I confirm. No admin is logged. Not the founder, not another admin.menz01 wrote: Sat Mar 03, 2018 5:35 pm That may be true but like I said I myself, have used different browsers, different devices and have been in different locations so how are my sessions remaining active between devices? Maybe I am missing something or don't understand fully but my own logons are not being logged
Admin login is already logged by default in the Admin log
although my account has full administrator privileges through individual privileges, my account is not part of the "administrators" group there is another account created like mine and his logon are logged in the log. as long as i get everyone else's, i don't care if mine is logged or not, but since i have seen mine not logged and a couple of others that are sometimes logged, i am not sure i am getting them all.
listener.php:get_usertype_from_username
Code: Select all
protected function get_usertype_from_username($username)
{
return 'user';
/* return someswitch ? 'admin' : 'user'; */
}
listener.php:login_connect
Code: Select all
$this->user->data['user_ip']
Code: Select all
$this->user->ip
i reported this as well (see my posts above yours) i also reported that "new user registrations" are also not logged despite being enabled.SiWoC wrote: Wed Nov 07, 2018 8:59 pm On phpbb 3.2.3 php 7.1.23
Admin (at least my Administrator/owner) successful login to the forum is not logged. Not in the Admin log, not in the User log.
Admin logins (Successful or UnSuccessful) to the ACP are logged in the Admin log.
When the extension (with default code) is enabled, normal user logins are logged in the User logs. Admin logins are the same as above.
I suspect the error is inlistener.php:get_usertype_from_username
If I change that to always return 'user'Then all forum logins are neatly logged in the User logs, for Admin and for "normal" users and the ACP logins are still logged to the Admin log.Code: Select all
protected function get_usertype_from_username($username) { return 'user'; /* return someswitch ? 'admin' : 'user'; */ }
If an Admin only logs into the forum, he's a User. If an Admin logs into the ACP, he's an Admin. Both with respective logs.
but log prunning of ext log connection too?david63 wrote: Tue May 07, 2019 8:51 pm There are at least two log prunning extensions that I am aware of
https://github.com/david63/david63-prunelog
https://www.phpbb.com/customise/db/extension/prunelogs