![]() |
Quote:
del this line PHP Code:
Quote:
A 9kb file with 4 querys (normal 2 if the user counted) need so many bandwith? You must have a board with one forum and one post and 10 vistors in the week. (If that, you have a bandwith from 100 kb the week) Of course the javacountig need then between 30-40 kb. ;) This script use only 2 querys. (4 querys the User was not logged befor). For a board with 1 Millon Users it?s need not more than 0.001% of the bandwith. But the srcipt work with ervery side refresh. I think there must be a misunderstanding by your side. You interpret you server log not correctly. Quote:
PcFreak |
Quote:
There must be in the statistic directory. On line 99 of the statistic_counter.php this file is require. But the spider.php is missing. Tipp: Check your statistic directory. PcFreak |
Quote:
The statistic javscript is like a bypass. This script is not more as an function. The javascript started with every php. Always then, if you refresh a side. In your logs you see then that each second file was loaded wich the javascript. (Ups thus 50% . From 10 files wich was loaded they are 5 javascript files?) But that is not bandwith!! The script no range bandwith. It is possibel take the javacounter in a normal vBulletin.file. But I imagined much more better is: Don?t touch the orginal vBulletin files. It more simple to install this mod (and uninstall, of course . But that makes nobody;) Because this mod is simple great :)) |
I'm running 3.0.7, it llooks like everything is working ok - EXCEPT the cronjob. when I go to mydomain.com/forum/includes/cron/statisticupdate.php I get this error:
Fatal error: Call to a member function on a non-object in /home/me/public_html/forum/includes/cron/statisticupdate.php on line 20 Help please :) |
Quote:
Quote:
You do realize that with no-cache headers, the javascript does not get cached? Quote:
Code:
Users online: 117 (78 members and 39 guests) Quote:
Quote:
|
Quote:
It does however require bandwidth to download a file from an external server - that is also what I am saying. All that aside, my Dual Xeon 2.4 GHZ dedicated server can handle a couple of filetransfers and/or queries before you start to see it's behaviour change :) |
Quote:
Don?t activate the counter. Quote:
But I do not understand nevertheless your JavaScript problem. There are a lot of other js scripts active in vB. Even in the headinclude. Or I have an understanding problem. Did you mean java (not the Island or the coffee) ;) or did you mean "js" (JavaScript) @wolfyman This is line 20 in your statisticupdate.php PHP Code:
Have you del the statistic_log_java table in you db? PcFreak |
I just got an email about the database. Notice that the referrer is yahoo, and the error is from homepage which was up (am sure of that) at the time it happened.
What should I make out of this database error? Quote:
|
Quote:
Grosse file -> grosse bandwidth usage <-- semi deutch :) |
Quote:
(Line round 221) found: PHP Code:
PHP Code:
|
Thank you.
|
Quote:
Rgds |
Looks like some search engines are sending in those characters. And those are no nos for script.
|
I understand that, and I had this problem long ago, but what I do not understand is why use one function for the ' and the case-sensitive eregi_replace for the \.
And it is most probably not an issue with the search engine sending those characters, as much as the user typing a phrase and then hitting the \ before the Enter key, as they complete their typing. The \ is close to the Enter key. |
I must say that this mod is AWESOME...and coming from a newbie to VB and PHP....I was able to install this without a hitch!!!
Paypal donation time for sure... I have a question about the statistics folder in the forum install directory...was I suppose to upload the sides folder and these files?: statistic_browser_os.php; statistic_searchengines.php; and statistic_spider.php? Oops one other question...what does the statitis_counter.php do (in forum root)? Is this like a page counter? If so, how do I get it to show? Thanks again ... |
copy this three files in in forum root:
e.g. -forum/statistic.php -forum/statistic_counter.php -forum/statistic_java_counter.php the other files must stay in the forum/statistic/ folder with the same file structure. (do not change) The image directory of the distribution package should be uploaded to the ./statistic directoy (forum/statistic) The statistic_counter.php is the most important file. This file counts and logs all the statisic data. PcFreak |
Hey PcFreak, care to answer my question?
|
Is there a way to show the average posts per day on the main statistics page? You have the total posts, and the days since the forum was put online... so I can't imagine that it would be anything too difficult. Any way of implementing this? I know that it's a very easy calculation to figure out on my own with a calculator, but if I don't need a calculator, it's even better :)
Great hack btw :D |
Quote:
Quote:
Some people look for term like "hello\" or "'Freaks`s statistic is the best' " in the engines. But the routine is not case-sensitive. It is implemented only if a search machine were actually found. Quote:
I think you can use this code: e.g PHP Code:
PHP Code:
PcFreak |
Quote:
|
OMG!
<floored> This is the Mother-of-all-Stats mods. Installed and working flawlessly! Chris |
A minor issue, but something you might want to have a look at:
In the System Check, there are two references to the user's monitor resolution. One is "Your Monitor Resolution" and the other is "Your max. Monitor Resolution (depending on taskbar)". When I run my system check, I get 1280x1024, which is my monitor resolution, but in the max. resolution I get 1280x996 ! Something does not compute here. The max. can't be smaller than the used one. My max. monitor resolution is 2048x1536. Rgds |
Quote:
|
Btw, thanks PcFreak, I got the Avg Posts Per Day and Threads Per Day all figured out :)
Although I noticed something weird. Your statistics mod is showing a different total posts and total threads than my main forum page is. Not sure of the exact numbers, but it's showing 100-ish less posts and 30-ish less threads. Any idea what's up with that? Nevermind... I just figured it out. The main forum page shows the true totals... the statistics mod shows the total of the posts and threads that you can see, so it doesn't include the posts and threads in hidden forums. Am I right? |
Quote:
Rgds |
First let me say, very impressive hack. Well worth the short time to install. I am having a problem with my CRON job. I get this error when it runs:
Warning: main(./includes/cron/statisticsupdate.php): failed to open stream: No such file or directory in /admincp/cronadmin.php on line 56 Fatal error: main(): Failed opening required './includes/cron/statisticsupdate.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kevinstr/public_html/forums/admincp/cronadmin.php on line 56 Line 56 of cronadmin.php reads as this: Code:
require_once($nextitem['filename']); |
My Top 20 Referrer domains are being updated with relevant url's but the dates showing are all January / February 2005 !?
|
there was an arcade addin for the last version of the statistic hack will that be back ?
|
OK, I sent you 5 eurothingies. Can we get a version that doesn't end in .00? :banana:
|
Quote:
Quote:
At the moment, i have no answer. The timestamp entry for the ref url?s in the db is just time(). Quote:
PcFreak |
Installed and working flawlessly!
Thanks! |
Started to get this database error :-
Database error in vBulletin : Link-ID == false, connect failed mysql error: mysql error number: 0 created by Code:
http://www.thetechguys.co.uk/retreat/statistic_java_counter.php?&colordepth=32?=76&resolution=1280x1024&maxresolution=1280x1024&cookies=true&flash=true&mediaplayer=true&java=true&shockwave=true&realplayer=false&quicktime=true&acrobat=false&svg=false |
Quote:
|
what would be the best way to use this if you used vbadvanced as your homepage instead of your forum?
it would be best to track visitors at the root of your site if your forum is in a subdirectory |
Quote:
|
On my forums, i integrated the link to the statistics in the indexpage (forums home)
like this: *open template forumhome *find: Code:
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> Code:
<a href=statistic.php><phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase></a> |
[QUOTE=PcFreak]The name of the file is statisticupdate.php and not statistic"s"update.php.
Duh...Thanks. Another stupid mistake on my part. |
I LOVE this hack, have had it installed for a month now. One problem. In the Referrals (my most important section, new site) it shows my url also. I have tried to remove it from the list in Admin CP, and it does it when you enter it, but then it's back again. The list in the Admincp shows a blank screen in that part, no URLs listed, but it shows the "last time updated" part correctly. But it's empty, so it still shows all versions of my url, including:
http://aquatic-photography.com/ ..... www.aquatic-photography.com .... How do I permanently remove it so that I can see an accurate list of referrals. |
@apfparadise
There are two ways: The first way: Under "Options for Statistics Main Page" in AdminCP use: "aquatic-photography.com" as your own Domainname. The second way: ################################################## #################### ************************************************** ******************** **If you want to exclude more than one domainname from beeing logged** ************************************************** ******************** ################################################## #################### ----------------------- open: ----------------------- statistic_counter ----------------------- Search for: ----------------------- PHP Code:
add above: ----------------------- PHP Code:
Attention: ----------------------- Type the Domainname without http://www in the beginning! just: your-new-excluded-domain.com You can add Domainnames as much as you want to be excluded. Use the same way as mentioned above. Note: In the next version of the statistic you can excluded domains, url?s ect. via Admin CP ;) PcFreak |
I am having this weired problem. When I gat to step three (./forum/admincp/statistic_templates_install.php) the installation totally haults and I get a http 500 internal server error. What should I do to fix that?
|
All times are GMT. The time now is 07:24 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:
|