vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Administrative and Maintenance Tools - AdminCP Quick Stats Improvement (https://vborg.vbsupport.ru/showthread.php?t=319349)

Falcon Capt 07-23-2015 01:24 PM

Quote:

Originally Posted by Darkman7030 (Post 2551132)
so have now update made to 4.2.3
but still it does not work still same error :(

Are you on shared hosting? I don't think you'll be able to get server load and memory information if you are on basic shared hosting.

Darkman7030 07-23-2015 03:19 PM

No have Dedicated Server ;) and debian wheezy

Falcon Capt 07-23-2015 09:19 PM

1 Attachment(s)
Quote:

Originally Posted by Darkman7030 (Post 2551162)
No have Dedicated Server ;) and debian wheezy

Add the attached file to your AdminCP folder.

(Edit line 116 to include your database information: "localhost", "dbuser", "dbpassword", "dbname")

Sorry about that! :o

Falcon Capt 07-26-2015 02:47 PM

Quote:

Originally Posted by Darkman7030 (Post 2551162)
No have Dedicated Server ;) and debian wheezy

Did that file fix it?

Zachery 07-27-2015 01:45 AM

I'm confused, why do you need to edit another file to get the server details? You can just use the config.php data, you're already in the vBulletin scope.

additionally, this seems like a bad idea to uncache the AdminCP stats, they're already kind of intensive./

Falcon Capt 07-27-2015 02:17 AM

Quote:

Originally Posted by Zachery (Post 2551438)
I'm confused, why do you need to edit another file to get the server details? You can just use the config.php data, you're already in the vBulletin scope.

additionally, this seems like a bad idea to uncache the AdminCP stats, they're already kind of intensive./

His stats weren't resolving, I had that server_info file on mine, I think that may have been a carry-over from a mod I added years ago...

Uncaching the AdminCP stats works fine, I've had it that way for years and my server loads are just fine (typically under 0.50 on a very busy forum)...

Zachery 07-27-2015 02:32 AM

Yes, because what works for you obviously works for everyone. :rolleyes:

Your function si_mysqlistats() , you can just use the vBulletin db info, which is already available to you.

Falcon Capt 07-27-2015 02:46 AM

Quote:

Originally Posted by Zachery (Post 2551445)
Yes, because what works for you obviously works for everyone. :rolleyes:

Wow...

Quote:

Originally Posted by Zachery (Post 2551445)
Your function si_mysqlistats() , you can just use the vBulletin db info, which is already available to you.

No one says you (or anyone) has to use this, it is something I use and that I find helpful that I thought I would share for others who would like to use it... Sorry, I'm not some super-duper coder/programmer, just using what I got to work... Sorry it apparently doesn't meet with your approval...


All times are GMT. The time now is 09:45 PM.

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.00993 seconds
  • Memory Usage 1,728KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete