That is not true - it uses the user's current IP address.
How can it log the user when then are constantly logged it - there is nothing to log.
if you click on the 'information' link [ i ] on a Members post, it should take you to the MCP where it will show the list of IP's that particular Member has posted from. Is that the information you want?testingground wrote: ↑Tue Apr 30, 2019 11:44 amby default your extension only logs the original registration IP.
I wouldnt post that if I hadnt checked.
I looked at someone who was logged in via the 'who is online' link and the IP was different to the one shown by your extension. I checked your extensions reported IP address and it was the users original registration IP.
I made an edit to the listener.php file as suggested by someone on your extension thread and this made it report the current IP. however as you know it wont log users currently logged in.
The 'who is online' link displays the current IP address (not the registered IP) so it should be possible to pull that data from the database?
Looks like that extension sits on
core.session_create_afterin order to be able to capture the automatic login / re-use of a previous login, in addition to the "actual successful completion of a login form" (
core.login_box_redirect) event. So that one may be logging what you're interested in, if OP was wanting more than just "completion of a login dialog" logged.
Is this the difference between
$this->user->ip? login_connect() appears to be logging the