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>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20: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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Jaantje
Users
Users
Status: Offline
User theme: Dark
Posts: 356
Joined: Nov 2nd, '14, 20:25
    Windows 8.1 Chrome

Re: System Info

Post by Jaantje »

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

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5113
Joined: Apr 6th, '14, 14: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

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20: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:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1159
Joined: Oct 14th, '14, 17: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!™

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

awr
Translators
Translators
Status: Offline
User theme: Dark
Posts: 55
Joined: Mar 13th, '15, 07: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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

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

Added Thanks!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

JohnDory
Donator
Donator
Status: Offline
User theme: Dark
Posts: 20
Joined: Mar 31st, '15, 23: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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1159
Joined: Oct 14th, '14, 17: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

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20: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:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20: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?

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

JohnDory
Donator
Donator
Status: Offline
User theme: Dark
Posts: 20
Joined: Mar 31st, '15, 23:11
    Windows 7 Firefox

Re: System Info

Post by JohnDory »

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

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

cristian
Users
Users
Status: Offline
User theme: Dark
Posts: 31
Joined: Jun 12th, '15, 19:16
    Windows XP Firefox

Re: System Info

Post by cristian »

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

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

infspirit
Translators
Translators
Status: Offline
User theme: Dark
Posts: 25
Joined: Sep 13th, '15, 18: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.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6472
Joined: Jan 13th, '14, 20:45
    Windows 8 Firefox

Re: System Info

Post by dmzx »

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