![]() |
You really should learn to use left joins. Im using them right now to start to clean up the amt of queries in the arcade addon first since it was using 92. So far I have cut 92 down to 52. thats 4 queries per game you have listed that have now been cut out. :) I now have gotten the arcade addon page down to 16 queries no matter how many games you list be it 1 or a 100. Trust me I tested it. Im going to go through and see about doing the rest of this hack and see what I can get it down to.
If the author doesnt mind. I will post my current modified file for everyone. This is when listing 10 games on the page. When using inner joins it generates the page in the following time. Page generated in 0.18413091 seconds (41.08% PHP - 58.92% MySQL) with 16 queries Now using left joins it generates the page in the following time. Page generated in 0.28608704 seconds (26.56% PHP - 73.44% MySQL) with 16 queries Only problem with the inner join is that you can only use the conditionals when running mysql 3.23.17 I can release both versions thats no problem. High Stress Load Test Original Code set to display 1000 games: Page generated in 2.45838499 seconds (26.88% PHP - 73.12% MySQL) with 3164 queries Optimized Code Using inner join's displaying 1000 games: Page generated in 0.50021791 seconds (78.25% PHP - 21.75% MySQL) with 16 queries Optimized Code Using left join's displaying 1000 games: Page generated in 0.67386508 seconds (68.22% PHP - 31.78% MySQL) with 16 queries |
Quote:
Can you post or quote the optimized code, please? Or better..., you release both versions with the code you used. I am still learning php ;) PcFreak |
Heres the fixed version of the statistics file. Use the inner join version first and if it does not work for you then please use the left join. There shouldn't be any problems with table prefix's in the code but if there are let me know so that I can fix them. You can see my demo here of this file working. I will see about what I can do to the other pages latter on. http://www.extremechatforums.com/forums/statistik.php
|
Quote:
|
Quote:
|
Oh yes I fogot I made a template change also. Let me get the template for you as well. When I changed the query's it changed the variable for the miniimage.
|
Replace statistic_arcade_bit with the following html
HTML Code:
<tr> |
95% of my new vBulletin Boardstatistic Version 3 is finished.
Here some futures: The new Boardstatistc Version 3 Detect vistor countries: 257a Live Demo your found here: Now my little problem: English is not my mother language. It?s very hard for me to translate this statistic in English. The statistic is work with phrases. (will be imported in xml format). All phrases are finished (not the phrases for the admincp). Is there anybody whose want help me to translate them from german into other languages? Would be really nicely PcFreak |
Now you're gettng me excited! Will all the icons you have in your demo be part of it?
Great job! |
Quote:
All icons are freeware. I found the most of them here: http://www.iconarchive.com/ PcFreak |
Quote:
I'm happy to help with an English translation though I don't speak German. I am an English computer programmer, though, so I have experience of finding the shortest but most appropriate phrases. Your best guess at an English version and the ability to see where the text goes would be all that I need. |
Quote:
(I'm going away for a week or so next week though, so time would be of the essence.) |
The new Statistic Version is finished.
We will begin to translate them soon. Now we make few beta tests. Hope i can release the new version this year. PcFreak |
In the admin cp under statistic settings is this point:
Quote:
PcFreak |
Just a quick question on this , Installed everything and its working fine , on install it only insalled templates into the style id1 , How do i get the templates into my other themes as well , sorry but very new to vb.
|
Quote:
I have noticed that it's impossible to reset your stats and then enter the domain in that box without a few entries from your own domain creeping in during the few seconds it takes between the two steps. No big deal. |
Quote:
In the phpinclude_start template found Code:
include("./statistik_counter.php"); Code:
//include("./statistik_counter.php"); Code:
include("./statistik_counter.php"); PcFreak |
Are we still on for a pre-2005 release?
I would like to start gathering stats from the start of the year. |
PcFreak and I are still working on the new version 3 of vB Statistic. We don't want to offer a version which is buggy like the version 2 so we testing and optimizing the code each day and if all goes well we can offer the new version 3 beginning upcoming year.
|
Great! We look forward to it and appreciate your work!
|
Excellent. It will be the first install of yor hack on my boards.
I love statistics.:) |
I can not get other spiders to be picked up in the spiders list. I have added them to the functions_statistik.php file
using the following PHP Code:
|
Hello eXtremeTim.
Better is, you wait few days. We will release Version 3 of the vBstatistic the next days. The new version detect more then 290 differnt spiders correctly. If you add new spiders in Version2 you must make inserts for them in the database, too. for exampel you add this spider: PHP Code:
PHP Code:
PcFreak |
Didnt even think about that. :-/ Will v3 have the option for adding spiders?
|
Quote:
But new spider updates are planned. The user must exchange just one php file. The new install routine detect the Statistic version and update the statistic tables automatically. I think this is the best way. PcFreak |
I installed it but had to translate it in french for my forum... Thank you for this hack, it works perfectly :)
|
Quote:
So we can offer also the french language for the new version and you will get a credit on the translation page ;) |
Anyone know how to put it on the forum? Like a link?
|
Quote:
|
Help, how do I uninstall this hack.
I know how to modify the templates again and such but how do I reverse the mysql queries that I ran. Any speedy reply is greatly appreciated. |
@kadafi_alive
Use the uninstall_statistik_english.php from Onkel_Tom. Download here: https://vborg.vbsupport.ru/showpost....47&postcount=2 PcFreak |
i installed this a few hours ago, and double checked that i followed every step.
it is working fine with the exception of counting the number of hits, number of visitors, and no stats are showing up on the "countries of visitors", "searchbots/spiders", and "browsers/operating systems" pages. how can i fix this? |
Quote:
|
Quote:
here is my phpinclude template. does it look right where it's added? Code:
// Example of how to include a seperate file: |
take your <?php ?> out
you dont need those as phpinclude doesnt need you to define it being php That should fix it |
Quote:
thanks man. :up: |
Quote:
|
Quote:
Its a completely new version and i think, one of the largest Hacks that was ever written (more as 7000 Lines of code) The Statistic Version 3 will release in the next days. We want to publish this modification at the same time in german and english. That is the reason why the At-lantis forum is open now. PcFreak |
Thank you for releasing this hack publically. I'll install it. ^-^;
|
All times are GMT. The time now is 03:42 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:
|