vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Statistic version 3.0.0 (directors Cut *g*) (https://vborg.vbsupport.ru/showthread.php?t=74603)

Torqued 01-19-2005 05:14 AM

Is this working for everyone that installed it? I am having some issues. The stats are not updating and I'm getting these errors in my error log.

Quote:

Wed Jan 19 01:05:52 2005] [error] PHP Parse error: parse error, unexpected '<' in /home/mysite/public_html/forums/global.php(429) : eval()'d code on line 56
[Wed Jan 19 01:05:51 2005] [error] PHP Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/statistic_java_counter.php on line 26
[Wed Jan 19 01:05:51 2005] [error] PHP Warning: main(./global.php): failed to open stream: No such file or directory in /home/mysite/public_html/statistic_java_counter.php on line 26
[
I've gone through the install about 4 times now and can't seem to get this sorted. :( Any ideas? Why is the path wrong for the statistc_java_counter.php?

edited to add:

when i remove the code from the headinclude template and the phpinclude_start template, the errors stop.

Spinball 01-19-2005 06:23 AM

Quote:

Originally Posted by KirbyDE
Awesome!

How many queries does it add for the logging part?

Is it possible to display
- new users today/last week/last month
- new posts today/last week/last month
- new threads today/last week/last month
- page views today/last week/last month
- guests online today last week/last month
- registered members online today/last week/last month
?

Hi PCFreak and thanks for this hack. *Installed* and works perfectly first time.
I agree with KirbyDE about suggesting some more stats to be able to produce information similar to Webtrends. Please note that potential advertisers want to know monthly stats. And as far as I'm concerned the most important use of these stats is to persuade advertisers to sign up.
Please have a think about these:

Average visitor session length (time between first and last activity in a session) (ignoring spiders?)
Number of visitors who visited once in the time period (ignoring spiders?)
Number of visitors who visited more than once in the time period (ignoring spiders?)
Number of page views for home page (ignoring spiders?)
List of most browsed forums % and numbers (clicks on categories) (ignoring spiders?).
Display average number of users registering per day in the time period. This thread shows what I mean though I expect you would get the data in a different way:
https://vborg.vbsupport.ru/showthread.php?t=69392
Also I would suggest being able to exclude certain user groups from the list of new users. I.e. I don't count those in the coppa, awaiting activation and banned user groups as new users since they can't actually participate in the forums.
Thanks for your consideration.

yinyang 01-19-2005 07:13 AM

great hack! well done!

i have this one really weird problem. after installing, there's an extra line above the header now. it's like a blank line was inserted above the whole page. this sort of messes up my formating. does anyone else have this weird oddity?

-yinyang

*clicks install*

kall 01-19-2005 07:29 AM

Quote:

Originally Posted by Torqued
Is this working for everyone that installed it? I am having some issues. The stats are not updating and I'm getting these errors in my error log.



I've gone through the install about 4 times now and can't seem to get this sorted. :( Any ideas? Why is the path wrong for the statistc_java_counter.php?

edited to add:

when i remove the code from the headinclude template and the phpinclude_start template, the errors stop.

Well...for one, you have the wrong path somewhere there.

statistic_java_counter.php should be in /public_html/forums , the same place as global.php and statistic.php

PcFreak 01-19-2005 08:05 AM

Quote:

Originally Posted by yinyang
great hack! well done!

i have this one really weird problem. after installing, there's an extra line above the header now. it's like a blank line was inserted above the whole page. this sort of messes up my formating. does anyone else have this weird oddity?

-yinyang

*clicks install*

Try this
this code in the headinclude template
PHP Code:

<script type="text/javascript" src="clientscript/statistic_java.js"></script

replace with this code
PHP Code:

<div style="display:none"><script type="text/javascript" src="clientscript/statistic_java.js"></script></div

@spinball
I will try to consider your suggestions with an update

@Torqued
You using a Portal, right?

PcFreak

yinyang 01-19-2005 08:17 AM

Quote:

Originally Posted by PcFreak
Try this
this code in the headinclude template
PHP Code:

<script type="text/javascript" src="clientscript/statistic_java.js"></script

replace with this code
PHP Code:

<div style="display:none"><script type="text/javascript" src="clientscript/statistic_java.js"></script></div

PcFreak

most excellent!!!

sv1cec 01-19-2005 08:24 AM

Most excellent hack. I was ready to hit Install a couple of hours ago, but we got a power failure here. So here it is.

One thing though. My forum's site domain is forum.m1911.org. In www.m1911.org there is another site, mine too of course, but I would like to exclude only the forum.m1911.org hits from the stats, not the ones from www.m1911.org.

When I try to enter the site's domain name in the options, it doesn't accept it, probably because you are trying to avoid people entering www.xxxxxx.com or whatever. However, if I can't do it, the stats I get would not be correct. Is there a way around it?

Tnx and rgds

PcFreak 01-19-2005 08:30 AM

Quote:

Originally Posted by fridayweb
Nice, added it a few minutes ago and it works great. :)

ADDED: One thing, when I saved my settings for the Domain name, it reloaded and showed me that the last two letters of my address were cut off:

"fridaythe13thforum.c"

Is that going to affect the program, or is that just a character display limit?

There is a character display limit of 25 spells.

You can change this manuelly
Run this query
PHP Code:

ALTER TABLE `statistic_settingCHANGE `setting_for` `setting_forVARCHAR40 NOT NULL 

40 is the new character display limit.

Or use the string "the13thforum.com", that will works, too.

Or antother way. Look in the installation_english.txt and read this part
HTML Code:

######################################################################
**********************************************************************
**If you want to exclude more than one domainname from beeing logged**
**********************************************************************
######################################################################

PcFreak

PcFreak 01-19-2005 08:44 AM

Quote:

Originally Posted by sv1cec
Most excellent hack. I was ready to hit Install a couple of hours ago, but we got a power failure here. So here it is.

One thing though. My forum's site domain is forum.m1911.org. In www.m1911.org there is another site, mine too of course, but I would like to exclude only the forum.m1911.org hits from the stats, not the ones from www.m1911.org.

When I try to enter the site's domain name in the options, it doesn't accept it, probably because you are trying to avoid people entering www.xxxxxx.com or whatever. However, if I can't do it, the stats I get would not be correct. Is there a way around it?

Tnx and rgds

You can use this string
"forum.m1911.org" as forum's site domain

PcFreak

sv1cec 01-19-2005 09:23 AM

Quote:

Originally Posted by PcFreak
You can use this string
"forum.m1911.org" as forum's site domain

PcFreak

Indeed, I can!!

I swear I tried it right after installation, and it kept coming back blank, but now it works!

Wonders!


All times are GMT. The time now is 06:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01598 seconds
  • Memory Usage 1,766KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (5)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete