3.1 & 3.2 Extensions Database 3.1 / 3.2System Info

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

System Info

Post by dmzx »

Extension Name: System Info
Author: dmzx

Extension Description:

phpBB extension that will add System Info to your board index.
System, Board version, Server Uptime and Average load.



Screenshot:
systeminfo.png
Demo:
Dmzx-web.net

Extension Download:
Download-link
System Info v1.0.0

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `systeminfo`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `systeminfo` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/systeminfo/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `System Info` under the Disabled Extensions list, and click its `Enable` link.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Jaantje
Users
Users
Posts: 356
Joined: 02 Nov 2014, 21:25
    Windows 8.1 Chrome

Re: System Info

Post by Jaantje »

dmzx thanks again for the lovely extension. :buigen:
Grreeetttttzzzzz, Jaantje

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: System Info

Post by martin »

Pls note this will only work on a linux platform if your host has you on windows system then the load will not work your be looking at a blank white page.
Image

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

martin wrote:Pls note this will only work on a linux platform if your host has you on windows system then the load will not work your be looking at a blank white page.
linux only :wink:

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: System Info

Post by Sniper_E »

I'll try it out when I get back to my computer.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

awr
Translators
Translators
Posts: 55
Joined: 13 Mar 2015, 08:50
    Windows 7 Chrome

Re: System Info

Post by awr »

Turkish language pack for this extensions.
tr.rar
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

awr wrote:Turkish language pack for this extensions.
tr.rar

Added Thanks!

User avatar

JohnDory
Donator
Donator
Posts: 20
Joined: 01 Apr 2015, 01:11
    Windows 7 Firefox

Re: System Info

Post by JohnDory »

Works here but I get the following error

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/systeminfo/event/listener.php on line 44: shell_exec() has been disabled for security reasons
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
any idea :?:
Cheers.

Mike.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 8.1 Firefox

Re: System Info

Post by Sniper_E »

It shows your System version and Board's phpBB version. Would it be possible to show your PHP version of the server also?

It shows the MySQL version in our ACP and it would be nice for it to show the server's PHP version in there also. Image martin

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

Sniper_E wrote:It shows your System version and Board's phpBB version. Would it be possible to show your PHP version of the server also?

It shows the MySQL version in our ACP and it would be nice for it to show the server's PHP version in there also. Image martin
event\listener.php
Find This may be a partial find and not the whole line

Code: Select all

$os              = php_uname('s') . ' ' . php_uname('r');
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

$php_version = PHP_VERSION;
Find This may be a partial find and not the whole line

Code: Select all

'BOARD_VERSION'		  => $this->config['version'],
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

'PHP_VERSION'		  => $php_version,
styles\prosilver\template\event\index_body_stat_blocks_after.html
Find This may be a partial find and not the whole line

Code: Select all

<p>{L_SYSTEM_NAME} <strong>{PHP_OS}</strong> &bull; {L_BOARD_VERSION}: <strong>{BOARD_VERSION}</strong><br />
Replace with Replace the preceding lines with the following

Code: Select all

<p>{L_SYSTEM_NAME} <strong>{PHP_OS}</strong> &bull; {L_BOARD_VERSION}: <strong>{BOARD_VERSION} </strong> &bull; {L_PHP_VERSION}: <strong>{PHP_VERSION}</strong><br />
language\en\common.php
Find This may be a partial find and not the whole line

Code: Select all

'BOARD_VERSION'            => 'Board version',
Add after Add these lines on a new blank line after the preceding line(s) to find

Code: Select all

'PHP_VERSION'              => 'PHP version',
Clear the cache :wink:

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

JohnDory wrote:works here but I get the following error

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/dmzx/systeminfo/event/listener.php on line 44: shell_exec() has been disabled for security reasons
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5133: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
any idea :?:
Is shell_exec off on your server?

User avatar

JohnDory
Donator
Donator
Posts: 20
Joined: 01 Apr 2015, 01:11
    Windows 7 Firefox

Re: System Info

Post by JohnDory »

Yes it was, its on now and its now running as it should :thumbup:

User avatar

cristian
Users
Users
Posts: 31
Joined: 12 Jun 2015, 21:16
    Windows XP Firefox

Re: System Info

Post by cristian »

Thankyou man nice code :music: :w00t: :tumbsyes: :tumbsyes: :eusa_dance:

User avatar

infspirit
Translators
Translators
Posts: 25
Joined: 13 Sep 2015, 20:50
    Windows 10 Chrome

Re: System Info

Post by infspirit »

Spanish language pack for this extensions.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

infspirit wrote:Spanish language pack for this extensions.
Thanks added!

Post Reply Previous topicNext topic