LF who was here 2.0.0 Beta 1
Pre-release
Pre-release
2.0.0 Beta 1 (2019-04-14)
- Complete conversion to an independent extension with own structures. As a result, the fork stops building on "bb3mobi\washere". This concerns the following areas:
- Extension folder ("lukewcs\whowashere").
- All paths within the files (.php, .html, .yml, .json).
- Configuration variables in the database.
- Table of visitors in the database.
- Rights.
- Variables of the templates.
- Variables of the language files.
- Automatic data transfer from NV-WWH (any version) and LF-WWH 1.x (any version):
- To do this, the old WWH extension must first be installed so that the data can be imported when installing LF-WWH 2.x. This happens automatically as soon as LF-WWH 2.x is activated for the first time. The complete configuration including visitor record is taken over, as well as the current visitor table. The old extension may also remain activated, which is technically intended and legitimate.
- However, the rights are not taken over here, so they may need to be adjusted after installation if the full rights system of phpBB was used. If only the simplified rights system of LF-WWH was used ("Display for guests:"), this step can be omitted.
- The data transfer also has the advantage that even a defective installation of NV-WWH can be quasi-updated because only the data is transferred, but no folder and file structures.
- If user accounts are deleted and, as a result, cleanup of the WWH table and the WWH display becomes necessary, then an additional LF-WWH notification will be inserted within the delete confirmation (displayed by phpBB) containing the WWH display was cleaned up. This notification only appears if the cleanup is also enabled (default) and if it actually had to be cleaned up.
- ACP module:
- The page title (browser) now has the addition "- Settings".
- The information line for the version and for the link can now be freely designed in the language files.
- Correspondingly adapted the variable
LFWWH_INSTALLED
in the language files and removedLFWWH_MOD_SUPPORT
.
- Correspondingly adapted the variable
- With "Reset visitor record -> Yes" now not only a message is displayed, which is reset when saving the record, but also a query is executed. If this inquiry is confirmed with "Cancel", the reset switch is reset to "No".
- Accordingly adapted in the language files the previous text of the message.
- The "Yes" radio button no longer responds to multiple clicks. This causes the message to be displayed only once unless the switch is reset to "No".
- Since the original WWH ("NV who was here?" For phpBB 3.0), when the visitor record was reset, the date of the reset was saved to the database, but never displayed or otherwise evaluated. This date will now be shown as "Yes / No" on "Reset Visitor Record" if a reset has taken place.
- Added 1 new variable in the language files for "Reset on:".
- Added a new section.
- In the language files for "Server load" added 1 new variable.
- Moved the items "Use cache for the visitor table:", "Update with the view online time span:" and "Interval of the update:" to the new section.
- For "Period of time:" the input fields for hours, minutes and seconds are no longer defined for text but for numbers. These are now also checked for lower limit (0) and upper limit (99999).
- The rights have been changed:
- The previous right "Can see members and statistics" was changed to "Can See members". If a group should see both the statistics and the members list, then both rights must be set. So it is now possible, e.g. just show the members list.
- In the ACP module the new option "Members" has been added accordingly for the simple rights system.
- Customized installation standard for the default groups and user roles.
- In the language files 1 variable added and 3 changed.
- The templates have been revised again:
- Necessary changes have been made regarding the changed rights.
- Twig logic regarding inserting
<br />
changed. - Twig logic with respect to the switch "Show all template positions at the same time:" changed so that the previous template variable
LFWWH_POS_ALL
can be omitted. This is now controlled via bit values in the variableLFWWH_POS
and queried in the template via a bit operator. - An
INCLUDEJS
only takes place once more. This is relevant for the setting "Show all template positions at the same time:" or if extensions are used, include the WWH via template variables, like e.g.Bridge between "LF who was here" and "Stat BLock"
.
- All style templates except "prosilver" removed. The previous 10 templates for phpBB 3.2 are available as a separate archive for LF-WWH 2.0.0, but will not be included in future updates.
- The cache can now be disabled completely. This updates the WWH display almost without delay. This feature is only suitable for smaller forums with less visitors. For larger forums, disabling the cache can lead to performance issues and is not recommended. (wish of Kirk)
- Added a new setting in the ACP module to disable the cache when needed. By default, it is activated.
- Added 2 new variables in the language files for "Use Visitor Table Cache:".
- The display of the IP is no longer linked to the display of time, but can now be set completely independently (such as the display of the time). (based on a wish of Wolkenbruch)
- In order to make this function more flexible (independent), the corresponding code section (for the display of time and IP behind the name or as mouseover) in the core script was written from scratch and optimized.
- The switch "Show user IP:" now no longer has the option buttons "Yes / No" as a selection option, but a selection list with the same 3 options as with "Show time of...".
- Language variable adjusted accordingly.
- WWH display:
- The time and/or IP display button no longer uses the time icon but the info icon.
- A separate tooltip can now be defined in the language files for the button. Previously, the alternative caption for phpBB 3.1 was used as tooltip.
- The alternate caption for the phpBB 3.1 button has now been replaced with a Unicode character that looks similar like the Info icon of the Awesome font for phpBB 3.2.
- Accordingly, in the language files that variable is removed.
- The new administrator mode allows that only users with administrative rights WWH can see. The other authorization systems are suspended. This is e.g. helpful if you want to make changes to the settings or rights and test without the WWH being visible to all.
- Added a new setting in the ACP module accordingly.
- Added 2 new variables in the language files for "Administrator mode:".
- Users who have activated the feature "Invisible" temporarily (at login) or permanently (in profile) can now see themselves in the WWH user list, as with "Who is online" the case is.
- CSS:
- The previous secondary class name
online-list
was changed towhowashere-list
, so by Style Designer and Ext Coder "Who was here?" regardless of "Who is online?" can be addressed. - The CSS for the info buttons has been paged out of the code in a separate CSS file.
- The previous secondary class name
- A new setting now allows you to completely disable the generation of the info button and the hidden information (time, IP).
- Added a new setting in the ACP module to disable this feature. By default, this feature is enabled.
- Added 2 new variables in the language files for "Create hidden information:".
- Template changes: Yes
- Note for extension authors: The template condition
&& !LFWWH_API_MODE
may not be used as it is only intended for LF-WWH.
- Note for extension authors: The template condition
- Language file changes: Yes
Bug fixes:
- Fix: If there were currently no bots listed in the table in the setting combination "Show Bots: > With the users" and "Show time of bots: > On hover", the button for displaying the hidden information was nevertheless displayed generated.
- Fix: Firefox did not show a tooltip for the info button. (report from Kirk)
The additional archive lf-who-was-here-2_style_templates_for_phpBB-3-2.zip
contains templates for the following styles:
- Absolution
- acidtech
- BlackBoard
- Blackfog
- CleanSilver
- flat-style
- HexagonReborn
- Orange_BBEs
- rain_forest
- rockn_roll