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)

sv1cec 01-21-2005 05:03 AM

If I may offer a suggestion for future releases, one thing I believe every admin would love to see, is statistics about the URL used to leave from the site. For example, if someone has some advertising banners, the statistics on which banner the members clicked to leave from the forum, would be very welcome. Sort of ... invert-referrer.

If that could be added, it would make a lovely hack even better.

Rgds

Spinball 01-21-2005 08:46 AM

Morning fellows :)
Another database error:
Quote:

Database error in vBulletin 3.0.5:

Invalid SQL:
SELECT counter
FROM statistic_searchengine_keywords
WHERE keywords = 'vincent tac\'

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''vincent tac\'' at line 3

mysql error number: 1064

Date: Friday 21st of January 2005 08:00:14 AM
Script: http://www.avforums.com/forums/showt...tpost&t=176730
Referer: http://www.google.de/search?q=vincen...&start=20&sa=N
Username: Unregistered
IP Address: 52.159.30.203

Sir_Yaro 01-21-2005 10:06 AM

Quote:

Originally Posted by PcFreak

The statistic make a timestamp with your IP adress.
Your just logging (default) every 30 minutes

ooops! I wasnt clear - diferent hosts mean also diferent IP - i have access to 4 computer with shell accounts. So ip adresses are absolutelly diferrent.

Quote:

I cannot confirm. Works perfect for me.
please look at the picture

Ian Emu-UK 01-21-2005 10:13 PM

Quote:

Originally Posted by sv1cec
OK, I've find the problem with the icon in the search engines search strings. In the file statistic/sides/searchengines.php, you have this code:

PHP Code:

$et "<img src='statistic/images/misc/noaktiv.gif' alt='$vbphrase[vbstatistic_searchstring_alt]' width='20' height='20' />" 

This should be changed as shown below:

PHP Code:

$et "<img src='statistic/images/misc/noaktiv.gif' alt='$keyword_alt' width='20' height='20' />"

With this change, when the cursor hovers over the https://vborg.vbsupport.ru/external/2005/01/1.gif sign, you get the full search string.

Rgds

There is a similar problem in the refer.php too.

Find this (it's in the file twice replace both)
PHP Code:

$et "<img src='statistic/images/misc/noaktiv.gif' alt='$vbphrase[vbstatistic_refstring_alt]' border ='0' width='14' height='14' />"

and replace it with this
PHP Code:

$et "<img src='statistic/images/misc/noaktiv.gif' alt='$full_referer_alt' border ='0' width='14' height='14' />"

Thanks for the navbar fix sv1cec.

KW802 01-21-2005 10:48 PM

Quote:

Originally Posted by PcFreak
Not the statistic is the problem. It?s your portal.
vBadvanced is a really very good modification. But it is change so much the orginal vBulletin file structur.
At the moment i have no solution for this portal problem.

Huh? This hack works fine with vBadvanced CMPS. :ermm:

MikaK 01-22-2005 06:39 AM

Installed without a hitch on a heavily hacked 3.0.3:)

=Mika=

PcFreak 01-22-2005 09:36 AM

Quote:

Originally Posted by Spinball
Morning fellows :)
Another database error:

Ups...
One user had searched vincent tac\ in google.
Why someone use this sign \ for search something? :confused:
At the moment, i dont know really, how can i fix this.
This code does not function
PHP Code:

$keyword_found ereg_replace("\","",$keyword_found); 

but the php manual says this code is the same
PHP Code:

$keyword_found ereg_replace("\\","",$keyword_found); 

Well, try this
Find in statistic_searchengines.php
PHP Code:

    $keyword_found ereg_replace("'","",$keyword_found);      //Abfangen eines Fehlers der auftreten kann wenn ' Keyword vorkommt 

replace ist with
PHP Code:

    $keyword_found ereg_replace("'","",$keyword_found);      //Abfangen eines Fehlers der auftreten kann wenn ' Keyword vorkommt
    
$keyword_found ereg_replace("\\","",$keyword_found);      //Abfangen eines Fehlers der auftreten kann wenn \ Keyword vorkommt 

Possibly, this will fix this error.

@Sir_Yaro
I see this, when i call the side "10 most viewed threads" in your statistic. (see the image)

Quote:

Originally Posted by KW802
Huh? This hack works fine with vBadvanced CMPS.

Yep, for the most statistic users.
But i know that two users have problems if they use vBadvanced and the statistic together.

PcFreak

Sir_Yaro 01-22-2005 10:36 AM

Quote:

Originally Posted by PcFreak
@Sir_Yaro
I see this, when i call the side "10 most viewed threads" in your statistic. (see the image)

PcFreak

im sorry - i fixed permision for 'Not Logged In' users. Now you can see what i see... :)

But this is a minor problem. Im curious why Links & Lynx arent included in statistic...

PixelFx 01-22-2005 10:57 AM

Anyone have problems on vb3.0.6?

I was wondering if there is a way to add a stats, to show the average age of all members on the site?

PcFreak 01-22-2005 12:22 PM

Quote:

Originally Posted by Sir_Yaro
But this is a minor problem. Im curious why Links & Lynx arent included in statistic...

Because these browsers are very exotic.
I have not found a browserstamp (agent) to detect this browsers.
Lynx will detect with the agent "lynx" (you linx agent must use an other agent) and the browser "link" was unknown for me.
Never heard something about this browser. Sorry...
They logged under the point "not identified" browsers

PcFreak


All times are GMT. The time now is 03:10 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
  • Page Generation 0.01533 seconds
  • Memory Usage 1,763KB
  • 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
  • (8)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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