vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Admin Control Panel Statistics (https://vborg.vbsupport.ru/showthread.php?t=67767)

Radon3k 07-29-2004 11:06 PM

Admin Control Panel Statistics
 
In the Admin Control Panel you have the ability to display statistics such as PHP and MySQL information as well as other information. I'm to add some PHP and MySQL information onto a non-vBulletin page. How was this information retrieved and how would I go about adding it to a non-vBulletin page? Please note I'm not looking to use vBulletin's code (as in I'm not trying to display vBulletin related information on a non-vBulletin page, I want non-vBulletin information). I hope this makes sense. Thanks! :)

Radon3k 07-31-2004 04:38 AM

Anybody?

Radon3k 08-01-2004 12:54 AM

Quote:

Originally Posted by Radon3k
Anybody?

I still have not figured this out, help would be appreciated. Thanks. :)

Andreas 08-01-2004 01:03 AM

Copy & Paste from my very own Version of vBStats for vB3 ;)
PHP Code:

  // Some Server info
  
$ar split("[/ ]"getenv("SERVER_SOFTWARE"));
  
$apacheversion $ar[1];
  
$phpversion phpversion();
  
$mysqlversion $DB_site->query_first("SELECT VERSION() as version"); 

What information do you want to display?

Radon3k 08-01-2004 01:59 AM

Quote:

Originally Posted by KirbyDE
Copy & Paste from my very own Version of vBStats for vB3 ;)
PHP Code:

  // Some Server info
  
$ar split("[/ ]"getenv("SERVER_SOFTWARE"));
  
$apacheversion $ar[1];
  
$phpversion phpversion();
  
$mysqlversion $DB_site->query_first("SELECT VERSION() as version"); 

What information do you want to display?

Thanks for that. :) I'm looking to display PHP Information (version, etc), MySQL information (version, disk space used, etc) as well as what platform the server is running, kernel, uptime, etc. I think you posted some of that. Is there a way to get all of the information that I'm looking for or will your above post take care of it?


All times are GMT. The time now is 07:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00962 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete