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)

chet 06-09-2004 11:25 AM

Mine is sitting on my LAN so can not be accessed from the outside, but looking at the link from the other user, mine is just the same

Chet

Intex 06-09-2004 12:38 PM

English Template Update

PCFreak - I've updated the main template file (statistik_hauptseite), to correct all the grammatical, spelling and typos - I hope you don't mind. I've completely renamed some of the wording as well. Hope that's ok with you.

The only thing that remains is to change the wording of the countries / lauguage section, which are not in the templates themselves. PCFreak - perhaps you could do that (or somebody else)?

Feel free to include it in your main zip file :). P.S. What's a 'side call'?


Quote:

Originally Posted by PcFreak
@chet and Intex
Can i get the links to yours statisticsite please.

PcFreak


trackpads 06-09-2004 01:23 PM

Awesome!!!! A++++

The Geek 06-09-2004 01:34 PM

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']); 


trackpads 06-09-2004 02:18 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']); 


Works great! Thanks!

Also, thanks alot Intex for the template update!!

-Jason

http://www.trackpads.com/forum/statistik.php

Ming Keong 06-09-2004 02:28 PM

Great hack! I've just installed it and found that it shows the statistics two times on the same page. See http://www.pdatrends.com/statistics.php and wait for it to fully load.

It seems to be happening for the other statistics pages installed by other members. eg. http://www.celebritymarkt.de/statistik.php

How can this be fixed?

The Geek 06-09-2004 02:31 PM

Quote:

Originally Posted by Ming Keong
Great hack! I've just installed it and found that it shows the statistics two times on the same page. See http://www.pdatrends.com/statistics.php and wait for it to fully load.

It seems to be happening for the other statistics pages installed by other members. eg. http://www.celebritymarkt.de/statistik.php

How can this be fixed?

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.

Intex 06-09-2004 03:10 PM

Yup, I had the same problem and reported it as a problem, then two minutes later deleted my thread because I'd found that PCFreak had dupilcated the template.

The Engilsh template I submitted corrects everything as far as I can see and generally tidies things up. I changed the wording of some areas too, which I'm hoping PCFreak doesn't mind me doing.

We still need to change the country names. I'll do that later unless someone beats me to it :)


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.


Intex 06-09-2004 03:10 PM

You're welcome :).



Quote:

Originally Posted by trackpads
Works great! Thanks!

Also, thanks alot Intex for the template update!!

-Jason

http://www.trackpads.com/forum/statistik.php


Zephanor 06-09-2004 03:35 PM

Thanks dude, I figured that out shortly after the post, I was up laaaate.

:p

Can anyone give me direction or a place I can find on how to make changes to my database itself? I want to translate the countries and domains into english as well.

And I spent a lot of time combing through and changing the main template and I could have just waited a day for someone else to do it, lol!


All times are GMT. The time now is 08:27 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.01215 seconds
  • Memory Usage 1,768KB
  • 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
  • (2)bbcode_php_printable
  • (5)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