Online Users Area - Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=2672)
Taken over by: BurkeKnight (http://www.simplemachines.org/community/index.php?action=profile;u=150637) - BurkeKnight Enterprises (http://www.burkeknight.com/) from: Joker™ (http://www.simplemachines.org/community/index.php?action=profile;u=226111)
For Support: The mod's Support topic at SMF, or at BurkeKnight Enterprises (http://www.burkeknight.com/).
This mod will add some permissions and settings regarding the "Users Online" column in bottom of your forum.
1. You can show Total users online using setting on Configurations > Features and Options > General (SMF 2.0) or Layout and Options (SMF 1.1.x)
2. You can also select which groups can see "Threshold Time".
Permissions for this can be adjusted via Permissions in Admin Panel.
After installing mod only admins can see threshold time by default, you have to enable the option for rest of groups.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg72.imageshack.us%2Fi%2F41093421.png%2F&hash=2629da1c30d5e7ea505ad724ec2c701d2ef3c6fb)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg72.imageshack.us%2Fimg72%2F2456%2F41093421.png&hash=569562a63b5581c1ec73dd7eebef8acf3b13e032)
Change Log
Version 1.2
- Mod updated for SMF 2.0 final and SMF 1.1.14
This mod is licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) (http://creativecommons.org/licenses/by-sa/3.0/)
Nice Mod thanks, this is exactly what we were discussing some days ago.
But i got some error during installing, screen shot attached.
I am using RC3 with inferno theme.
also having User Online Today Mod.
attach your ManageSettings.php here
Sorry for late reply. here is my managesetting.php file.
Make backup of your files first.
Install the mod
Find this line in ManageSettings.php
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
Add this after the line
array('check', 'enable_total_users'),
Issue is, that mod is installing, error screen shot is attached.
yeah there is a slight change in your file due to some other mod.So , i'm just telling you that you can make the code change i wrote above manually after installing the mod and it will work fine.
i can't understand what do you want to say?
Make backup of your files first.
Then Install the mod
after doing all this make change in this file
Sources\ManageSettings.php
Find:
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
Add this after the line
array('check', 'enable_total_users'),
need to install the mod manually,? then i replace the given code?
ummm , do one thing install the whole mod manually by parsing it from mod site.
Nice mod.
Quote from: Joker™ on August 14, 2010, 12:46:26 AM
ummm , do one thing install the whole mod manually by parsing it from mod site.
Well, when i tried to install any mod manually, i got the error in my theme, so if you have little time, please can the do this for me? If Yes, i give you password for this?
Thanks in advance.
what error did you get ?
Quote from: Joker™ on August 15, 2010, 01:09:03 AM
what error did you get ?
I mean to say that i tried to install some of mods manually, and i got error, because, i don't have enough knowledge about coding. So if you have time can you please install this for me manually?
Quote from: punjablovers on August 15, 2010, 04:55:08 AM
I mean to say that i tried to install some of mods manually, and i got error, because, i don't have enough knowledge about coding. So if you have time can you please install this for me manually?
I don't know of other mods , but this one has very less modification.Just parse it and see yourself , i don't have time to install it for you .
i don't understand the first of the 2 feature... :(
what is it?
and: is possible to do that visitors read the name of users online, but making tha neams not clickable (i know how to make them not visible to them the profiles)?
Display Total users Online » a option that allows you to manage for displaying the total number of online users (including guests).
View Threshold Time » a permission that allows selected groups to view "Users active in past ... minutes" string.
Quote from: Raffaele1977 on September 19, 2010, 07:21:58 AM
is possible to do that visitors read the name of users online, but making tha neams not clickable (i know how to make them not visible to them the profiles)?
Yup :)
1) thanks... :)
2) how?
Open Subs-MembersOnline.php and find block:
// Some basic color coding...
if (!empty($row['online_color']))
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '" style="color: ' . $row['online_color'] . ';">' . $row['real_name'] . '</a>';
else
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>';
Replace with:
// Some basic color coding...
$link = !$user_info['is_guest'] ? ('<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '"' . (!empty($row['online_color']) ? ' style="color: ' . $row['online_color'] . ';"' : '') . '>' . $row['real_name'] . '</a>') : ('<span style="color: ' . $row['online_color'] . ';">' . $row['real_name'] . '</span>');
thnaks... :)
Hiya all.
I am entrusted with this mod now but I haven't have time to look into it deeply yet. I also believe that my brother Joker is a better coder than I am. I will try to do my best in handling this mod (though currently I do not really understand this mod).
Thank you for supporting this mod and do feel free to ask for support.