Customizing SMF > Modifications and Packages

Users Online Today Mod

(1/375) > >>

Carceri:
Link to Mod

Adds a list of all users that were online on the current day to the 'Info Center'.

Change history

Version 2.0.3
- Added persian language support (thanks sajjad)

Version 2.0.2
- Added turkish language support (thanks Ufuk Agun)

Version 2.0.1
- Added russian language support (thanks Inter)
- Added serbian and croatian language support (thanks Branko.)
- Added finnish language support (thanks Miikka Mättölä)

Version 2.0
- After no issues have been reported for quite some time, RC4 has been promoted to final

Version 2.0 RC4
- Added dutch language support (thanks BTC)
- Removed a BOM from some of the utf8 language files (thanks luuuciano)
- Added spanish language support (thanks luuuciano)

Version 2.0 RC3
- Added german language support (thanks Inti31)
- Text on the main page now corresponds to the setting of current day, last 24 hours or last 7 days (this still needs translation for some languages)
- Removed a call to reloadSettings()

Version 2.0 RC2
- Added hungarian language support (thanks WasdMan)
- No longer hardcodes the sourcedir in the hooks (thanks live627)
- No longer shows a duplicate of the membergroup list (thanks Spoogs)

Version 2.0 RC1
- Added danish language support
- Added portuguese language support (thanks Darkness)
- Made it possible to do translation of all text on the settings page
- Gave up trying to make this mod work on the babylon, classic and core themes. It was a lot of hassle for a feature that few people needs.

Version 1.6.0
- Basically the same as RC2 since no issues have been reported

Version 1.6.0 RC2
- Fixed a bug that caused settings from other mods under Miscellaneous to disappear (thanks DJPlamen)
- Removes hooks when uninstalling this mod, but keeps removal of settings in the database optional (even though I have never found the checkbox that purges this data, but everybody tells me that it's there, so...)

Version 1.6.0 RC1
- Uses hooks to apply some mod functions instead of modifying files
- Added settings under "Modification Settings" in the admin panel
- Code cleanup

Version 1.5.7
- Fixed a bug that caused the icon to be displayed in the wrong location due to a change in the default theme

Version 1.5.6
- Fixed a bug where the time would be incorrectly displayed if the user was last logged in more than 24 hours ago, which only occurred in the last_7_days mode

Version 1.5.5
- Updated to work with the new default "Curve" theme

Version 1.5.4
- Updated for SMF 2.0 Beta 4

Version 1.5.3
- Fixed a bug where the language strings were not initialized properly

Version 1.5.2
- Same as 1.5.1, but for SMF 2.0 Beta 3.1

Version 1.5.1
- Fixed a bug where the number of users was incorrectly displayed if the user didn't have viewing permissions

Version 1.5.0
- Works with SMF 2.0 Beta 3
- Can show users online during the current day, last 24 hours or last 7 days
- User list can be shown only to admin, only to registered users, or to everyone
- User list can be sorted by last seen or alphabetically

Version 1.4.0
- Beta 3 promoted to final without changes

Version 1.4.0 Beta 3
- Corrected wrong text
- Removed duplicate entry in the language file
- Code cleanup

Version 1.4.0 Beta 2
- Users logged in today are not shown to guests

Version 1.4.0 Beta 1
- Text changed to "Users Logged In Today"
- Some cosmetic changes
- Hidden users are now hidden

Version 1.3.1
- Text changed to "Users Seen Today"
- Works with SMF 1.1 RC2

Version 1.3.0
- Changed a text string in the stats center

Version 1.3.0 RC3
- Finally timezones are working as expected

Version 1.3.0 RC2
- Made it possible to display "yesterday" on the popup for users that were online yesterday according to the current user

Version 1.3.0 RC1
- Added the total number of online users for a day to the statistics center
- All daily stats are done using forum time, but the popup text is displayed in the users' local timezone

Version 1.2.0 was never released as final

Version 1.2.0 RC1
- Now handles timezones properly

Version 1.1.2
- Fixed a bug where hidden users were shown in italic
- Hidden users don't show last login time when hovering the mouse over their usernames

Version 1.1.1
- Fixed an error "Undefined index: num_buddies"

Version 1.1
- By hovering the mouse over the username, you can see when the user was last online
- Removed some unnessesary code

Version 1.0
- First version

Teknomancer:
This doesn't seem to work for me. Just installed it on SMF 1.1. RC1... nothing has changed in the Info Center.

Is there any setting that needs to be enabled?

xenovanis:
If you are using a custom theme, you probably need to make some changes to your themefiles.

How to make mods work with themes?

snork13:
works great in 1.1rc1, thanks for sharing


-snork

xenovanis:
Actually, I got this errormessage:

8: Undefined index: num_buddies
File: .../forum/Sources/BoardIndex.php
Regel: 298

This is how I fixed it. BoardIndex.php


--- Code: (find) ---        $context['users_online_today'] = array();
$context['list_users_online_today'] = array();

--- End code ---


--- Code: (add after) --- $context['num_buddies'] = array();

--- End code ---

Probably a dirty fix  :P

Navigation

[0] Message Index

[#] Next page

Go to full version