![]() |
ok no one replied for me but i decided to check a few things out :)
i installed XENON'S hack to drop queries and some how it fixed my problem but sometimes the main forum home calls 21 queries and i have seen it call 28 also ???? can anyone explain ??? |
Quote:
I simply removed the following code from the Start Dooutput replacement: PHP Code:
|
Thanks Teck!
I installed it on two servers today. Works Great! Mike |
Hmm, I seem to get 31 queries on the index page. Before I go ahead with Xenon's query decreasing hack, I'd like to know how to identify alot of these queries and cut down if possible.
Hacks installed: Quick Reply Chat Arcade Journal Default PM Karma Local Time Member Of The Day ShoutBox TopList VBstory Who was online today There are a few others but those and a few of the above mentioned ones probably don't apply. What does anyone recommend? |
Surely someone could help me out? Got a few grand waiting here for the lucky fellow. :P
|
Please feel free to open a new thread in General Hacking Discussions, it has nothing to do with troubleshooting the hack itself.
|
Good idea, Teck - will do. :)
|
Thanks Teck,
clicked Installed.... :) I'm using this to evaluate a new Host Server so it's very useful. I just had to alter it so that ALL Members could see the server loads, so I could get feedback from different users at different times, on the performance of the Server on test. |
This hack doesn't quite work with vBulletin 2.3.0 installation-wise, simply because the....
PHP Code:
|
I'm going to install vb230 and release an update when I have time. :)
|
@kakarot
this worked for me with vb 2.3.0 PHP Code:
|
@tkeil69575, what code chunk did you find to replace that with?
can't seem to get it to work with 2.3.0. |
sebastian,
see attached file tina |
changed the requested lines in the php files without backing up those three :/
result Parse error: parse error, unexpected $ in /usr/local/psa/home/vhosts/forums.puredj.com/httpdocs/admin/functions.php on line 2331 Fatal error: Call to undefined function: iif() in /usr/local/psa/home/vhosts/forums.puredj.com/httpdocs/admin/functions.php on line 352 I can't enter the board anymore :( does anyone can pass me the global.php from root/ and db_msql.php & functions.php from root/admin/ for vb 2.2.9 plz Thx, PureDJ.com |
You know you could just unzip vbulletin and take the those files from it.
|
Quote:
|
Works for me too. If it doesn't, be sure you're not selecting the tags = [php]
|
Quote:
Code:
if ( $replacement['findword'] =[high]=[/high] '{getmicrostats}' ) |
thanks great hack
running fine on 2.2.9 with vbindex Page generated in 0.13454604 seconds (81.56% PHP - 18.44% MySQL) with 19 queries. [Debug Mode OFF] [PHP v4.3.0] [GZIP enabled - level 1] [Server Load: 0.14 ยป 0.12 : 0.09] dont know what you recon on stats if there average or not but hay it worked and im a newbie at this lol :banana: |
Quote:
Thank you very much for supporting this hack yet. :) |
okay I took original text, and updated that with the info posted by tkeil69575 and then updated that with tecks php edit and it is not working :(
I will attach the file showing the changes I made, i tried both the template and hard coded versions. |
Hey guys.
Its not working because {getmicrostats} is not in the findword array. Just add {getmicrostats} to your replacement list via the admin control panel. Just leave the value (replace with) blank. Then it will work. |
I have tried this as well and can't get it working. I am just having problems with functions.php
I can send someone my file if you like and they can fix it? |
I got it to work on vB2.3.0, did whatever the file said, didnt follow the fix for vB2.3.0 cuz it doesnt work, it only displays {getmicrostats}
PHP Code:
Quote:
|
well, i can't get it to work either, dunno
maybe you guyz should explain us like we are 3y old :) cheers and thx |
*shrugs*
Crap, I dunno guys. I just followed the directions. Then after just getting {getmicrostats} displayed on each page I put it in the replacement table. |
It's not an elegant fix though :(
|
The fix is easier then you think, no need to complicate your life like that. ;)
This the working version for VB 2.3.0... |
I'm still using the instuctions from version 2.1 of the hack on 2.3.0 and it works fine.
|
Hi TECK,
I'm not programmer but I've followed your every instruction in the text file, and still there are no results. This is what I put in the footer: <p align="center"><smallfont> <!-- Do not remove this copyright notice --> Powered by: vBulletin Version $templateversion<br> Copyright ©2000 - 2002, Jelsoft Enterprises Limited.<br> <!-- Do not remove this copyright notice --> $copyrighttext<br> {getmicrostats} </smallfont></p> What could I be doing wrong? Can you, or anyone, help me out here. Thanks in advance. Edit: Never mind, I got it working now. :) |
I installed the new version of this hack after upgrading to 2.3.0, and nothing shows up in my footer now. I have uploaded the original files and re-applied the hack three times....and I'm sure I'm doing it right.
Any thoughts? |
Teck is currently not availabla, becaus of making holidays for three weeks ;)
but i can say the hack works with 2.3.0 on my board, so you must do something wrong i think... |
Thanks. I'll try it again.
|
Quote:
|
That worked! Thanks!
|
Installed and working for me on 2.3.0 RC3 with VBportal 3.0 (2.2) and showing on portal and forum pages correctly.
Needs correction as mentioned a little earlier but apart from that its fine. |
Thanks.
Craig |
Hi all,
Just installed this and ran into the conflict replacing variables in the dovars section of the ADMIN/functions.php file between this hack and Chen's {bbusername} auto name hack. On pages 29 and 40/41 of this thread, I read that we can integrate the two by finding this in Teck's vbMicroStats hack: PHP Code:
PHP Code:
PHP Code:
Thanks for the great hack, Teck. Cheers! << Now I'm off to lower the number of queries running rampant on all these pages before my site blows up. >> |
I had problems with this hack working on v 2.2.9 in the dovars section of the ADMIN/functions.php
PHP Code:
PHP Code:
Thanks. Flash |
Double post.
|
All times are GMT. The time now is 03:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|