Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB3 Boardstatistic Version 2 Details »»
vB3 Boardstatistic Version 2
Version: 1.00, by PcFreak PcFreak is offline
Developer Last Online: Mar 2015 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-01-2004 Last Update: 08-28-2004 Installs: 184
DB Changes
 
No support by the author.

no more support for statistic version 2



In the next days we will release a new statistic Version (vB Statistic 3).
For this reason I give from today on, no more support for the Statistic Version 2

This version is bigger, faster and we want to publish the statistic in two languages. (german and english).


In order to use the new Statistic Version, the old version must be unfortunately removed.

A deinstallation script you found here >> https://vborg.vbsupport.ru/showpost....47&postcount=2

For a first impression

You find a English demonstration of the Statistic here >> http://at-lantis.de/statistic.php

You find a German demonstration of the Statistic here >> http://boardszene.de/statistic.php

May someone will translate our Phrases from the new version 3.0 into other languages. If you are interested please send me or Onkel_Tom a PM with your eMail Address and we will sent you the phrases file in english to be translated into other languages.

The vB Statistic is free. However, if you would like to donate a small amount, feel free.

  • Statistic Version 3 have more as 7000 Lines of code and possibly, one of the largest Hacks that was ever written for vBulletin.
  • More as 450 different images
  • 46 new Templates are provided
  • More than 350 phrases are needed.
  • Everything is completely adjustable over the AdminCp
  • More than 350 phrases are needed.
  • No much server load. Maximally 5 querys for logging. (normal 3 querys.)
  • The start side of the statistics needs approx. 15 querys (only if this is indicated)
  • More than 350 phrases are needed.
  • Possibility for later updates (e.g. new Spider and Crawler implements)
  • The installation is very, very simply, been made by an installscript and does not need more than 30 seconds. All attitudes and changes take maximally 5 minutes.
  • no changes of the existing vBulletin data base tables
  • 15 new data base tables with more than 1100 inserts are provided
  • Support for international time formats implements.
  • Detect now browser plugins, resolutions and more with javascript.
  • vB Statistic Version 3 show Information about your System on a special side.
  • Detect now browser plugins, resolutions and more with javascript

More Infos soon
PcFreak

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 08-22-2004, 08:00 PM
Ian Emu-UK Ian Emu-UK is offline
 
Join Date: Jul 2002
Location: UK
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Onkel_Tom
Sorry, it's not the PHP version !
We need the MySQL Version

I've never tried to name a database with "-", mine are always with "_" in the name and it works.

Do you use also table prefixes for your tables ?
You can try this:

find in statistik.php:
Code:
LIKE 'pm'
and replace it with:
Code:
LIKE " . TABLE_PREFIX . "'pm'
MySQL on my test home server is the latest, and on my site server it's 4.0.16.

It still said the same after I altered the part you said to, but I removed the "FROM $dbname" bit from the query and now it works and gives the size for the PM table.

Is that part un-needed or will I run into problems having removed it at some point?

Thanks for your help Onkel_Tom
Reply With Quote
  #193  
Old 08-22-2004, 08:21 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ian Emu-UK
... I removed the "FROM $dbname" bit from the query and now it works and gives the size for the PM table.

Is that part un-needed or will I run into problems having removed it at some point?
This is not a problem because we are still in this database. The MySQL syntax mentioned to give the database with this command but if we are not outside this db it's not a problem
I will fixed this also in the next release !

Thanks for your help to get this hack working

Hope more people will install this hack and give a click in the "hack of the month August " section for this very nice work from PcFreak.
Reply With Quote
  #194  
Old 08-22-2004, 09:40 PM
iceman-x iceman-x is offline
 
Join Date: Nov 2002
Location: NOrWAY
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
SELECT Summe as Datum
FROM statistik_zaehler
WHERE Zaehler_fuer = 'Statistik_Aktiv'
        
mysql error: Table 'elitesat_elite.statistik_zaehler' doesn't exist

mysql error number: 1146

Date: Sunday 22nd of August 2004 03:33:14 PM
The table fix workt perfekt. but now i goth a new problem. it keep looking for the old tabel. I tryed to deleted alle the tabel. and reinstalled. but dident work.

It look like the statistik work. the error apers when i am trying to enter the admin opitons. "statistikadmin.php?do=statistik_general"
Reply With Quote
  #195  
Old 08-22-2004, 10:18 PM
iceman-x iceman-x is offline
 
Join Date: Nov 2002
Location: NOrWAY
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found the ansvare to the problem. In the "statistikadmin.php"

i canged this..

Find this
Code:
	$statistikaktiv = $DB_site->query("
		SELECT Summe as Datum
		FROM statistik_zaehler
		WHERE Zaehler_fuer = 'Statistik_Aktiv'
        ");
and replaced whit this.
Code:
	$statistikaktiv = $DB_site->query("
		SELECT Summe as Datum
		FROM " . TABLE_PREFIX . "statistik_zaehler
		WHERE Zaehler_fuer = 'Statistik_Aktiv'
        ");
and then it works fine.

thanks for all the help.
Reply With Quote
  #196  
Old 08-22-2004, 10:32 PM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I took a few hours and worked through all the MySQL errors and it seems to work except for Browser & Operating System Stats. See my attachment. I know not EVERYONE is using "Other" for a browser. Did I miss something on the install?
Reply With Quote
  #197  
Old 08-22-2004, 11:23 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Iceman-X

thanks for the hint of another missing table_prefix

@ Wential
Browsers and OS are identified from the file /includes/functions_statistik.php so please check if this file is in that directory.
In that file the the Browsers are identified by getenv("HTTP_USER_AGENT") and a listing with the Browsernames.

Is only Browsertyp and OS version not identified by the statistics ?
Reply With Quote
  #198  
Old 08-23-2004, 12:08 AM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I missed replacing the " . TABLE_PREFIX . " with vb3_ in that file. Hopefully it will start showing up now. And yes, that was the only part that wasn't filling in with data. You're assistance is much appreciated.
Reply With Quote
  #199  
Old 08-23-2004, 12:30 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your welcome

If the script still not identify the browsers and OS try this.

open file functions_statistik.php from Directory /includes and find:
Code:
$agent = getenv("HTTP_USER_AGENT");
replace it with this syntax:
Code:
$agent = $_SERVER['HTTP_USER_AGENT'];
for the $_SERVER Syntax you must have at least php 4.1.0 installed on your server
Reply With Quote
  #200  
Old 08-23-2004, 01:18 AM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The first solution didn't work after waiting an hour. I'm trying your second $_SERVER fix now. I'm running MYSQL 4.0.18 and PHP 4.3.6 so hopefully it will work. I hope it's not a problem that I run my own local Windows 2003 servers on a dedicated T-3 line. You wouldn't believe how many things (VB related) are designed around Apache. Yuck!
Reply With Quote
  #201  
Old 08-23-2004, 01:19 AM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Darn that was fast. It works perfectly now! Onkel Tom, you're a genius!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:30 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.05251 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete