Author Topic: List Of Users In Topic or Board v3.0  (Read 3683 times)

dougiefresh

  • Adminstrator
  • Expert Member
  • *****
  • Posts: 261
List Of Users In Topic or Board v3.0
« on: Dec 20, 2014, 09:37:35 AM »

LIST OF USERS IN FORUM/TOPIC/BOARD v3.0
By Dougiefresh -> Link to Mod


Introduction
This mod modifies the Message Index and Post Display templates so that list of users in the board or topic is moved from above the topic list or start of the post to just above the Quick Reply box, and adds phpBB-like styling to the list.  It also alters the Board Index so that the list of users online is controlled by permission.

Admin Settings
There is a new admin page at Admin -> Features and Options -> Who's Online.  It takes the Enable Who's Online list and User online time threshold options from General tab and places them under the Who's Online.

There is a new option in v2.0 that removes the membergroup coloring that the user belongs to from the users online list.

There are 3 new permisions that allow membergroups to be able to view the users online list for:
o the Board Index (/index.php)
o the Message Index (index.php?board=x)
o the Post Display (index.php?t=x)

There are new options in v3.0 that allows you to move the "Who's Online" box to the top or bottom of the screen, as well as a section controlling whether the "Who's Online" section shows nothing, only numbers, or members for all installed themes.

Compatibility Notes
This mod was tested on SMF 2.0.15, but should work on SMF 2.1 Beta 3, as well as SMF 2.0 and up.  SMF 2.1 Beta 1 and 2, as well as SMF 1.x, will not be supported.

Translations
o Dutch: @rjen
o Spanish: d3vcho!
o Spanish Latin: Rock Lee

Changelog
The changelog has been removed and can be seen at XPtsp.com.

License
Quote
Copyright (c) 2015 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

« Last Edit: Oct 29, 2016, 08:03:50 PM by dougiefresh »

dougiefresh

  • Adminstrator
  • Expert Member
  • *****
  • Posts: 261
Re: List Of Users In Topic or Board v1.2
« Reply #1 on: Dec 20, 2014, 09:38:36 AM »

Below are some preview images of what the mod looks like when being used

Download Mod


FileName: List_Of_Users_In_Topic_or_Board_v3.0.zip
Size: 16 kb (16,470 bytes)
MD5: 87cc07ce39eecc1ba633337a45e4fe76
Built: Mar 15, 2018, 06:47:46 PM
Downloaded 51 times

Changelog

Uploaded v3.0 - March 3rd, 2018
o Rewrote mod so that most functions are done with hooks.
o Added ability to change "view who's online" theme setting on mod settings page.
o Added ability to change whether the "who's online" block is on top or bottom.
o All language files converted to PHP language files, for ease of translation.
o Added Spanish Latin translation, courtsey of Rock Lee.
o Updated Dutch translation, courtsey of @rjen.

Uploaded v2.2 - July 7th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 1 and 2.

Uploaded v2.1 - January 30th, 2016
o Updated Spanish language translation, courtsey of d3vcho.

Uploaded v2.0 - January 17th, 2016
o Linked displaying all member lists to the "Enable Who's Online" checkbox.
o Added new permission to deny/allow showing member list on board index.
o Added Who's Online under Features and Options to deal with permissions and options.
o Added option to remove the membergroup color code from the members' username.
o Restored option from Themes/{theme}/Settings.template.php that was commented out.
o Added UTF8 and regular Spanish translation to the mod.

Uploaded v1.2 - April 6th, 2015
o Updated for SMF 2.1 Beta 1

Uploaded v1.1 - January 16th, 2015
o License change to Simplified BSD.  No functionality change.

Uploaded v1.0 - December 20th, 2014
o Initial Release of the mod

Translations

Quote
$txt['users_browsing_topic'] = 'Users browsing this topic in the last 15 minutes';
$txt['users_browsing_board'] = 'Users browsing this board in the last 15 minutes';

$txt['permissionname_view_users_in_topic'] = 'View users browsing topics';
$txt['permissionhelp_view_users_in_topic'] = 'This permission allows users to see who is also browsing the topic they are in.';
$txt['permissionname_view_users_in_board'] = 'View users browsing boards';
$txt['permissionhelp_view_users_in_board'] = 'This permission allows users to see who is also browsing the board they are in.';
$txt['permissionname_search_posts'] = 'Search for posts and topics';
« Last Edit: Oct 29, 2016, 08:03:37 PM by dougiefresh »

Fixit

  • Part Time
  • Adminstrator
  • Active Member
  • *****
  • Posts: 101
    • Fixit Tools
Re: List Of Users In Topic or Board v1.2
« Reply #2 on: Dec 21, 2014, 01:03:20 PM »
Dutch translation:
Quote
$txt['users_browsing_topic'] = 'Gebruikers die in de laatste 15 minuten dit topic lezen';
$txt['users_browsing_board'] = 'Gebruikers die in de laatste 15 minuten dit board lezen';

$txt['permissionname_view_users_in_topic'] = 'Bekijk gebruikers in topics';
$txt['permissionhelp_view_users_in_topic'] = 'Deze permissie staat toe gebruikers te laten zien wie er in topics lezen.';
$txt['permissionname_view_users_in_board'] = 'Bekijk gebruikers in boards';
$txt['permissionhelp_view_users_in_board'] = 'Deze permissie staat toe gebruikers te laten zien wie er in boards lezen.';
$txt['permissionname_search_posts'] = 'Zoek naar posts en topics';