![]() |
No, there is another BB there (Bulletin Board)... I wanted to look good. :)
|
Quote:
|
Hmm.. 1.0.5 is showing my memory usage as 0KB on every page, 1.0.4 didn't.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
It was showing the right values, except it was divided to much.... the right results are 2,985KB not 0.20KB. Since I did not wanted to get into extra calculations, I simply removed the process to ease the server and stop piping through grep the hole activity log. Trust me, it's better this way now. If you guys really want it, I could post the mod here, but I will not insert it into the original code. Performance wise is not recommended. Quote:
Send me by email: webmaster AT adolympics DOT com the php files that give you trouble. |
Quote:
Display the server memory usage, per page. If you display results like 0KB Used, you need to compile PHP with enable-memory-limit option. |
Quote:
Quote:
well, i only have 7 hacks installed.. is that really the case that i'm getting so many queries or it could be something else too? thank you :) |
Quote:
|
Quote:
|
Quote:
Quote:
|
Alrighty thanks...
|
Quote:
i uninstalled all my hacks and from the 40 queries i was getting, now i'm getting like 30-34 which looks still high.. :confused: |
Quote:
|
Probably from a frontpage like vbAdvanced, not vBulletin ...
|
Quote:
Do you see {microstats} displayed at the bottom of your page? If you do, ask any fellow vb.org members that they know you to PM you the modified files. You tried this on an unmodified forum? |
Quote:
I'm using vbadvanced and my home page is only running 15 queries. Of course all I have is the header and the login, but it is down to 15 queries. :cool: |
Quote:
|
Ok, so we know at least that the variable {microstats} is there, in some of the skins.
Now we know for sure it's related to code editing the files. I would strongly recommend to install in your PC an unmodified board, then apply the code changes in the order mentioned into the help file. Bobby, aka Boofo, had this instal;led into his forums with several skins, no problems. I remember he was mentioning a similar problem, stats not displaying... it was simply not adding the {microstats} into the right template. |
Yep, a Boofo mistake. ;)
I have the fix for Microstats and Photopost for you, Floren. Want me to PM it to you? |
Special thanks to Revan and Boofo for being the guinea pig. :)
To have vBMicroStats working with PhotoPost, follow those simple steps. Open pp-inc.php file and find: PHP Code:
PHP Code:
|
Are you going to add the plug-in to your hack? You could add that in the next version and just make an option to enable it in the settings. ;)
|
I will not add it Bobby, it's not a vbulletin hack.
I will leave it as optional. It's listed in the first post. :) |
Well, I added it to mine, but I can see your point.
|
Ya, not everyone have PhotoPost.
So for those who have it, they can download the plugin and run it. |
Here are my stats from the first page of the forum.
'Page generated in 0.39097905 seconds (19.32% PHP - 80.68% MySQL) with 11 queries' I wonder why it's using so much MySQL even though it's just 11 queries??? nevermind... I figured it out. It's because of two of my hacks on the forum index page. One of which is the who has visited today feature. |
You mean the init.php file?
|
The first replacement set is for MySQL, the second one is for MySQLi... you only use one type of connection so that's why it's working.
Notice that the 2 segments are not identical, there is a few bytes difference between them. In first type of connection you find ($this->sql, $link), then in second you find ($link, $this->sql) in the function. It's the only difference between the 2 functions. You probably copied and pasted the same code in both places, thinking they are the same. That results into a parse error. ;) |
If you want to display all stats for administrators only, follow the same readme steps.
Install the plugin attached below, instead. |
hi people,
the fix for Photopost doesn't work Code:
Warning: ksort() expects parameter 1 to be array, null given in /photopost/pp-inc.php(630) : eval()'d code on line 351 |
Quote:
|
Hey TECK,
I am testing v 1.0.5 of your mod and I have this problem (see attachment) Any way of fixing it so the colomns go straight across the screen? |
Quote:
|
Quote:
|
Quote:
I just reinstalled again a brand new test board (3.6) with vBMicroStats and it's spanning properly the columns. BTW, the hack changes in vBulletin 3.6 version. :) I will release a new version when 3.6 is final. |
OK, I have narrowed it down.
When viewing as a guest it spans fine. However when logged in, it does what it does in the what shows in the attachment I posted previously, with or without admin stats (ie spans across the length of the style selector and that is it). EDIT: When logged out there is no style selector available. |
Hello!
I use PhotoPost too. PHP and MySQL are not displayed in PhotoPost. (Page generated in 0,19557405 seconds (0% PHP - 0% MySQL) with 18 queries) It operates only sporadically?! -> PhotoPost In vBulletin the hack works perfectly. (Page generated in 0.18732309 seconds (91,50% PHP - 8,50% MySQL) with 16 queries) -> vBulletin Any way of fixing this Problem? Thank you! |
Quote:
BTW: Hi German fellow ;) Nice homepage. Which hack did you installed to get a better overview about your sub forums? I like it really ;) -Micha, K?ln |
Hallo Michael!
Quote:
Quote:
Kind Regards - viele Gr??e :) // Edit: Okay, now I tried Teck's "Division by Zero" Fix in the ?vbmicrostats-plugin_photopost.xml? too. Now it runs! :banana: Thank you! |
All times are GMT. The time now is 11:34 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:
|