The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB3 Boardstatistic Version 2 Details »» | |||||||||||||||||||||||||
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.
More Infos soon PcFreak Show Your Support
|
Comments |
#202
|
||||
|
||||
You can also easy test the function by this small php script.
Just copy ist to a file on your server like browsertest.php and run it from your Browser to see what is the output PHP Code:
|
#203
|
||||
|
||||
Don't forget to change also the same line in file statistic_counter.php at line 26 !!!
It should read in your case as: Code:
$browserstamp = $_SERVER['HTTP_USER_AGENT']; |
#204
|
|||
|
|||
Quote:
|
#205
|
||||
|
||||
On both version 1 and this version some of the most popular user countries don't show for me. I have remote countries like the Seychelles listed but not the UK/US.
... The English templates still need a lot of work, and it's not just the language. The notation isn't consistant. For example some statistic fields have a : after them and others do not. Here's my updated STATISTIC template: Code:
$statistic_header <script language="JavaScript" type="text/javascript"> <!-- var win=null; function NewWindow(mypage,myname,w,h,scroll,pos){ if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;} if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20} settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no'; win=window.open(mypage,myname,settings);} // --> </script> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="2"><div align="center"><strong>Statistic Overview</strong></div></td> </tr> <tr> <td class="panelsurround"> <div class="panel"> <fieldset class="fieldset"> <legend><strong>Topics/Threads/Users</strong></legend> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]"> <tr> <td colspan="2"> </td> </tr> <tr> <td class="alt2">Threads:</td> <td class="alt2">$Themen</td> </tr> <tr> <td>Posts:</td> <td>$Beitraege</td> </tr> <tr> <td class="alt2">Thread Views:</td> <td class="alt2">$Beitraege_gelesen (? $Beitraege_durchschnitt times)</td> </tr> <tr> <td>Registered Members:</td> <td>$Member</td> </tr> <tr> <td class="alt2">Visitors:</td> <td class="alt2">$Besucher*</td> </tr> <tr> <td>Side Calls:</td> <td>$Seitenaufrufe*</td> </tr> <tr> <td class="tcat" colspan="2"><div align="center">* - Since Statistics Started on $statistikaktiv</div></td> </tr> <tr> <td colspan="2"> </td> </tr> </table> </fieldset> </div> <div class="panel"> <fieldset class="fieldset"> <legend><strong>User Activity</strong></legend> <table width="95%" border="0" align="center"> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2" width="30%">Active users: </td> <td class="alt2" width="70%">$aktive_user_prozent % ($aktive_user) on this forum have posted*</td> <td class="alt2" width="70%"> <img src="images/statistik/bar5.gif" alt="Active user" width="$aktive_user_bar" height="10" border="0" /></td> </tr> <tr> <td>Not active Users: </td> <td>$unaktive_user_prozent % ($alle_unaktiven_user) on this forum have never posted*</td> <td> <img src="images/statistik/bar10.gif" alt="Not active User" width="$unaktive_user_bar" height="10" border="0" /></td> </tr> <tr> <td> </td> <td colspan="2" class="tcat"><div align="center">*Since $vboptions[bbtitle] is online</div></td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td class="tfoot" colspan="3"><div align="center">Visits of registered Members for the last 30, 14 and 7 days </div></td> </tr> <tr> <td class="alt2">The last 30 days:</td> <td class="alt2"colspan="2"> <img src="images/statistik/bar1.gif" alt="Besuche von registrierten Membern f?r die letzten 30 days" width="$bar_aktiv_user1" height="10" border="0" /> $aktiven_user1_prozent % ($aktiven_user1)</td> </tr> <tr> <td>The last 14 days:</td> <td colspan="2"> <img src="images/statistik/bar2.gif" alt="Besuche von registrierten Membern f?r die letzten 14 days" width="$bar_aktiv_user2" height="10" border="0" /> $aktiven_user2_prozent %($aktiven_user2)</td> </tr> <tr> <td class="alt2">The last 7 days:</td> <td class="alt2"colspan="2"> <img src="images/statistik/bar3.gif" alt="Besuche von registrierten Membern f?r die letzten 7 days " width="$bar_aktiv_user3" height="10" border="0" /> $aktiven_user3_prozent %($aktiven_user3)</td> </tr> <tr> <td>Not visited $vboptions[bbtitle] for more then 30 days:</td> <td colspan="2"> <img src="images/statistik/bar4.gif" alt="$vboptions[bbtitle] l?nger als 30 days nicht mehr besucht!" width="$bar_aktiv_user4" height="10" border="0" /> $aktiven_user4_prozent % ($aktiven_user4) </td> </tr> <tr> <td colspan="3"> </td> </tr> </table> </fieldset> </div> <div class="panel"> <fieldset class="fieldset"> <legend><strong>Private Messages </strong></legend> <table width="95%" border="0" align="center"> <tr> <td colspan="2"> </td> </tr> <tr> <td class="alt2">All written PMs:</td> <td class="alt2">$PMS</td> </tr> <tr> <td>All PMs in the database:</td> <td>$alle_pm ($pm_ungelesen unread)</td> </tr> <tr> <td class="alt2">Space Used by PMs:</td> <td class="alt2">$pm_speicher_in_kb kb ($pm_speicher_in_mb mb)</td> </tr> <tr> <td colspan="2"> </td> </tr> </table> </fieldset> </div> <div class="panel"> <fieldset class="fieldset"> <legend><strong>Database</strong></legend> <table width="95%" border="0" align="center"> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/database.gif" alt="Database Size" width="14" height="14" border="0" /></td> <td class="alt2">Database Size:</td> <td class="alt2">$datenbank_in_kb KiloBytes ($datenbank_in_mb Mb)</td> </tr> <tr> <td><img src="images/statistik/misc/serverinfo.gif" alt="Server Info" width="14" height="14" border="0" /></td> <td>Server Info:</td> <td>$serverinfo</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/mysqlinfo.gif" alt="MYSQL Version" width="14" height="14" border="0" /></td> <td class="alt2">MYSQL Version:</td> <td class="alt2">$mysqlversion</td> </tr> <tr> <td><img src="images/statistik/misc/smilie.gif" alt="Smilies" width="14" height="14" border="0" /></td> <td>Smilies:</td> <td>$alle_smilies total</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/anhaenge.gif" alt="Stored Attachments" width="14" height="14" border="0" /></td> <td class="alt2">Stored Attachments:</td> <td class="alt2">$alle_anhaenge</td> </tr> <tr> <td><img src="images/statistik/misc/anhaenge1.gif" alt="Space Used by Attachments" width="14" height="14" border="0" /></td> <td>Space Used by Attachments:</td> <td>$anhaenge_speicher_in_kb KiloBytes ($anhaenge_speicher_in_mb Mb)</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/auge.gif" alt="Attachments Viewed / Downloaded" width="14" height="14" border="0" /></td> <td class="alt2">Attachments Viewed / Downloaded:</td> <td class="alt2">$alle_downloads times</td> </tr> <tr> <td colspan="3"> </td> </tr> </table> </fieldset> </div> </td> <td valign="top" class="panelsurround"> <div class="panel"> <fieldset class="fieldset"> <legend><strong>The 5 Top Posters</strong></legend> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]"> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/goldmedal.gif" alt="Gold Medal Winner" width="14" height="14" border="0" /></td> <td class="alt2"><a title="Show $postername1's profile" href="member.php?u=$posterid1"> $postername1</a></td> <td class="alt2"><img src="images/statistik/bar1.gif" alt="Gold Medal Winner" width="$maxposter1_bar" height="10" border="0" /> with $poster_beitragszahl1 posts ($maxposter1_prozent %)</td> </tr> <tr> <td><img src="images/statistik/misc/silvermedal.gif" alt="Silver Medal Winner" width="14" height="14" border="0" /></td> <td><a title="Show $postername2's profile" href="member.php?u=$posterid2"> $postername2</a></td> <td><img src="images/statistik/bar2.gif" alt="Silver Medal Winner" width="$maxposter2_bar" height="10" border="0" /> with $poster_beitragszahl2 posts ($maxposter2_prozent %)</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/bronzemedal.gif" alt="Bronce Medal Winner" width="14" height="14" border="0" /></td> <td class="alt2"><a title="Show $postername3's profile" href="member.php?u=$posterid3"> $postername3</a></td> <td class="alt2"><img src="images/statistik/bar3.gif" alt="Bronze Medal Winner" width="$maxposter3_bar" height="10" border="0" /> with $poster_beitragszahl3 posts ($maxposter3_prozent %)</td> </tr> <tr> <td><img src="images/statistik/misc/ananas.gif" alt="Golden pineapple" width="14" height="14" border="0" /></td> <td> <a title="Show $postername4's profile" href="member.php?u=$posterid4"> $postername4</a></td> <td><img src="images/statistik/bar4.gif" alt="Golden pineapple" width="$maxposter4_bar" height="10" border="0" /> with $poster_beitragszahl4 posts ($maxposter4_prozent %)</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/lollipop.gif" alt="Lollipop" width="14" height="14" border="0" /></td> <td class="alt2"><a title="Show $postername5's profile" href="member.php?u=$posterid5"> $postername5</a></td> <td class="alt2"><img src="images/statistik/bar5.gif" alt="Just a Lollipop" width="$maxposter5_bar" height="10" border="0" /> with $poster_beitragszahl5 posts ($maxposter5_prozent %)</td> </tr> <tr> <td colspan="3"><br />These members have a combined total of $maxposter_summe posts!!<br /> <a onclick="NewWindow(this.href,'statistik','640','480','yes','center');return false" onfocus="this.blur()" title="Show the $topposter_limit Top Poster in a PopUp Window" href="statistik.php?do=topposter_popup"> Show $topposter_limit Top Posters</a> </td> </tr> <tr> <td colspan="3"> </td> </tr> </table> </fieldset> </div> <div class="panel"> <fieldset class="fieldset"> <legend><strong>Other Records</strong></legend> <table width="95%" border="0" align="center"> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/antworten.gif" alt="Largest Thread" width="14" height="14" border="0" /> </td> <td class="alt2">Largest Thread:</td> <td class="alt2"><a title="$maxthread_titel_long" href="showthread.php?threadid=$maxthread_id">$maxthread_titel</a> <br /> with <strong>$maxthread_antworten</strong> replies<br/> <a onclick="NewWindow(this.href,'statistik','640','480','yes','center');return false" onfocus="this.blur()" title="Show the $maxthread_limit Threads in a PopUp Window" href="statistik.php?do=maxthread_popup"> Show $maxthread_limit Threads (PopUp Window)</a></td> </tr> <tr> <td><img src="images/statistik/misc/ansehen.gif" alt="Most Popular Thread" width="14" height="14" border="0" /></td> <td>Most Popular Thread: </td> <td><a title="$mostpopular_titel_long" href="showthread.php?threadid=$mostpopular_id">$mostpopular_titel</a> <br /> with <strong>$mostpopular_views</strong> views<br/> <a onclick="NewWindow(this.href,'statistik','640','480','yes','center');return false" onfocus="this.blur()" title="Show the $mostpopular_limit most Popular Threads in a PopUp Window" href="statistik.php?do=mostpopular_popup"> Show the $mostpopular_limit Most Popular Threads</a></td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/poular_forum.gif" alt="Most Popular Forum:" width="14" height="14" border="0" /></td> <td class="alt2">Most Popular Forum:</td> <td class="alt2"><a title="$popularforum_titel" href="forumdisplay.php?forumid=$popularforum_id">$popularforum_titel</a> <br /> with <strong>$popularforum_antworten</strong> posts<br/> <a onclick="NewWindow(this.href,'statistik','640','480','yes','center');return false" onfocus="this.blur()" title="Show the $popularforum_limit Most Popular Forums in a PopUp Window" href="statistik.php?do=popularforum_popup"> Show the $popularforum_limit Most Popular Forums</a></td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td class="tcat" colspan="3"><div align="center">Absolute records</div></td> </tr> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2"> <img src="images/statistik/misc/mostonline.gif" alt="Most users ever online" width="14" height="14" border="0" /></td> <td class="alt2" colspan="2">Most users ever online was <strong>$maxusers[maxonline]</strong>,<strong>$recorddate</strong> at <strong>$recordtime </strong></td> </tr> <tr> <td><img src="images/statistik/misc/newusers.gif" alt="Most new registrations" width="14" height="14" border="0" /></td> <td colspan="2">Most new registrations was <strong>$getmostregister_tag</strong> with <strong>$getmostregister_user New Members</strong> <br /> <a onclick="NewWindow(this.href,'statistik','440','480','yes','center');return false" title="Show the $popularforum_limit days with the Most new registrations in a PopUp Window" href="statistik.php?do=mostregister_popup"> Show $mostregister_limit days</a> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/onlines.gif" alt="Most registered Member visited" width="14" height="14" border="0" /></td> <td class="alt2" colspan="2">Most registered member visits was <strong>$getmost_member_tag</strong> with <strong>$getmost_member_user</strong> Members<br /> <a onclick="NewWindow(this.href,'statistik','540','480','yes','center');return false" title="Show the $visit_limit days with the most registered Member visited in a PopUp Window" href="statistik.php?do=visit_popup"> Show $visit_limit days</a> </td> </tr> <tr> <td><img src="images/statistik/misc/threads.gif" alt="written the most new threads" width="14" height="14" border="0" /></td> <td colspan="2">Most new threads was <strong>$getmost_threads_tag</strong> with <strong>$getmost_threads_sum</strong> New Threads <br /> <a onclick="NewWindow(this.href,'statistik','540','480','yes','center');return false" onfocus="this.blur()" title="Show the $mostthread_limit days written the most new threads in a PopUp Window" href="statistik.php?do=mostthread_popup"> Show $mostthread_limit days</a> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/posts.gif" alt="Written the most new posts" width="14" height="14" border="0" /></td> <td class="alt2"colspan="2">Most new posts was <strong>$getmost_posts_tag</strong> with <strong>$getmost_posts_sum</strong> New Posts<br /> <a onclick="NewWindow(this.href,'statistik','540','480','yes','center');return false" onfocus="this.blur()" title="Show the $mostpost_limit days with the most new posts in a PopUp Window" href="statistik.php?do=mostpost_popup"> Show $mostpost_limit days</a> </td> </tr> <tr> <td colspan="3"> </td> </tr> </table> </fieldset> </div> <div class="panel"> <fieldset class="fieldset"> <legend><strong>Avatars / Profile Pics</strong></legend> <table width="95%" border="0" align="center"> <tr> <td colspan="3"> </td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/noavatar.gif" alt="Users Without Avatar" width="14" height="14" border="0" /></td> <td class="alt2">Users Without Avatar: </td> <td class="alt2"><img src="images/statistik/bar1.gif" alt="Users Without Avatar" width="$kein_avatarbar" height="10" border="0" /> $prozent_avatar % ($kein_avatar)</td> </tr> <tr> <td><img src="images/statistik/misc/mit_avatar.gif" alt="Users with Avatar" width="14" height="14" border="0" /></td> <td>Users with Avatar: </td> <td><img src="images/statistik/bar2.gif" alt="Users with Avatar" width="$mit_avatarbar" height="10" border="0" /> $prozent_mit_avatar % ($alle_avatars)</td> </tr> <tr> <td class="alt2"><img src="images/statistik/misc/noavantar.gif" alt="Users Without Profile Pic" width="14" height="14" border="0" /></td> <td class="alt2">Users Without Profile Pic: </td> <td class="alt2"><img src="images/statistik/bar3.gif" alt="Users Without Profile Pic" width="$kein_profilpicbar" height="10" border="0" /> $prozent_profilpic % ($kein_profilpic)</td> </tr> <tr> <td><img src="images/statistik/misc/mit_profil.gif" alt="Users with Profile Pic" width="14" height="14" border="0" /></td> <td>Users with Profile Pic: </td> <td><img src="images/statistik/bar4.gif" alt="Users with Profile Pic" width="$mit_profilpicbar" height="10" border="0" /> $prozent_mit_profilpic % ($alle_profilpics)</td> </tr> <tr> <td colspan="3"> </td> </tr> </table> </fieldset> </div> </td> </tr> <tr> <td class="tcat" colspan="2"> </td> </tr> </table> $statistic_footer |
#206
|
||||
|
||||
Quote:
Countries are identified by the following lines in function_statistik.php Code:
$ip = $_SERVER['REMOTE_ADDR']; $fullhost = gethostbyaddr($ip); Code:
$sprache = $_SERVER['HTTP_ACCEPT_LANGUAGE']; btw. you are using the old template STATISTICS which has more missed translations than my new one... and sorry for that, we are germans which are not english professionals but we are understanding english as well For the notation I will update missing ":" in the next update. |
#207
|
||||
|
||||
Oh I don't expect you Germans to translate it to English at all. You've done admirably to even have a remote English version. I was just surprised with such a popular hack, that there hasn't been more member support to get it fully translated. Fortunately I still remember some German.
|
#208
|
||||
|
||||
Incidentally I'm using PHP 4.3.8 / MySQL 4.0.20-standard
Here's my URL: http://www.gamercrossfire.net/bb/sta...p?do=countries |
#209
|
|||
|
|||
Yeah after 10+ hours of stats collecting, I don't have any USA listings either. The UK one seems to be working though.
|
#210
|
||||
|
||||
Now I have England showing under browser language, but not visitor host. My host is English.
|
#211
|
||||
|
||||
Can you please check what is the output of this script on your browser wenn you upload a file with this content:
PHP Code:
Code:
IP Adress: 80.131.xxx.xxx full hostname: pxxxxxx.dip0.t-ipconnect.de only end of hostname: *.dip0.t-ipconnect.de country of hoster(provider): .de your language: de |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|