News:

Wondering if this will always be free?  See why free is better.

Main Menu

Users Online Today Mod

Started by Nibogo, November 06, 2005, 01:42:31 AM

Previous topic - Next topic

Sabre™

Yeah, I dunno how I missed it being there when I first checked it. * scratches head
I edited your template, see if it works for you.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


ishy


Sabre™

Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


baulknaub

Well, I am scratching my head - I just upgraded to 2.0 RC2 and my templete's admin section no longer works, which is a topic for another thread of course. But mu Users Online no longer appears at the bottom. I have uninstalled and reinstalled it and can see the changes in my files as outlined on the mod page and have verified the 2 additional files are in their proper place. In other words - all looks like it is should be but it just doesn't show up.
So - any suggestion of what I could check next would be helpful.

simplebeer

Quote from: baulknaub on November 10, 2009, 09:32:03 PM
Well, I am scratching my head - I just upgraded to 2.0 RC2 and my templete's admin section no longer works, which is a topic for another thread of course. But mu Users Online no longer appears at the bottom. I have uninstalled and reinstalled it and can see the changes in my files as outlined on the mod page and have verified the 2 additional files are in their proper place. In other words - all looks like it is should be but it just doesn't show up.
So - any suggestion of what I could check next would be helpful.

Updated from 1.1.10?

Seen this?
1.4.0: SMF 1.1.x
1.5.4: SMF 2.0 series

Gr
Sorry for my poor English, but i think it's probably better then your Dutch :)

imrich

Quote from: JimM on November 04, 2009, 08:40:08 AM
This mod already installs fine on 2.0RC2.

Yes it seems to work, but I did notice this in my log when I installed it:

http://www.domain.tld/forum/index.php?action=admin;area=packages;sa=install2;package=Users_Online_Today_1.5.4.zip;pid=08: Undefined index: theme
File: /user/domain/public_html/forum/Sources/Packages.php
Line: 935

I'm not sure if this is a bug in SMF 2 RC2 or if it's an issue with this mod?

During install I did choose to install it in a couple of optional themes that I have, but I'm mostly using curve for now.

The mod does seem to be working ok.

imrich

Quote from: imrich on November 12, 2009, 09:23:04 AM
Quote from: JimM on November 04, 2009, 08:40:08 AM
This mod already installs fine on 2.0RC2.

Yes it seems to work, but I did notice this in my log when I installed it:

http://www.domain.tld/forum/index.php?action=admin;area=packages;sa=install2;package=Users_Online_Today_1.5.4.zip;pid=08: Undefined index: theme
File: /user/domain/public_html/forum/Sources/Packages.php
Line: 935

I'm not sure if this is a bug in SMF 2 RC2 or if it's an issue with this mod?

During install I did choose to install it in a couple of optional themes that I have, but I'm mostly using curve for now.

The mod does seem to be working ok.


I tested this again and even with the new 1.5.5 version that was supposed to be updated to work with Curve and confirmed that I get this error when installing on some other themes that the package manager identifies as ok to install on.

But if I install this mod only on the default theme (don't check any additional themes), then this error does not occur.

Thanks for this mod. I wish the mod would allow changing it's settings via the modifications settings admin page.


Carceri

Quote from: imrich on November 14, 2009, 08:44:42 AM
Thanks for this mod. I wish the mod would allow changing it's settings via the modifications settings admin page.

It's on the TODO list.

imrich

#1428
There is a minor display bug in this mod when the period is set to 'last_7_days'.

With the period set to 'last_7_days', then when you hover your mouse over the list of members that have been online within the last 7 days, members that are over 24 hours old display the date last logged in as 'Yesterday AT xx:xx PM', but when you view their profile, you can see that they were last active several days earlier (but the time of day is correct). So it seems that the 'yesterday' logic is not correct when the user was last logged in longer than 24 hours.

Carceri

Quote from: imrich on November 17, 2009, 08:04:32 AM
There is a minor display bug in this mod when the period is set to 'last_7_days'.

With the period set to 'last_7_days', then when you hover your mouse over the list of members that have been online within the last 7 days, members that are over 24 hours old display the date last logged in as 'Yesterday AT xx:xx PM', but when you view their profile, you can see that they were last active several days earlier (but the time of day is correct). So it seems that the 'yesterday' logic is not correct when the user was last logged in longer than 24 hours.

Thanks for reporting this. I am pretty sure I know where it comes from, and I will get it fixed soon.

ishy

Is there a way to sort by membergroup instead of time logged in or username? I realize it's not in the options, so I am thinking about hand coding this. I'm just not sure how to go about it.

jcastellese

We're having a problem with our Users Online Today. I'm really not too sure what's causing it either.

The problem in the most short and simple form is that it's not showing up, http://www.monroetalks.com/forum

We're running 2.0 RC2 and are on a modified theme, but the theme doesn't have a modified BoardIndex.template.php and should be running the one from the default theme.

I've installed the latest version from the package manager and it installed just fine. I've also gone through the manual instructions and made sure everything was in place. I'm not sure anymore what is causing the problem, but for some reason, this feature simple isn't showing up.

JimM

If you change to the default theme does it appear? 
Jim "JimM" Moore
Former Support Specialist

jcastellese

thats a good idea for testing, I just tried it though and still no change, it's not coming up :(

JimM

In that case, the package did not install.  Did you try checking the BoardIndex.template.php and the BoardIndex.php files to see if the edits were accomplished? 
Jim "JimM" Moore
Former Support Specialist

Daggers

Installed RC2 today :D

This mod did not install so I had to do it manually. :( The canview option is set for registered but guests cansee who has been online today :(


-=[Vyorel]=-

My mods for SMF - [6].

imrich

Quote from: imrich on November 17, 2009, 08:04:32 AM
There is a minor display bug in this mod when the period is set to 'last_7_days'.

With the period set to 'last_7_days', then when you hover your mouse over the list of members that have been online within the last 7 days, members that are over 24 hours old display the date last logged in as 'Yesterday AT xx:xx PM', but when you view their profile, you can see that they were last active several days earlier (but the time of day is correct). So it seems that the 'yesterday' logic is not correct when the user was last logged in longer than 24 hours.


This can be fixed by changing line 140 of Subs_MembersOnlineToday.php

from:

$last_login_txt = $yesterday . strftime($time_fmt, forum_time(true, $row['last_login']));

to:

$last_login_txt = strip_tags(timeformat($row['last_login']));


I hope this helps you. It's a simple fix that also allows the displayed time to follow the forum formatting rules (and also the forums 'today/yesterday' setting).

qubbah

#1438
how can we make hidden users completely remove from the list.  Some of membergroup can see the hidden users. I want it completely hide the hidden users. tq

or completely remove admin login today in list?

donnpipop

My SMF is 1.1.11 and I use New Year 2010 Theme that I found on http://custom.simplemachines.org/themes/index.php?lemma=2058
After I installed theme I installed "Users Online Today Mod" ( 1.4.0 for smf 1.1.11 ) then
I edit filed that suggest in http://custom.simplemachines.org/mods/index.php?action=parse

1. ./Sources/BoardIndex.php
2. ./Sources/Stats.php
3. ./Themes/default/BoardIndex.template.php
4. ./Themes/default/Stats.template.php
5. ./Themes/default/languages/Modifications.english.php
6. ./Themes/default/languages/Stats.english.php

But Users Online Today Mod not appear on my SMF.

Can you suggest me to solve my problem?

Thank you very much ^^

Advertisement: