![]() |
Quote:
Well, you are lucky that you have only 24, even if this is extremly high. I saw people running over 100 queries on a page and asked why their server was shutdown... Read more here, on my first version: https://vborg.vbsupport.ru/showthread.php?t=35811 That will explain also why the file edits are needed... LOL, VB2... Check the screenshot. Wow. They used to have 17 queries on the frontpage. Things changed a lot... Much better now. :) Haha, read this post: https://vborg.vbsupport.ru/showpost....3&postcount=54 Quote:
|
Quote:
And thanks for bringing back memories with this update, Floren. I really needed it right now. ;) |
Go ahead and post it, I need it because I want to fix the colspan bug.
Thanks Bobby. |
Quote:
|
Quote:
|
Is Ok, I see where is the problem.
Working on it as we speak. |
Quote:
|
I've edited the files multiple times and I keep getting this persistent error after I upload them back up the server.
Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/packetattack/forums.nycmaximas.org/html/includes/class_core.php on line 989. I keep redoing the files to no avail. I'm using UltraEdit 32 and uploading the files in ASCII mode. I check line 989 and this is what I have: 985: * @package vBulletin 986:* @version $Revision: 1.183.2.9 $ 987:* @date $Date: 2006/02/09 17:44:52 $ 988:*/ 989:class vB_Database_MySQLi extends vB_Database 990:{ 991: /** 992: * Array of function names, mapping a simple name 993:to the RDBMS specific function name 994: * 995: * @var array 996: */ |
Floren, would it be easier to see the problem first hand on the site in the Admin CP? The skin itself might be causing it.
|
Hmmm... I did it twice step by step and its looking like this...
Any ideas ? TIA |
Quote:
|
Problem fixed, version 1.0.2 released. The colspan increments were not working properly, so the table looked broken...
This upgrade is for those who want to use the original/unmodified template code. Uninstall old version and re-install the new one. You only need to run the plugin, no other changes are needed. Don't you love vBulletin? Enjoy. For the teckies who want to know exacly what I did. This is the added code segment: Code:
$colspan = 1; |
Yes indeedy! Works like a charm. Just need to center it and do a tfoot instead of tcat and we are all set. Thank you, sir. You are still the Master to this old Grasshopper. ;)
|
Quote:
Unfortunatelly, I cannot post the hole functions, modified, vBulletin copyright policies, unless they changed their mind? I wish I could help you more, but I cannot. Try to contact one of the users who installed the mod successfully, to send you the edited files. |
Welcome back TECK, it's great to see this released for 3.5.x!
|
Thanks for releasing a vB 3.5 version TECK! I will install it after school.
Derek |
What a great way to start your first released 3.5 hack! Welcome back.
/me clicks install |
Welp, I'm getting the following error.
Code:
Fatal error: Cannot redeclare mstimer_start() in c:\apache\www\demo\forums\includes\class_core.php on line 987 Code:
983 var $mstime_total = 0; |
That's strange. It works great for me.
|
a little hard to believe that a hack with this kind of functionality cannot avoid using file edits... :confused:
|
In order to get the accurate results, file edits are necessary. I never have a problem editing files. We've all had to do it up untill 3.5.0. :p
|
Nice one TECK :) Was waiting for one like this.
|
Quote:
You get an error like that if the mstimer_start is called twice... Did you previously edited class_core.php or init.php for other mods? The process is quite simple. In init.php, at the top, you start the microtime clock, that's what function mstimer_start() does. Then you need the stop the clock at the bottom, with function mstimer_stop(). That's the reason you really need to edit the files, no hooks are present before or after the database connection, queries exec, etc. In class_core.php, you simply insert those functions into the vB_Database MySQL and MySQLi class. They are called only once, depending on what type of SQL language you chosed. I hope I was clear with my explanation. :) Ken, please install the mod into an unmodded test board and let me know if the problem is solved. BTW, thank you all for the warm welcome back. I really appreciate it. :) |
Just installed and works great in the forum section. However, in my photopost pages I'm seeing "{microstats} where the actual stats should be. Any ideas?
|
PhotoPost does not use the vBulletin $output, then?
This code line (in vBMicroStats Global Hook) should help you: Code:
$output = str_replace('{microstats}', $ms_output, $output); The code line listed above with search in the $output for the {microstats} string and replace it with the actual $ms_output html code. Probably you have a mod installed that merges PhotoPost with vBulletin? I'm not familiar with this software, so unfortunatelly I could not support it. I wish I could help you more. Maybe other members who have experience with PhotoPost could help you better. I would post this question in the vB3.5 Modification Questions forum. It shouldn't be hard to fix your problem. If you have an answer, please post it here so I can link it in the first post. Thanks. :) BTW, 27 installs in 12 hours? Thank you! It really means a lot to me. |
hmmm, it shows that you have updated your file since my last post. I'll give it another shot.
|
Quote:
i think the mod is great thats why you see so many people installing it... but not only that your support is amazing... |
Version 1.0.3 released. If you have a previous version installed, all you have to do is uninstall the old product and re-install the new one.
No other code modifications in files are needed. The new version improves the UNIX/Win32 Server Memory option. If fixes 2 bugs. First bug: Originally the code was piping the entire process list through grep. Instead, we should search only for what we are interested in... done. This was tested on a Linux RedHat server. It should work with any UNIX systems. Let me know if you have any wierd errors on the page. Second bug: I fixed another little bug related to the Win32 part of code. This was tested on Win XP Pro SP2 with IIS. It should work also with Win2003 Server. |
Man I have been waiting for this goodie from a very long time. Thank you very much, sir! :D
|
Quote:
|
It's the same code, in the hook template. You can keep the same code Bob.
I don't want you guys to scream ... :) Version 1.0.4 released. By fixing the server memory bugs I created a new one. Way to go Floren! Anyway, it's fixed. Do the same thing, simply uninstall the old product and install the new one. No other code modifications are needed. |
Quote:
Quote:
|
here we go ill update mine lets see how long this takes me again lol can i still use my same code from last night? or is there a bug in that code?
|
You keep the same hook template code you edited.
I'm not going to make you post another screenshot. :) Guys, I need you to test this mod into an unmodded board and a server with APC or eAccelerator installed. Let me know if you have any wierd errors. |
thank you
|
Let me know if the memory usage it's displaying 0 or 0.20... I think not every server likes it... we might need to go back to Grep.
I just test it into another UNIX server and it shows 0Kb. grrr... |
mine is showing 0.20KB Used....
|
With 1.0.4? Please post the mod version and the memory used value. Anyone else?
|
yes thats with 1.0.4... 0.20KB Used
|
I think because i'm testing this on mt localhost is what my problem is. I'll install on my live board and see what the reslults are.
|
All times are GMT. The time now is 01:37 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:
|