![]() |
vb3 Statistic Version 1.01
vb3 Statistic
Many people had ask me when i release this hack? The problem is, my english is bad and its hard for me, write a installations text. So everyone feel free to help me with the instructions. A live demo you found: http://at-lantis.de/statistik.php OK. Now we come to the hack. Please make a backup of your database, before installing this hack This hack will show you an extra side with some Stats. - show Summary stats - show the Browser/Os System of the users - show the countrys (countrys by Hoster and Countries by browserlanguage) - show the last 10 threads - show the last 20 top referers - show spiders and crawlers - Forum book of records (new) - Statistic for the last ten days (new) and many, many other interesting counts Files to edit Just one template New files 4 new php files 6 templates a lot (but very small) images Database changes six new tables I will try to give support for this hack BIG UPDATE ( to version 1.01) Upload a new zipfile 11. June 2004 Reason I have fix some bugs The images Bhutan will show now. (If you install the old version you must change in table _statistik_laender under id 31 the flagge_link for Bhutan from images/statistik/flaggen/butan.gif to images/statistik/flaggen/bhutan.gif manuelly)PcFreak New Statistic Version 2.0 is finish. I will release the new version later this day. I give no more support for the Version 1.01. |
holy crap!
/me clicks install! |
Quote:
[high]* Natch also click's install ...[/high] |
looks amazing... thanks a lot, this blows my own little stats hack out of the water...
|
Amazing....installs no problem, hopefully someone will take on the translation to English
|
When this is made to english, i will install
|
Ditto
Chet |
I will translate the templates and countrynames, later this day.
I promise it Give me just some hours to do this. Thank you PcFreak |
Good job :up:
Can you get browser window (size) statistics? |
I have seen something simular to this on another forum, only not as much info, I will install this when it's in English, thanks :)
|
Quote:
It?s possible. But just with java. But the most user have java not activated. PcFreak |
OK I couldn't wait :)
|
I got some free time so i would give a translation a shot if you would like? Also the file is not in the first post to be downloaded, was that intentional until the english translation?
|
don't translate hardcoded, put everything in language phrases, so we can all share and translate to our own languages, please!
|
Also it's a great hack, but you should code according to Web standards - those tempaltes will not validate :(
|
Great hack PCFreak - I'll wait for the English version too.
|
One other suggestion: is ther any chance that there can be an importer for the stats from Bane's vBStats ?
|
I've converted the templates to English, and also the countries names in the php file (well most of them :) ) although the countries names aren't showing right on my forum, but that could be because it hasn't updated yet.
Thanks for the hack pcfreak, hope you don't mind me translating it, sometimes when you convert German to English it kinda looses it's meaning, hopefully I've got the meaning right :) |
Quote:
get back to work on vBwar.. btw, just kidding on that web standards bit.. i don't want folks biting my head off for being like Microsoft.. :( |
Quote:
PcFreak |
Looks interesting, I will click install and try her out.
|
Sorry but i Have many SQL Errors.
one example Code:
SQL-Befehl : I have change it to "ue" but if I go to http//www.mydomain.de/statistik.php It shwow me this Code:
Datenbankfehler in vBulletin 3.0.1: |
I have one more problem,
the statistik line is too long, is there a way to make this short ? I must scroll very mutch, thas not so good :disappointed: |
@bigreefer
you have forgot this spell " ;" after ect...'; <- PHP Code:
Search in statistik.php for PHP Code:
PHP Code:
PHP Code:
PHP Code:
PcFreak |
Some database don´t work with Umlauds (Ä,Ö, Ü) ect.
I had change a little bit code and the querys witch has use umlauts (Zaehler_für is now Zaehler_fuer) Sorry for this mistake (zip.file is update) |
/me installs!!!
Thanks!!! |
where's sms.php????
|
actually now that i look at the statistik.php code, those changes were already made but it is still stretching the tables.
|
Quote:
I think i can hlep. :o PcFreak PS; Sorry, i mean statistik.php |
Is there any way this would work with vB 3.0? I havn't upgraded yet and dont plan to until more changes are made that what was in the last upgrade.
|
templates911: I'm runnin it on vb3.0.0 and it's fine besides the table stretching
PcFreak: It's the same tables in those screenshots, it's the avatar tables. http://forums.squareultima.com/statistik.php |
I have fix this problem
Udate the zip.file very soon PcFreak |
Okay, one problem I had was the referer links were fairly long, and were pushing the 'referer summary' box off the screen to the right. Here's how I fixed it:
in statistik.php, find Code:
$referer_summe = $top_referer['Zaehler']; Code:
$referer_short = substr($referer_adresse,0,50); Code:
<tr> Code:
<font face="Times New Roman">? by PcFreak</font> Code:
? by PcFreak see my example (I've cleaned up some other things as well - just to suite my taste) one thing that I'm still working on is the location that's reported in online.php. Currently, if you're viewing statistik.php, online.php reports "LOCATION UNKNOWN" with a link to statistik.php. |
To show the statistic in online.php
Open the file includes/functions_online.php find PHP Code:
PHP Code:
PHP Code:
PHP Code:
@58sniper Your Stats looks nice. I have no problem with the copyright. One ?PcFreak on you side is enough. (make me a little bit proud :cool: ) Thank you for this mod PcFreak |
Thanks. I've made that change (among others), and it's working fine.
Great hack! Also, something else that some might like: in the navbar template (in some themes, this could be in the header template instead): find Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if> Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> - <a href="$vboptions[bburl]/statistik.php?$session[sessionurl]">Statistics</a> -</if> |
Rather simple. Add most visitors @ hour ...
|
Do not referer you own domain.
In statsitik_counter find PHP Code:
So your own links are not showing in the top referer part. PcFreak |
A question before I install this...how many queries does this generate? On statistik.php? How many queries does it add to other forum parts, if any?
|
Quote:
Here is the time for my statistik.php Page generated in 0,42463 seconds with 35 queries, spending 0.0515158176422 doing MySQL queries and -0.0515158176422 doing PHP things. There are no other queries to other forum parts PcFreak |
Quote:
this was the ultimate stat page, anyway to mod one like this.. https://vborg.vbsupport.ru/showthread.php?t=41421 |
All times are GMT. The time now is 04:49 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:
|