[BP] MostEverOnline

xF2 Add-on [BP] MostEverOnline 1.0.7

No permission to download
2 new options and one new position have been added.

new options:

- Format date any way you like with php date function letters. Use a combination of letters to make the date exactly how you want it. A link to the php date letters and explanations has been provided in the option. This also gives you the ability to setup the actual time to show as well. However you will need to reset your counts for this to take effect ONLY if you want the time to show. The date can be formatted any way you like. This is because the time was not processed before the counts were recorded

- reset count option. This action can not be undone but if you tick the option and click save it will reset all of the counts and dates wherever they are located. Keep in mind the cron needs a minute to run before the new data will process for the new counts.

new position

- Position has been added for forum statistics. Simply tick the option for forum statistics for the counts to show

CSS has also been neatened up. No longer using app.less to reference the CSS file. Instead 2 new templates have been added:

  • bp_widget_members_online
  • bp_widget_forum_statistics

Instead of make the change directly from the template modification, these templates have been created and referenced to process the data so that they can be edited if anyone ever decided they wanted to edit them.
If you have already downloaded this add-on there's no need to upgrade. There was 2 files that were not needed that had no functionality or use in the add-on and were unimportant. These 2 files have now been removed. This add-on is compatible with both 2.0 and 2.1 so whichever you want to use it on is okay to do so.

I have also removed the default style linear gradient on the total users under members online area so it's more compatible with dark styles. This was causing an issue where it would be a light area on a dark style and would require a CSS edit. This has now been removed. Thank you
Feature update:

  • Dates have been added to all counts including members, guests, and total visitors
  • Most Ever Online Statistic title added to members online
  • Option to remove the title has been added
  • An option to also use only total visitors only in members online has been added


    If you are upgrading from a previous version you will need to make the new version a fresh install and sacrifice starting starting your highest number over for the dates to show or wait for the counts to be updated which isn't ideal since it leaves an empty space after the phrase "on". Technically if the counts were to update then the dates would show but I suggest a fresh install of the add-on to speed up the process and get it going.

    Changes also include several phrase changes that make the phrase for 2 of the counts simply "Members:" and "Guests:" with a "Most Ever Online Statistics" title added. As said above there is an option to remove this title if you'd rather use the same similar format as before however this was created in order to make room for the dates.

    Right now I am using most total visitors only on my own site as of now. There probably won't be anymore feature updates as I plan to work on other add-ons but I plan to keep it updated throughout Xenforo 2 versions.
If you have already installed this add-on and plan to uninstall, do not uninstall until upgrading to this version. I recommend all users upgrade. There have been several fixes including a fix for a possible need to rebuild master data if uninstalled due to an accidental direct template edit of app.less which could possibly break the CSS on some styles. If you have already uninstalled this add-on, point your browser to the /install directory of your installation and click "rebuild master data". This will fix the issue and restore the app.less template that was accidentally connected to the add-on.

Do not uninstall until you upgrade to this version if you plan to and I recommend all users do so.

Several fixes include:

- Fix for the members online widget possibly not being able to be further extended by other add-ons
- Fix for cache not being deleted if uninstalled. Now the cache will be reset if you uninstall and deleted from the xf_data_registry table
- Fix for reverting app.less direct template edit.

Please upgrade even if you plan to uninstall.
The LESS template with the responsive css was not applied as I had not added the template modification. This has been fixed.

If you have downloaded the resource already please re-download and upload again.
Counts were not showing correctly on mobile. This is now fixed. I also added a new LESS template and added css from there instead of doing it inline and made members online area and also widget responsive. I also added the phrases from the back-end instead of doing it inline. This update is for the mobile fix and also back-end improvements from inline phrases
Just a small fix where the most users online phrases were not working with options and permissions leaving the options and permissions to not work at all. This has now been fixed and everything should work perfect now.