Welcome to Geeklog, Anonymous Tuesday, March 11 2025 @ 03:01 am EDT
Geeklog Forums
How to make a "last 5 logged in users" block
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
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. You can download the plugin here.
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.
In a world without walls and fences, who needs Windows and Gates?
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.
In a world without walls and fences, who needs Windows and Gates?
13
12
Quote
Status: offline
destr0yr
Forum User
Full Member
Registered: 07/06/02
Posts: 324
in regards to squatty's session block, i had to change line 11 in remote.php from:
to:
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
Text Formatted Code
$headers = getallheaders();to:
Text Formatted Code
$headers = $_SERVER['getallheaders()'];-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
19
14
Quote
All times are EDT. The time is now 03:01 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content