![]() |
Quote:
There may be another way, but I can't think of it. |
Quote:
|
For whatever reason in my admincp area, when I update an option, the text below still shows :
This Option was changed last at: 01.01.1970, 01:00 I'm presuming it should update to today's date and time? Any ideas why this is happening? Thanks, it's a wonderful hack, interesting to see where people find your forum! |
I really like this hack except it isn't doing some of the stuff right.
It doesn't catch Browsers and OS's. Doesn't catch country origin and browser language. It isn't catching spirders that crawl the site (I had 48 Guests last night.). It doesn't catch monitor resolutions. It pretty much doesn't get anything from the users. The System check doesn't work either. Is there a reason fo rthis or do I not have soemthing enabled? |
I have all the same problems you are. Is the author supporting this hack still, I haven't seen PCFreak on here in a while. I'd hate to have to uninstall
|
Quote:
A grand idea and looks nice, but.... |
He could at least tell everyone. I'd like to see if anyone has got this running and see if it is running on his own site.
|
@Punktek and paratek:
Did you do this? Code:
--------------------------------------------------------------------- |
Quote:
i use this hack & working fine |
I put that in the headerinclude. I'm waiting 24 hours ot see if this works. =/
|
That wasn't the issue i was having. My problem has to do with this line
include("./statistic_counter.php"); in my phpinclude_start file. It screws up the front page of vbportal if it is in. If the line is in there, it counts page hits etc, but the portal headers and menus don't like it. If i take it out the header/menu problem is fixed, but it only reports half the stats. I was just hoping someone could point me in the right direction as why this line of code would have a problem with my portal header. Quote:
|
Disregard the above post
I finally have it working with VBPortal! |
I'm having a problem, my stats worked great for about a week and then they stopped working! Anyone else expiernce this? PLS Help!!!
|
Quote:
The last weeks i was very busy. Many thanks to S@NL - BlackBik for supporting the statistic hack. PcFreak |
Welcome back PcFreak!
|
Glad you're back. My counter is catching plug-ins that are installed and monitor resolutions now but that is all.
|
Quote:
I saw some problems I also encountered and knew a sollution. So why not share it ;) Welcome back :) |
I really need some help here. I honestly can not say what I did,obviously broke something. The error it returns is as follows:
Code:
Anyone help me fix this, I am not real good working within the raw database. Thanks in advance!! |
Anyone ?? Is appreciated.
|
What change did you make?
Can't you reverse this change? Did you only change the header template of did you change something in php scripts? Is the mentioned table still in your database or did you drop it? |
Quote:
http://www.clanspy.net/navbar/bar.htm Quote:
Quote:
How can I add the tables to the database manually? I have never done that, but feel that may at least get me access to CP. |
Quote:
This is an old statistic 2 query. The names of the statistic tabels was changed in version 3. Quote:
|
Quote:
|
|
Quote:
|
Quote:
Thanks, good to know when you break something, people are willing to help. VB is great community. David |
hmm, I get this error when trying to login after installing:
Unable to add cookies, header already sent. File: /home/kuyflcbd/public_html/vbulletin/statistic_counter.php Line: 410 Thank You, David |
any idea why this would happen?
|
I spoke too soon when i thought i had this working with VBPortal. I have narrowed down where the problem seems to lie. The line that is placed in the phpinclude_start
require_once('./../global.php');<------ VbPortal line //include("./statistic_counter.php");<----- this line is my problem. statistic_counter.php uses the include ./global.php and it seems the fact that vbportal includes the ./../global.php on the line above, screws my vbportal front page up. I understand this is not the problem of your program PCFreak, but is there anyway you can think of for me to work around this? |
Change the include('global.php') inthe statics_counter to a require_once.
|
Thats the way it already is Marco H. Thanks for the reply though. Any ideas where i can look?
Quote:
|
I almost got booted of my host when I installed vbportal and had
include("./statistic_counter.php"); in my php start the shared server i was on almost crashed (cpu was at like 70!) as it was creating php calls continuasly i managed to get a peek at whos online while this was happening and saw about 200 guests with the ip of my server online this is not pcfreaks fault but an incompatibility with vbportal and I sure love this script but am only able to use the the browser resolution part Anyone have any ideas of how to get the 2 working? |
Been asking for a while, doesn't seem like many are using vbPortal. I hate to but gonna have to do an uninstall. Not worth it to have it only half work.
|
paratek u inspired me to give it one last shot
dont delete this awesome hack just yet think i found a solution |
i am willing to try anything at this point, let me know
|
this is what im doing and ive reset the stats so not sure every little thing is working but i do know its not killing the server anymore and it has logged a visit of mine
it was caught in and endless loop because it was calling the wrong global.php ive enclose some comments in < > brackets edit statistic_counter.php and change wherever it has require_once to the full path of the file like.. require_once('http://www.yoursite.com/forums/global.php'); <maybe only to ./forums/global.php if you have moved it to the root?> it may only be neccesarry for global.php but i moved my statistic_counter.php to the site root <dont know if i should even do this?> so i changed them all then in phpinclude_start, this is what i have... require_once('./../global.php'); include("./../statistic_counter.php"); <is the move to the site root necc or can it stay in forums?> My forums are located in /forums/ really dont have a clue what im doing, its just a trial and error thing :) hopefully some helpful person that knows and understands both scripts, and is experienced with mysql and php comes along and helps us do it the right way :rolleyes: i'll get back to you after i have enough forum activity where i can see if every log function is working |
after a day of running it for a day, this is what im finding
Statistics home - works Browsers / Operating Systems - not working Country of origin and browser language - works Search Engines - not sure yet ( i have one altavista hit in referrers but not here) Spider / Crawler - not sure yet Referrer - works Browser Plugins and Monitor Resolutions - works System check - works ------------------------------------------------------------------------ I also thought of way to not include yourself in the stats. Since your always on your site, it may be a good idea to not skew the stats with all your visits. Heres how: In headinclude wrap the script in a conditional....like: Code:
<if condition="!$show['admincplink']"><div style="display:none"><script type="text/javascript" src="./clientscript/statistic_java.js"></script></div></if> I just used admincplink since I believe it performs the exact same function as usergroupid == 6 and I'm the only admin In phpinclude_start, change it to this: Code:
if ($bbuserinfo['usergroupid'] != 6) {include("./statistic_counter.php");} |
First Many thanks for the auther of this hack...
Now getting this error although the hack has been successfully instaled ?! when I move from the stat or the vb or CMPS it gives randomly this error massege ... when I refresh ..it disapear and the pages display normaly including the stat! what is the problem and how I can fix it ? Warning: main(./statistic/statistic_spider.php): failed to open stream: No such file or directory in /statistic_counter.php on line 99 Fatal error: main(): Failed opening required './statistic/statistic_spider.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/alderwa/public_html/vb/statistic_counter.php on line 99 |
Is there any way to disable the parts that use Javascript?
The Javascript increased my bandwidth usage with about 50% - something I'm not really interested in. Is there perhaps another script that only collects stats from the database, and not from utilizing Javascript? |
Quote:
|
All times are GMT. The time now is 07:44 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:
|