[OzzModz] Most Ever Online

[OzzModz] Most Ever Online 2.0.1

No permission to download
I thought it was more appropriate to respond to your message in this thread.. :whistle:

All I can tell you is when 2.1 releases I'm going to check and see if it needs to be updated to work with 2.1 or if its fine as is. I will need to make sure of that.
I'm running it on localhost on 2.1b6 and it seems to be working fine.

I appreciate the follow, and letting me know of any further developments.
 
This has not been tested with 2.1

I will test it soon. As far as feature requests like @Nerdface has asked about this may take longer to implement if I decide to. It may need no updating at all. I am not 100% sure if it needs updating yet. I am going to take a look at it within the next week or so and if it does it will take a bit longer to update. I'm not 100% sure on the time frame were looking at here but I will keep you posted. @Nerdface has said it was working for him but there can be no guarantees. I do not suggest using it on a live site until I have gone through with the testing.
 
Just as an update guys. This seems to be perfectly compatible with 2.1

I don't see any issues. I have tested it. There is one issue with the css on the widget keeping the total users ever online text from showing properly. I will push an update within a week or 2 at the most to fix that issue. In the mean time if this add-on is keeping you from upgrading you can go ahead and upgrade as it is compatible. There's not much code involved. There is only 3 files involved. Although I will make a note that after checking there are 2 files left over in the recent version that are not needed. These files do not have anything to do with the add-on and are harmless to it's functionality and do not matter. You can just disregard those 2 files. I will remove them when I update the CSS for the widget portion.
 
Brad Padgett updated [BP] MostEverOnline with a new update entry:

removed 2 uneeded files and cleaned up the css a bit

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...

Read the rest of this update entry...
 
1.0.6. Upgraded on Xen 2.1 from 1.0.4

Dates weren't even added until 1.0.5 so it's likely if you manually re-run the cron task it will probably work. I'm assuming you upgraded and kept your highest number from before and the dates never had a chance to go through.

go to tools->cron entries->rebuild most ever online counts

That will reset the counts. From there you shouldn't see any issues. If it doesn't work then let me know.

Unfortunately the only way I'm aware of to get the dates to show is to reset your highest count. I posted that in the 1.0.5 update a long time ago when I added the dates. There's no way to get the dates to show from before they were added in the add-on
 
I believe that would be exactly the case. I think the only way to fix this would be to uninstall, and to reinstall, for the manual cron did not get it fixed.

To be honest, no biggie. Thank you very much for your support.
 
I believe that would be exactly the case. I think the only way to fix this would be to uninstall, and to reinstall, for the manual cron did not get it fixed.

To be honest, no biggie. Thank you very much for your support.

No problem and thank you. I do what I can. I think the cron task didn't work because you of needed a higher number online. Wasn't thinking about that. Anyways that will fix it. Sorry about that. There was really nothing I could do because the cron runs at the exact same time as the counts. I would have needed to make a separate cron task for the dates and I didn't feel like that was necessary.
 
Hi Brad. Thank you for making this add-on! I would like to request the following updates:
  • An option to show the information under the Statistics widget instead of the Members Online widget
  • Ability to control how often to run the cron job - 5 minutes, 20 minutes etc.
Thanks! :)
 
Hi Brad. Thank you for making this add-on! I would like to request the following updates:
  • An option to show the information under the Statistics widget instead of the Members Online widget
  • Ability to control how often to run the cron job - 5 minutes, 20 minutes etc.
Thanks! :)

Yeah that doesn't seem like a difficult request at all for the statistics widget. I will work that in sometime within the next week. May possibly be much sooner just depends on how long it takes me. Also the cron job can only be adjusted by enabling development mode for a short time to change it and then disabling it afterwords. I am not familiar with any specific way to get the system to work where it's adjustable at any given time. It's like this for all cron entries, not just my own.

The cron is set to run once every minute. If you want to change it to something like 5 minutes the only way I know of is to enable development mode long enough to make the change and then disable again. You can do this by adding this to config.php under the /src folder and then removing it as soon as the change is made.

PHP:
$config['development']['enabled'] = true;

I do not recommend running development mode on a live site but I don't see anything wrong with it if the change is made quickly and you cut your board offline from the admin panel for a minute or so. And as I said all cron entries are non-editable without dev mode on. It's just how the system works or at least that's what I've noticed after having a check myself. I believe in the past I've seen Xenforo suggestion threads suggesting this be changed to allow crons to be edited but it's been like that for a while. I will let you know when I release it.

Also @Nerdface I'll see what I can do about working in a few options for different date formats. I'll keep you guys posted
 
the cron job can only be adjusted by enabling development mode for a short time to change it and then disabling it afterwords. I am not familiar with any specific way to get the system to work where it's adjustable at any given time. It's like this for all cron entries, not just my own.

It sounds like this cron job is already in place whether this add-on is installed or not? If so, then there's no reason to adjust it. I come from the old vBulletin days when queries were inefficient and people would preserve server resources by pulling the number of online visitors only once every twenty minutes to an hour. Also, some site owners would inflate their visitor numbers that way, because it looked like a forum was bustling with activity when in reality the "Now online" list was aggregated from the past hour and the site was pretty much empty. 😂
 
It sounds like this cron job is already in place whether this add-on is installed or not? If so, then there's no reason to adjust it. I come from the old vBulletin days when queries were inefficient and people would preserve server resources by pulling the number of online visitors only once every twenty minutes to an hour. Also, some site owners would inflate their visitor numbers that way, because it looked like a forum was bustling with activity when in reality the "Now online" list was aggregated from the past hour and the site was pretty much empty. 😂

No it's a custom cron job. The count only updates if there are more users online than the highest number. But it still checks that number every minute. To be honest it wouldn't even make sense to change it, I was just trying to help with you request. This add-on has little queries anyway so it's not as if it would use barely any server resources. The cron job has nothing to do with the online member list, it just checks to see if the count is higher than the current.

Anyways I will let you know when I've updated the add-on
 
Brad Padgett updated [BP] MostEverOnline with a new update entry:

a couple new things added and new position option forum statistics

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.

Read the rest of this update entry...
 
Last edited:
Just a note to anyone who may want to use the date and the time, you can escape characters in the date format letter text box by using a backslash \

For example I use this on my site to put the words "at" between the date and the time:

M j Y \a\t g:i a If I was using the current date and time that would basically be this, Apr 26 2019 at 3:19 am

And glad to hear @Nerdface. I think I'm going to start working on a new add-on now. Other then keep this working on future Xenforo 2 versions I don't think I will be adding any more new features. There's a possibility I may incorporate a way to include robot counts but considering I would need to enable the option for them to even show in members online it's not on my priority list. But we'll see sometime later.
 
@JackieChun the update has been released. Now includes the position forum statistics and will display right under them when enabling the option. Also @Nerdface I have created the ability to format the dates however you like and also added the option to reset the counts as you had requested. Hope you like

Great stuff! Thank you very much. We can finally have both this one and daily statistics in the same box as the default stats. Very neat and clean, looking great :)
 
Back
Top Bottom