Posted on: 12/01/03 05:16am
By: pernas
Hi!
I need some help in making a phpblock to show "last 5 logged in users" as the lastlogin field is located in another table than the username is i'm not sure how to do this.
Regards,
Per
Re:How to make a "last 5 logged in users" block
Posted on: 12/01/03 09:00am
By: squatty
The Visitor Stats plugin has this feature. In fact, it shows you all users who logged in for a given day. You can see a working example of it
here[*1] . You can download the plugin
here[*2] .
Another option is a block I created that shows your current session information. I was having issues with remote IP addresses so I created this block to help debug. You can find the session block
here[*3] .
Re:How to make a "last 5 logged in users" block
Posted on: 12/03/03 04:26pm
By: pernas
Thanks, i'll give it a try
Re:How to make a "last 5 logged in users" block
Posted on: 12/05/03 06:49am
By: destr0yr
in regards to squatty's session block, i had to change line 11 in remote.php from:
$headers = getallheaders();
to:
$headers = $_SERVER['getallheaders()'];