Customizing SMF > Modifications and Packages

Users Online Today Mod

<< < (2/374) > >>

Carceri:
You are right that this is a bug, and the correct fix is not adding the line that uses $context['num_buddies'] which is:

$context['num_buddies']++;

Your fix works as well, but should be

$context['num_buddies'] = 0;

:)

Thanks for reporting it. It has been fixed in the latest version.

thetzfreak:
Do I have to do the custom editing thing for my theme even after you updated it now?

Carceri:

--- Quote from: thetzfreak on November 06, 2005, 09:55:34 PM ---Do I have to do the custom editing thing for my theme even after you updated it now?

--- End quote ---
If you have a file called 'BoardIndex.template.php' in your theme dir, then you need to edit it manually. This mod only edits it for the default theme.

jerm:
lol, just realized it
with the other online users mod it wasn't a huge deal, but with this one it can be a bigger deal i guess
but for those users who like to remain hidden, they hide in the "users online", but they arn't hidden on the "users online today" section.. and now you can just hover over their nickname to see when they were last active.
think theres a fix for this?

Carceri:
It's easy to make a fix. The question is what the right fix is :)

Just a question: What happens if you go to a profile of a user who does not want to be shown on the today list. Can you still see when that user was last logged in? If yes, then I think this mod does not reveal any more information that what could already be found elsewhere and I think it should be left as it is.

If that information is not shown in the users profile, then we should probably do something. The easy fix is to simply remove the user from the list and add some additional text like:

13 users online today (3 hidden):
<<13 usernames of non-hidden users>>

Suggestions?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version