Page 1 of 1

dmzx system info

Posted: Tue May 04, 2021 11:02 am
by anubite
Please see attached along with a picture of it. Credit goes to DMZX for it. This was my first attempt at anything to do with PHPBB and touching code so feel free to improve or tell me if something is terribly incorrect :)

Original link = https://github.com/dmzx/systeminfo

Thanks

Re: dmzx system info

Posted: Wed May 05, 2021 2:17 am
by anubite
Fixed a bug where it was only displaying the stats on the index page, then not input data on the alternative pages. I also made it to only display for registered users logged in.

If you feel to modify the information since it shows too much as some are security focused which is totally fine go into the common.php and find the line the following line:
$os = php_uname('s') . ' ' . php_uname('r') . ' ' . php_uname('v') . ' ' . php_uname('m');
From here remove simply what you want, say you just want like:
$os = php_uname('s') . ' ' . php_uname('r');
Symbols can be found on php page - https://www.php.net/manual/en/function.php-uname.php under parameters.

All credit once again to dmzx, he hasn't updated this in a long time but i love the uptime stats and info a personal favorite.

Thanks all

Re: dmzx system info

Posted: Sun May 30, 2021 6:00 am
by anubite
https://github.com/BytesBoss/systeminfo source if anyone wants to view or download.

I have several other modifications I need to release, nothing special just previous add-ons that work for Splicker, I am in the process of making my new forums so will release soon on Git.