MyBB Community Forums

Full Version: CraKter's Online Today Plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have seen some Big Forums on MyBB using it. So, while me and my friend were using it today, we found that it creates a file named enteries. The strange thing is, it got created when the plugin was activated. The file wasn't included in the plugin's files on MyBB Mods. Not sure if it's something to suspect, but I didn't find it right.

[Image: MPd.png]
It's from a checked out Subversion repository. Nothing harmful or anything to worry about.
Since you were examining that mod, maybe you can help... Smile
What do I change in the .php files and whatnot to make it show who's been online for the last 48 hours instead?
(2013-04-19, 10:51 PM)theezy Wrote: [ -> ]Since you were examining that mod, maybe you can help... Smile
What do I change in the .php files and whatnot to make it show who's been online for the last 48 hours instead?

http://community.mybb.com/thread-105788.html

That link should get you started on what you need.
(2013-04-20, 03:41 AM)2$CoMpLiCaTeD$4u Wrote: [ -> ]
(2013-04-19, 10:51 PM)theezy Wrote: [ -> ]Since you were examining that mod, maybe you can help... Smile
What do I change in the .php files and whatnot to make it show who's been online for the last 48 hours instead?

http://community.mybb.com/thread-105788.html

That link should get you started on what you need.
Sweet, thanks! How do I change the part that says "### users active in the past 24 hours" to 48 hours or whatever I set it to, so that its not misleading?
It would probably be either in the templates directly or check the language files.
I found out how to edit it in the language files.


"216000" represents 60 hours? What would number would I put for 48 hours?

Edit, maybe I figured it out:
3600 seconds in an hour,
so 3600 seconds times 60 hours = 216000
for 48 hours would be = 172800
Right?
(2013-04-20, 09:55 PM)theezy Wrote: [ -> ]I found out how to edit it in the language files.


"216000" represents 60 hours? What would number would I put for 48 hours?

Edit, maybe I figured it out:
3600 seconds in an hour,
so 3600 seconds times 60 hours = 216000
for 48 hours would be = 172800
Right?

This would be correct.