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)
-   -   vB3 Boardstatistic Version 2 (https://vborg.vbsupport.ru/showthread.php?t=66783)

Onkel_Tom 08-23-2004 03:55 PM

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.

Zelda-King 08-23-2004 04:13 PM

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. :/

Zelda-King 08-23-2004 05:56 PM

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? :D

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


Zelda-King 08-23-2004 09:50 PM

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.

Onkel_Tom 08-24-2004 12:11 AM

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 ?

YamaMotoYama 08-24-2004 12:11 AM

This is an awsome hack. I installed it with only one problem: I have several users that use an apostrophe in there username. This causes sql errors. Do you know of away around this?

Thanks in advance,

Y.

Smitty 08-24-2004 12:17 AM

Quote:

Originally Posted by Onkel_Tom
We have both a wrong thinking about a translation in poll template. It's not "Ends" as category, it's Duration.

Fields:
Thread Title
Started by
Poll Question
Date
Poll Choices
Total Votes
Thread Open or Closed
Duration
Multiple Choice
'Open' Poll (Is poll open or closed)
Views

NOTE: Down at the bottom - Searches. People on my board asked why all the dots with bags. I put in this note: "General Search (Like 'Last 24 Hours' or 'Last Visit')" - http://Elsmar.com/Forums/statistik.php?do=polls

EDIT ADD: I did a few translations a bit back. I'm not going through the update until you folks finish because the stats are relative to me. That is, some of the language translations aren't important to me and the statistics it gives me are sufficient - Like 10 times what I had before and are presented well.

That said, I appreciate the fine tuning you folks are doing on this. I had a different program back in the vB 2.x days and really loved this when I saw it - this one is exceptional. I'm not a php programmer so it's all beyond me or I'l pitch in on that stuff.

Zelda-King 08-24-2004 12:40 AM

I'll just change it to 'Europe' in my database then. Not a problem.
Quote:

Originally Posted by Onkel_Tom
What about the installation and Script executing problems ?
Does it work for all in the meanwhile ?

I've had no trouble with that, and I think it's good the templates are done first. It means we who've installed the hack can make template updates easier, plus if we want to add into every style it's easy to just change the default style to any otehr mother style then just rerun the templates bit. (It doesn't inject into all styles. Just the default one, but I like that because I have a Mother - Child system anyway.)

Onkel_Tom 08-24-2004 12:44 AM

thanks Smitty for your positive feedback.
If you install the new files and Templates you get ride of the "(days)" in the duration row of the polls ;)
But you are right to wait until our fine tuning is done. It's only neccesary to download the new files for that people which have problem to get the scripts run.

@YamaMotoYama
I will check the apostrophe problem in username...

Zelda-King 08-24-2004 01:31 AM

Here's an Ascension flag (United Kingdom Academic Institutions) in case anyone else is missing one.


All times are GMT. The time now is 07:38 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.01355 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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