MyBB Community Forums

Full Version: Forum Uptime
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Description : Displays how long the forum has been online in years, months, and days.

Install guide : 

1. Go to your board files and access inc/plugins and add the file there.
2. Go to your forum -AdminCP- Configuration-Plugins-scroll down until you see the plugin and hit install

Board placement : to make the plugin work you need to use the variable {$fuptime1}  in order to work.
Configuration : in order to set up the correct the start date of your board just go in ACP- Configuration -  Scroll down until you see plugin settings - Forum Uptime Settings
Download : The plugin can be downloaded from here https://community.mybb.com/mods.php?acti...w&pid=1633
UPDATE v1.3 ( 12.04.2025 )

- Added the option to set the uptime automatically
Well, as the forum start date is not a system value but free for the admin, the "uptime" is irrelevant.
Admin can set what he wants.
well that's the point , from my little knowledge making this automatically it requires a JavaScript injection.
I wanted to make this plugins as little intrusive as possible
Making as you requested it will break compatibility with future MyBB updates.
It requires editing AdminCP files, or injecting code into global.php
You can probably use the date of registration of the first user: SELECT min(regdate) FROM mybb_users;
And I don't know why you think it requires JS or modifications in the MyBB core...
(2025-04-12, 12:34 PM)Crazycat Wrote: [ -> ]You can probably use the date of registration of the first user: SELECT min(regdate) FROM mybb_users;
And I don't know why you think it requires JS or modifications in the MyBB core...

Hi I've looked into this since this morning and manage to add the option to set the uptime automatically based on the oldest registered user. Thank you for your feedback.