News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Members Online Today

Started by Doug Heffernan, April 19, 2022, 05:57:48 PM

Previous topic - Next topic

Doug Heffernan

Link to the mod

This is a simple mod that will list all members who logged in at your forum for the past 24 hours on board index at the Info Center area.

There are no settings for this mod. After you install the mod, go to the group(s) that you want to view the list of today visitors, click the modify button, tick the View Today 's Visitors checkbox and save the changes.

Speed King

Just installed on my test forum, then on my live forum.
The mod is working as expected, no error messages found in the server log.

Thanks for this mod :)

Doug Heffernan

Quote from: Speed King on April 20, 2022, 12:57:54 AMJust installed on my test forum, then on my live forum.
The mod is working as expected, no error messages found in the server log.

Thanks for this mod :)

You are welcome :)

And thank you too for your feedback :)

JessyKa

Also thanks for this mod, @Doug Heffernan
Find attached the first german translation

Doug Heffernan

Quote from: JessyKa on April 20, 2022, 10:03:50 AMAlso thanks for this mod, @Doug Heffernan
Find attached the first german translation

German language has been included in the mod. Thank you @JessyKa :)

JasonSGN

Thanks for the mod. I have it installed and it seems to be working fine, but when I logged into my admin area these two error logs appeared:


Hook call: function "UsersOnlineToday_settings" in file /home/xxxxxx/public_html/websitename.com/forum could not be called.

and

The callable UsersOnlineToday_settings could not be called.
I can post the Backtrace information is necessary.

Doug Heffernan

Quote from: JasonSGN on April 20, 2022, 11:48:24 AMThanks for the mod. I have it installed and it seems to be working fine, but when I logged into my admin area these two error logs appeared:


Hook call: function "UsersOnlineToday_settings" in file /home/xxxxxx/public_html/websitename.com/forum could not be called.

and

The callable UsersOnlineToday_settings could not be called.
I can post the Backtrace information is necessary.

Are you sure that you installed my mod? There is no UsersOnlineToday_settings function in it.

JasonSGN

I do have yours installed, but maybe it's leftover from an older version I had converted to 2.1. Thanks for clarifying.

Doug Heffernan

Quote from: JasonSGN on April 20, 2022, 12:31:20 PMI do have yours installed, but maybe it's leftover from an older version I had converted to 2.1. Thanks for clarifying.

No problem.

I think that it comes from Users Online Today mod btw, the one compatible with 2.0.x, as that mod has the aforementioned function by looking at its code.

pikeman

Great mode!

Could be added the option of "members present today" instead of "members present in the last 24 hours"?

Doug Heffernan

Quote from: pikeman on April 20, 2022, 02:35:47 PMGreat mode!

Could be added the option of "members present today" instead of "members present in the last 24 hours"?

You can change wording at the mod 's language file which is called: MembersOnlineToday.english.php

pikeman

I didn't mean the text. I would like to see a list of members logged in today, not logged in in the last 24 hours.

Doug Heffernan

#12
Quote from: pikeman on April 20, 2022, 05:11:27 PMI didn't mean the text. I would like to see a list of members logged in today, not logged in in the last 24 hours.

Can you please tell me what criteria is that today, that you want, based on, from midnight to midnight?

FrizzleFried

12:00:01AM (00;00:01) on = Today.

;)

The problem would be that it's different at any particular moment for each time zone.  Not sure if that's much of a problem though...

Doug Heffernan

I see. That is not possible in the current version of the mod.

Matthias

@Doug Heffernan
I'm thrilled with how you're putting out one good mod after another here.
Quality first


Steve

As I've told you privately Doug, great mod and thanks!
Please do not PM me for support. 

FrizzleFried

May I ask... how does this mod differ from the "Users Online Today 2.1.1" mod?

EDIT:  I answered my own question.  There is no Users Online Today 2.1.1 mod here.   Now I wonder just where in the heck I managed to get the one installed in my forum?!? (That is NOT the 2.0.x version installed via emulation)?!?   

Hmmm....


@rjen

I think you got that from me...
Running SMF 2.1 with latest Tinyportal at www.fjr-club.nl
Testing SMF 2.1 with next version Tinyportal at test.fjr-club.nl

Advertisement: