![]() |
Quote:
|
Quote:
MySQL 3.23.32 PHP 4.0.4 Apache 1.3.14 What's the minimum I need to get this to run? If I need to upgrade my php is it an easy process? I installed a free server package for windows by Nusphere, which had everything bundled together that I needed. My actual website server, which is shared, uses php 4.0.6. Obviously, I have no way to modify that. |
ya. it was his prob too. he ran PHP404. can you upgrade to PHP412 at least? i did test it to this version. i'm not sure what is the lowest version you can get it to work, but it's working for PHP 4.2.1-4.1.2 versions.
|
I downloaded the newest php and installed it on my windows machine. Now the hack works flawlessly! Thanks for the help and the awesome hack. Now I just have to figure out if I can cut down some of the queries. :p
Keep up the good work! |
It works with PHP 4.0.6 just fine, too. :)
Quote:
|
Excellent work. Installed and working fine.
|
Quote:
This will be handy for some users. I will post it in the starting post. Also, I will release later on the update for VB226. |
No problem, glad I can contribute in some way for such a great hack! :)
|
Quote:
|
Beautiful.
Works with 2.2.6 without a problem. Thanks! |
Quote:
replace PHP Code:
PHP Code:
|
If you did it this way, you wouldn't be able to decide where it goes. :) And where would it show up with the way you have it here?
Quote:
|
like this it goes below copyright text :)
|
I tried it but couldn't get it to display right. The second line (for Admin only) was in normalfont and spaced an extra line below the first line. When I tried to moved the center and smallfont, if gave me a blank page when I tried to load my site. :)
|
nuno, the {getmicrostats} variable is useful to users who want more control over their html code.
for example, if you have vbPortal installed, it will show ur stats in every block, if you do it your way. |
Code:
$templatesused.=',pagenav,pagenav_curpage,pagenav_firstlink,pagenav_lastlink,pagenav_nextlink,pagenav_pagelink,pagenav_prevlink'; Ahh, nevermind. I was just having one of those moments. :) :embarrased: |
I am getting this error..
Code:
Parse error: parse error, expecting `','' or `';'' in C:\Inetpub\****\board\admin\functions.php</b> on line 474 |
This script is really great, I have it working on my site and it's really useful. A suggestion I'd like to make: how about adding stats on the server loads as well?
Thanks a lot and congrats nakkid on an awesome script! Paulo |
thanks for your nice words. a quick thing.. i noticed you have 48queries on your main page. this is extremly high. over 40, your server goes on the red line, on a busy site.
|
Thanks for the advice, nakkid. Yeah, I'm trying to lower that. I took the polls off but it's still pretty high. I'm planning on reinstalling vbIndex because I'm running an older version, so I'll be able to mess up with the code a bit to try and lower that.
|
you could also look at vbHome. is a hack i dont support anymore, but worth a shot.
|
version 2.1 released. i added the Server Load. check the screenshot...
sorry guys but i cant send the email update. the list is to big and the browser times out. please let me know if everything is ok with the new mod. |
Can you list what code is updated in this release so we can just add the code we need for the new stuff if we already have it installed? :)
Quote:
|
change the '## Start dooutput ##' hack section only. the changes are there. :)
|
I did the section you said, but the server load doesn't show. :)
Quote:
|
did you do it on your live server? it wont work if you do it on intranet.
also make sure the file says at the top: vbMicrostats 2.1, not 2.0 |
What do you mean? Sorry, I guess I don't understand. :) Check out my site and you'll see what I mean.
My site Quote:
|
ok. you did it on your live site. good. well, go to your admin CP and let me know if you see the server load stats there.
make sure the vbMicrostats file is v2.1. at the top of the text file you have the version marked. i noticed that if you download a new file it will cache it in your browser as the old one. you will need to delete all your temp files and cookies. |
Upgrade to Version 2.1
Change only the code segment listed below in your v2.0: File: FORUM/admin/functions.php FIND: Code:
// ###################### Start dooutput ####################### Code:
// ###################### Start dooutput ####################### |
Where in my admin cp would I see this? And I replaced the code you suggested below before I wrote you the first time. :)
Quote:
|
ic. then your server doesnt allow you to view the stats. ask your host why.
you should see your server load on the main page where you see all the info and dev information. vb is designed in a way that it will not show you the Average Server Load if your server is not set to do so. here it is mine's (freddie's hack with server load integrated): |
You're using Quick Stats, right? My Quick Stats doesn't even have the server load option in it. I checked my /admin/index.php and it isn't even listed in it. That really doesn't tell us anything if I don't have it there does it? :)
Quote:
|
i know it doesnt. is me who add it there. but vB should have it separate. i just didnt like the way it looked so i made it compact.
|
Can you give me the code for it so I can add it and see? I have never seen it in the admin CP (I am still running 2.2.5 if that makes any difference). :)
Quote:
|
there is nothing to add. is there the code, right below the quick stats table. it was always there in the admin panel since vb was created.
|
All I have below the quick stats is the Useful Admin Stuff box, nothing else.
|
contact your host and open a ticket at vb.com.
|
Why do I need to contact vb.com and make a ticket?
Quote:
|
Boofo-
When you first go to your admin index, you should see your server loads at the very top of the page, under useful admin stuff. Right in the middle of the page. |
To tell you the truth, I don't recall EVER seeing that. :)
Quote:
|
All times are GMT. The time now is 03:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|