SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: DollarSRV on October 26, 2010, 09:02:17 AM
-
Why when you tick Users Online Today: nothing changes?
-
Please give more detail.
If the list of users currently online is the same as the list of user who have been online today, nothing should change when you tick/untick the box.
Are you observing something different than this?
-
Yes when members have gone offline and there is only me on even then it don't say who has been online nothing seems to change i'm assuming it should look something like this.
Guests: 0
Hidden: 0
Users: 1
Users online:
Trax
Users who have been online (or something like this) and it don't say this or anything else it just shows like it does on this site when it is or isn't ticked.
Hope you understand what i mean.
-
I had a look at the code for sp_whosOnline
Here's something interesting I saw:
if ($online_today && file_exists($sourcedir . '/Subs-MembersOnlineToday.php'))
This tells me the file is not expected to always be there. So I did a little search at simplemachines.org, and found that there is a mod called Members Online Today.
So -- if you want members online today, you will need to install the mod.
-
Oh ok, any chance you could post link to that mod you found please.
-
You can find this mod at simplemachines.org. Search the mods for "Users Online Today"
-
Ok thanks.
-
Im using SMF RC5 and SP 2.3.3 and i have this mod installed.
unfortunately, the members online today are not displayed (Only in SP-Block, in my board all is looking well...)
What can i do?
-
I have the same problem. :( White still no advice? :nervous-happy:
-
Open: ./Sources/PortalBlocks.php:
if ($online_today && file_exists($sourcedir . '/Subs-MembersOnlineToday.php'))
{
require_once($sourcedir . '/Subs-MembersOnlineToday.php');
$membersOnlineTodayOptions = array(
'sort' => 'login_time',
'reverse_sort' => true,
'period' => 'current_day',
'canview' => 'registered',
);
$stats += getMembersOnlineTodayStats($membersOnlineTodayOptions);
if ($online_today && file_exists($sourcedir . '/Subs-UsersOnlineToday.php'))
{
require_once($sourcedir . '/Subs-UsersOnlineToday.php');
$membersOnlineTodayOptions = array(
'sort' => 'login_time',
'reverse_sort' => true,
'period' => 'current_day',
'canview' => 'registered',
);
$stats += getUsersOnlineTodayStats($membersOnlineTodayOptions);
-
Perfect, thank you! :applause:
-
You're welcome :)
There are few more blocks in SP 2.3.5 that need updates ::)
-
Block Who's online needs to be updated for new version of Users Online Today Mod. Fix in reply #9, but I would check it before adding to package :)
-
Thanks for this!
Fixed for the upcoming version.