Registered: 05/09/02
Posts: 17
Loc: Stockholm / Sweden
My HitHack works now - I think it was a cache problem after installing. But, one question:
does the HitHack generate a lot more Perl .CGI requests? I have a problem with too much traffic on my server (1GHz P3 768MB RAM) and I need to streamline my forum as much as possible.
If a forum summary page takes too long to load then it now spits out an execution error, I believe the time period can be set somewhere although I haven't found it and UBB seems to default to 30 seconds. UBBDev's been throwing it up a bit today as well.. just a little.. very variable. Obviously Hit-Hack adds to the loading of long summaries = more common problem, not your scripts fault.
That aside and does this Hit Hack support v6.3.1, or don't you have any idea what that is? =)
Firstly after having installed it and timing the before and after loading time of forum and topic summaries I did find that it added about 1 second to the topic loading times. Nothing big, but when a summary loads in 1 second, 2 full seconds is twice as slow =).
Anyway, I've found on my beta board (with only me testing) that if you enter a topic and then click back to the topic summary it counts in multiples of two and now 1? Thus 1 visit = 2 and 2 visits to the topic = 4.
Try for yourself: http://www.ispreview.co.uk/ubb/ultimatebb.php?ubb=forum;f=1
Also, doesn't this affect cache since its more dynamic and therfore must update more often? I removed it from the forum summary pages since there was no need, so if you note that then it's not a bug, just my own preference.
1: double counting - if you access PHP page but the cache is cleared, it counts once for PHP and once for CGI - twice. I guess I'll fix that by writing the last number (or IP) to view the topic soon.
2: cache/time - it uses a different file (ubb_hits.cgi), so it can't slow it down unless you count the time until the other file is loaded, which is from <script> tag (so your forum summary loads fine, but you'll have to wait a little longer to see the hits)
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Oh I see what you mean, however please note that IE6 (as with others before it), which is the most used browser, loads HTML tables in bulk and thus unlike Opera I don't see the table and then the hits - it all loads together unless the site is really slow or showing a lot of topics, hence the delay.
the hits.cgi gots not chmoded to me right and the php-accelerator complains that he cant access the hits.cgi file cause of no permission ..... ? any ideas ?
doh! that was the reason thanks. 2 other problems now: When I go into cp and modification wordlet list I don't get anything appearing - only says "Page:" with nothing else underneath it. Also the forum summary hits that appear after each description of the forum summary seem to be counting double what the actual topic hits are counting - I don't actually need the hits on the forum summary page, just within each forum is fine - can I remove them from main summary page?