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
  #212  
Old 08-23-2004, 01:00 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on it. In the meantime here's a new English STATISTIC template for you based on the english2.zip file (last update before this post).

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+',scr  ollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,re  sizable=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/Hits</strong></legend>
	<table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]">

<tr>
    <td colspan="2">&nbsp;</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>Website Hits:</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">&nbsp;</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">&nbsp;</td>
</tr>

<tr>
   <td class="alt2" width="30%">Active users: </td>
   <td class="alt2" width="70%">$aktive_user_prozent % ($aktive_user) have posted*</td>
   <td class="alt2" width="70%"> <img src="images/statistik/bar5.gif" alt="Users which have posted on this board" width="$aktive_user_bar" height="10" border="0" /></td>
</tr>

<tr>
    <td>Inactive Users: </td>
    <td>$unaktive_user_prozent % ($alle_unaktiven_user) have never posted*</td>
    <td> <img src="images/statistik/bar10.gif" alt="Users which never posted on this board" width="$unaktive_user_bar" height="10" border="0" /></td>
</tr>

<tr>
    <td>&nbsp;</td>
    <td colspan="2" class="tcat"><div align="center">*Since $vboptions[bbtitle] came online</div></td>
</tr>

<tr>
    <td colspan="3">&nbsp;</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="Visits from registered Members in the last 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="Visits from registered Members in the last 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="Visits from registered Members in the last 7 days" width="$bar_aktiv_user3" height="10" border="0" />
    $aktiven_user3_prozent %($aktiven_user3)</td>
</tr>

<tr>
    <td>No visit in the last 30 days:</td>
    <td colspan="2">
    <img src="images/statistik/bar4.gif" alt="Members which has not visited $vboptions[bbtitle] for more than 30 days!" width="$bar_aktiv_user4" height="10" border="0" />
     $aktiven_user4_prozent % ($aktiven_user4) </td>
</tr>

<tr>
    <td colspan="3">&nbsp;</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">&nbsp;</td>
</tr>

<tr>
    <td class="alt2">Total PMs written:</td>
    <td class="alt2">$PMS</td>
</tr>

<tr>
    <td>Total PMs stored in database:</td>
    <td>$alle_pm ($pm_ungelesen unread)</td>
</tr>

<tr>
   <td class="alt2">Memory used by PMs:</td>
   <td class="alt2">$pm_speicher_in_kb kb ($pm_speicher_in_mb mb)</td>
</tr>

<tr>
    <td colspan="2">&nbsp;</td>
</tr>

	</table>
	</fieldset>
	</div>

	<div class="panel">
	<fieldset class="fieldset">
    <legend><strong>Database and Server</strong></legend>
    <table width="95%" border="0" align="center">

<tr>
    <td colspan="3">&nbsp;</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 kb ($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 Information:</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>Usable 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>Memory used by Attachments:</td>
    <td>$anhaenge_speicher_in_kb kb ($anhaenge_speicher_in_mb mb)</td>
</tr>

<tr>
    <td class="alt2"><img src="images/statistik/misc/auge.gif" alt="Attachments viewed or downloaded" width="14" height="14" border="0" /></td>
    <td class="alt2">Attachments Hits:</td>
    <td class="alt2">$alle_downloads times</td>
</tr>

<tr>
    <td colspan="3">&nbsp;</td>
</tr>

	</table>
	</fieldset>
	</div>
	</td>

	<td valign="top" class="panelsurround">
	<div class="panel">
	<fieldset class="fieldset">
	<legend><strong>The Top 5 Posters</strong></legend>
	<table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]">

<tr>
    <td colspan="3">&nbsp;</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="Bronze 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="Just a 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="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 Posters in a PopUp Window" href="statistik.php?do=topposter_popup">
	Show Top $topposter_limit Posters (PopUp Window)</a>
	</td>
</tr>

<tr>
    <td colspan="3">&nbsp;</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">&nbsp;</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 (PopUp Window)</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 (PopUp Window)</a></td>
</tr>

<tr>
     <td colspan="3">&nbsp;</td>
</tr>

<tr>
    <td class="tcat" colspan="3"><div align="center">Absolute Records</div></td>
</tr>

<tr>
	<td colspan="3">&nbsp;</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>, on <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 on  <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 (PopUp Window)</a>
    </td>
</tr>

<tr>
   <td class="alt2"><img src="images/statistik/misc/onlines.gif" alt="Most registered members visited" width="14" height="14" border="0" /></td>
   <td class="alt2" colspan="2">Most visits by registered members was on  <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 when the most registered members visited in a PopUp Window" href="statistik.php?do=visit_popup">
	Show $visit_limit days (PopUp Window)</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 posted was on  <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 with the most new threads posted in a PopUp Window" href="statistik.php?do=mostthread_popup">
	Show $mostthread_limit days (PopUp Window)</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 written was on  <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 (PopUp Window)</a>

    </td>
</tr>

<tr>
    <td colspan="3">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>

	</table>
	</fieldset>
	</div>
	</td>
	</tr>

<tr>
    <td class="tcat" colspan="2">&nbsp;</td>
</tr>

	</table>

$statistic_footer
Reply With Quote
  #213  
Old 08-23-2004, 01:04 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Can you please check what is the output of this script on your browser...
Code:
IP Adress: xxx.xx.xx.xx
full hostname: hostxxx-xx-xx-xx.rangexxx-xx.btcentralplus.com
only TLD of hostname: *.rangexxx-xx.btcentralplus.com
country of hoster(provider): .com
your language: en-us,en;q=0.5
(That's with and without my ZoneAlarm Security Suite switched on.)
Reply With Quote
  #214  
Old 08-23-2004, 01:13 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what happens if your are changing the following line in file functions_statistik.php

search for:
Code:
elseif(ereg("us", $sprache))$browser_sprache="UnitedStates";
and replace by:
Code:
elseif(ereg("en-us", $sprache))$browser_sprache="UnitedStates";
Reply With Quote
  #215  
Old 08-23-2004, 01:17 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It still isn't showing America. I'll leave the file like that until directed otherwise and give you the link: http://www.gamercrossfire.net/bb/sta...p?do=countries
(Note: STATISTIC template updated in above post.)

Just a couple of things in some other templates I ironed out;

statistic_polls:

Code:
$statistic_header
<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>Polls / Stickys /
        Searchwords</strong></div></td>
  </tr>
  <tr>
    <td colspan="2"> <div class="panel">
        <fieldset class="fieldset">
        <legend><strong>The last $poll_limit Polls</strong></legend>
        <div align="center">
          <table width="95%" border="0">
            <tr>
              <td class="thead"><div align="center"><strong>Title</strong></div></td>
              <td class="thead"><div align="center"><strong>Starter</strong></div></td>
              <td class="thead"><div align="center"><strong>Poll</strong></div></td>
              <td class="thead"><div align="center"><strong>Date</strong></div></td>
              <td class="thead"><div align="center"><strong>Answer possibilities</strong></div></td>
              <td class="thead"><div align="center"><strong>Voted</strong></div></td>
              <td class="thead"><div align="center"><strong>Opened</strong></div></td>
              <td class="thead"><div align="center"><strong>Ends</strong></div></td>
              <td class="thead"><div align="center"><strong>Multiple choice</strong></div></td>
              <td class="thead"><div align="center"><strong>Public</strong></div></td>
              <td class="thead"><div align="center"><strong>Views</strong></div></td>
            </tr>
            $statistic_polls_bit
          </table>
          <table width="95%" border="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td class="thead"><div align="right"><img src="images/statistik/misc/daumenhoch.gif" alt="activ" width="15" height="15" />
                  active <img src="images/statistik/misc/daumenrunter.gif" alt="inactive" width="15" height="15" />
				inactive</div></td>
            </tr>
          </table>
        </div>
        </fieldset>
      </div></td>
  </tr>
  <tr>
    <td valign="top"> <div class="panel">
        <fieldset class="fieldset">
        <legend><strong>The last $sticky_limit sticky threads</strong></legend>
        <table width="95%" border="0" align="center">
          <tr>
            <td colspan="4">&nbsp;</td>
          </tr>
          <tr>
            <td class="thead"><div align="center"><strong>Title</strong></div></td>
            <td class="thead"><div align="center"><strong>Author</strong></div></td>
            <td class="thead"><div align="center"><strong>Date</strong></div></td>
            <td class="thead"><div align="center"><strong>views</strong></div></td>
          </tr>
          $statistic_sticky_bit
        </table>
        </fieldset>
      </div>
      </td>
    <td valign="top"> <div class="panel">
        <fieldset class="fieldset">
        <legend><strong>The latest&nbsp; $search_limit Searchwords (Big Brother is watching you)</strong></legend>
        <table width="95%" border="0" align="center">
          <tr>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
            <td class="thead"><div align="center"><strong>Search word</strong></div></td>
            <td class="thead"><div align="center"><strong>searched on</strong></div></td>
            <td class="thead"><div align="center"><strong>needed time to find</strong></div></td>
          </tr>
          $statistic_search_bit
        </table>
      <table width="95%" border="0" align="center">
        <tr>
          <td><div align="right"><img src="images/statistik/misc/bag.gif" alt="This was a search for latest threads (Not a real search query)" width="20" height="21" border="0" />
              Search for latest threads (Not a real search query)</div></td>
        </tr>
      </table>
        </fieldset>
      </div>
</td>
  </tr>
  <tr>
    <td class="tcat" colspan="2">&nbsp;</td>
  </tr>
</table>

$statistic_footer
statistic_last_x_days
Code:
 $statistic_header

<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>Statistics for the
		last $xtage_limit days and the last $xthemen_limit threads</strong></div></td>
  </tr>
  <tr>
<td valign="top" class="panelsurround">
    <div class="panel">
	<fieldset class="fieldset">
        <legend><strong>The last $xtage_limit days</strong></legend>

        <table width="95%" border="0" cellpadding="0" cellspacing="$stylevar[formspacer]">
          <tr>
            <td class="thead"><div align="center"><strong>Date</strong></div></td>
            <td class="thead"><div align="center"><strong>New Registrations</strong></div></td>
            <td class="thead"><div align="center"><strong>New Threads</strong></div></td>
            <td class="thead"><div align="center"><strong>New Posts</strong></div></td>
            <td class="thead"><div align="center"><strong>Registered Members Visits</strong></div></td>
          </tr>
          $statistic_last_x_result_bit
        </table>
		</fieldset>
		</div>
</td>

<td valign="top" class="panelsurround">
     <div class="panel">
	<fieldset class="fieldset">
    <legend><strong>The last $xthemen_limit threads</strong></legend>
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]">
    <tr>
            <td class="thead"><div align="center"><strong>Date</strong></div></td>
    </tr>
          $statistic_last_x_threads_bit
        </table>
       </fieldset>
	</div>
</td>
  </tr>
  <tr>
    <td class="tcat" colspan="2">&nbsp;</td>
  </tr>
</table>

$statistic_footer
I think that's most grammatical discrepancies dealt with now.
Reply With Quote
  #216  
Old 08-23-2004, 01:53 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I think I found the problem !
The countrynames in table "statistik_laender" are not identical with the Names given in file "functions_statistik.php"
So the query
Code:
$DB_site->query("
		UPDATE " . TABLE_PREFIX . "statistik_laender
		SET Zaehler_Browsersprache   = Zaehler_Browsersprache  +1
		WHERE (Name_Land  = '$browser_sprache')
		");
can't work while trying to compare "Name_Land" with "$browser_sprache"....

Zelda-King, if you can do me favour, please replace the following line in file functions_statistik.php:
Code:
elseif(ereg("us", $sprache))$browser_sprache="UnitedStates";
with:
Code:
elseif(ereg("us", $sprache))$browser_sprache="United States";
and try if it works. The problem only occur on countries with 2 separated words like United States, United Kingdom etc.
Countries like Germany, Venezuela etc. are working

So I have to fix the complete 2 listings in functions_statistik.php for Browser language and countries by host :tired:
Reply With Quote
  #217  
Old 08-23-2004, 02:05 PM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

United States listings are working now. Thanks!
Reply With Quote
  #218  
Old 08-23-2004, 02:08 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't quite follow... well I understand the problem but there is no 'file' called statistik_laender so do you mean I should change the database table statistik_laender or alter the functions_statistik.php? I've changed the reference to the United States in functions_statistik.php. No show of America yet... I suppose I have to wait until some more Americans show up again.
Reply With Quote
  #219  
Old 08-23-2004, 02:41 PM
Wential Wential is offline
 
Join Date: Aug 2004
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just changed the line to this elseif(ereg("us", $sprache))$browser_sprache="United States"; and it started working.
Reply With Quote
  #220  
Old 08-23-2004, 02:59 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The browser thing is working for me now. I applied the same change to the visitor countries section but I'm having no joy yet.
Reply With Quote
  #221  
Old 08-23-2004, 03:08 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 Zelda-King
I don't quite follow... well I understand the problem but there is no 'file' called statistik_laender...
Sorry, only 3 hours sleep this night, it's the file "functions_statistik.php" not statistik_laender
Reply With Quote
  #222  
Old 08-23-2004, 03:55 PM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, here we go ...
attached you will find the new file functions_statistik.php which must be copied to /include Directory and overwriting the old one.

In this file all entries are fixed to be identified from statistics Hack as correct Browser language and origin country of visitor.
Reply With Quote
  #223  
Old 08-23-2004, 04:13 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I realise you've been doing some real drudgery work on this but I'd better mention the new file has Bosnia andH erzegovina where it should have Bosnia and Herzegovina.

Well I still have a problem with certain countries showing on Visitor Countries... though the browser ones work fine, as I posted before. Weird. I know they use the same table.

Update: Ah.. United States has finally decided to show up. It doesn't seem to log everyone from there but it does initially work. Still nothing from the UK yet. :/
Reply With Quote
  #224  
Old 08-23-2004, 05:56 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice update. The templates STATISTIC, statistik_polls and statistic_last_x_days lack my latest updates. They're all on this page. I'm not bothered because I fixed mine myself but if you update the templates again at some point could you please use those fixes?

Edit: Hmm, someone's registering under two tables. United States AND Unknown. The hits and percentage was going up at the same rate until another American came online.

Here, I updated the English in the statistic_referer template:
Code:
  $statistic_header
<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>The latest $refrerer_limit Referers
		and the $domain_limit Top Level Domains</strong></div></td>
  </tr>
  <tr>
    <td valign="top" class="panelsurround"> <div class="panel">
        <fieldset class="fieldset">
        <legend><strong>The latest $refrerer_limit Referers</strong></legend>
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]">
          <tr>
            <td>&nbsp;</td>
          </tr>
            $statistic_referer_bit

        </table>
        </fieldset>
      </div></td>
    <td valign="top" class="panelsurround"> <div class="panel">
        <fieldset class="fieldset">
        <legend><strong>The $domain_limit Top Level Domains</strong></legend>
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="$stylevar[formspacer]">
          <tr>
            <td>&nbsp;</td>
          </tr>

            $statistic_domain_bit
</table>
        </fieldset>
      </div></td>
  </tr>

  <tr>
    <td colspan="2" valign="top" class="panelsurround"><div class="panel">
	<fieldset class="fieldset">
	    <legend><strong>Referers summary</strong></legend>
        <table width="auto" border="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td class="alt2"><span class="highlight">$direkte_zugriffe</span>
              visitors visited $vboptions[bbtitle] directly.</td>
          </tr>
          <tr>
            <td class="alt1"><span class="highlight">$alle_referer</span>
              visitors visited $vboptions[bbtitle] via a hyperlink (Referer).</td>
          </tr>
          <tr>
            <td class="alt2"><span class="highlight">$Anzahl_der_Referer</span>
              different hyperlinks (Referer)  referred visitors to $vboptions[bbtitle].
              </td>
          </tr>
          <tr>
            <td class="alt1"><span class="highlight">$Anzahl_der_Kurz_Referer</span>
              different referring domains referred visitors to $vboptions[bbtitle]. 
             </td>
          </tr>
        </table>
</fieldset>
</div>
&nbsp;</td>
  </tr>
  <tr>
    <td class="tcat" colspan="2">&nbsp;</td>
  </tr>
</table>
$statistic_footer
Reply With Quote
  #225  
Old 08-23-2004, 09:50 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed the Europe table in statistik_laender is 'Europ' (with no 'e' on the end), so the 'Europe' references in functions_statistik.php won't work surely. Oh.. and the Ascension flag is missing from the flaggen folder.
Reply With Quote
  #226  
Old 08-24-2004, 12:11 AM
Onkel_Tom's Avatar
Onkel_Tom Onkel_Tom is offline
 
Join Date: Mar 2002
Location: Stuttgart- Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Zelda-King for your translation work on the Templates !
I integrated the better english in my new zip File.

I checked the table inserts for "statistik_laender" and there is Europe with "e" in.
Also my test db has the Europe with "e" inside, so that must be a transfering or inserting error on your server.

We have both a wrong thinking about a translation in poll template. It's not "Ends" as category, it's Duration. This field doesn't show the days remaining, it shows only the configured duration of the poll

What about the installation and Script executing problems ?
Does it work for all in the meanwhile ?
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 05:46 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.11720 seconds
  • Memory Usage 2,440KB
  • Queries Executed 30 (?)
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
  • (10)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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