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 Statistic Version 1.01 (https://vborg.vbsupport.ru/showthread.php?t=65924)

The Geek 06-09-2004 03:49 PM

Quote:

Originally Posted by the nail geek
I think I found the problem with the elongated bars... the calculations are not correct when you use results from number_format. I changed those to intval and it calculates correctly now:

Here is the area I changed... hope I havent missed any:

PHP Code:

//##################################################################################################
//## Auswertgung einger Top Resulte START
//##################################################################################################

    
$alle_beitraege $DB_site->query_first("SELECT COUNT(*) as beitraege FROM " TABLE_PREFIX "post    ");
    
$alle_beitraege    =    intval($alle_beitraege['beitraege']);                                //alle Beitr?ge

    
$alle_themen$DB_site->query_first("SELECT COUNT( * ) as themen FROM " TABLE_PREFIX "thread ");
    
$alle_themen    =    intval($alle_themen['themen']);                                        //alle Themen

    
$alle_user$DB_site->query_first("    SELECT COUNT( * ) as benutzer FROM " TABLE_PREFIX "user    ");
    
$alle_user    =    intval($alle_user['benutzer']);                                            //alle Benutzer

    
$alle_pm$DB_site->query_first("SELECT COUNT( * ) as pm FROM " TABLE_PREFIX "pm ");
    
$alle_pm    =    intval($alle_pm['pm']); 


Here are the other updated templates for english:

template name: statistik_referer
-------------------------
PHP Code:

<tr>
<
td class="alt2" valign="top">
&
nbsp;<a href="$referer_adresse">$referer_adresse
</a>&nbsp;($referer_summe Visitors)
</
td>
</
tr

template name: statistik_letztenbeitraege
-------------------------
PHP Code:

<tr>
    <
td> <small><a href="showthread.php?$session[sessionurl]t=$beitragsid">$beitragstitel</a>
<
br>
by<b><font color="#FF0000"$geschrieben_von</font></bposted 
<font color="#FF0000"><i>
$geschrieben_am</i></fontlast reply from <b><font color="#663300">$letzte_antwort</font></b><font color="#996633"> </font>
posted 
<font color="#663300"> <i>$letzte_antwort_am</i></font></small><font color="#996633"></td>
</
tr></font

I also translated most of the countries that I could be bothered with (damn there are a few!)... here is the english table create and inserts. I am sure there are a few countries that I missed (or maybe got wrong).

The Geek 06-09-2004 03:53 PM

Just updated a couple more country names I noticed I missed (Network and Commercial) go figure ;)

BTW: havent mentioned it yet... but this is a kick ass hack.

PcFreak 06-09-2004 04:03 PM

I will update the zip.file later this day.
I have build more statistics (see them on my statistic Site) http:at-lantis.de/statistik.php
Now the statsitik show
New are
- Statistic from the last 10 days
- Book of records
- Server and mysql infos

In the next update i hope every errors are eliminated
PcFreak

Click on install, so i can inform you about the new update.

Ming Keong 06-09-2004 04:16 PM

Quote:

Originally Posted by the nail geek
use the updated template that intex put up about 4 posts back... the reason is that the template is the english... then the german for some reason.
Intex's updated template has only the english.

Thanks.. :)

PcFreak 06-09-2004 04:18 PM

Quote:

Originally Posted by the nail geek
but this is a kick ass hack.

Is this good or bad?

The Geek 06-09-2004 04:36 PM

Quote:

Originally Posted by PcFreak
Is this good or bad?

very good ;)

The Geek 06-09-2004 04:54 PM

Updated the English transaltion of the countries again (found 3 or 4 I had missed). I think I should have about 95% of them now.
https://vborg.vbsupport.ru/showpost....8&postcount=61

Intex 06-09-2004 05:13 PM

the_nail_geek - nice work :). Amazing how quickly we can all get it done when a few people help out.

PCFreak - Yeah new stats look good. Let me know if you want any translation doing prior to release. I'm sure the_nail_geek will also help out too :).

PcFreak 06-09-2004 05:34 PM

I udate a new zip.file in few minutes
The countrienames was translated. I have just upload the german functions_statistik.php and the german countrytables.
I have check my zipfile several times.
I think now it´s perfekt

PcFreak

Intex 06-09-2004 05:52 PM

PCFreak - I've discovered a problem. In the country stats there are stats for United Kingdom as well as Great Britain. These are the same country :). What's funnier is the stats are different slightly too!

Could you investigate. Cheers.


All times are GMT. The time now is 08:04 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.01155 seconds
  • Memory Usage 1,766KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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