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)
-   -   Show all hits on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=65139)

PcFreak 05-14-2004 10:00 PM

Show all hits on Forumhome
 
First,

I am Geman. My English is not very well and this is my first little hack.

If there a other kind of this hack, sorry.

What's it do?
This hack shows the sum of all hits in the Forum Statistics.

Files to edit.

index.php
Template: FORUMHOME
Add one new Phrase

PcFreak

Chris|vB 05-15-2004 03:59 AM

great hack :)

Gio Takahashi 05-15-2004 09:29 AM

Just a question what you mean by HIt you mean Thread View count? I'm just a little confused.

hitmanuk2k 05-15-2004 09:46 AM

is it possible to insert comma's in the number?

2,134,114 instead of 2134114

PcFreak 05-15-2004 11:02 AM

Quote:

Originally Posted by Gio Takahashi
Just a question what you mean by HIt you mean Thread View count? I'm just a little confused.

That is what I mean.
One "View" is one "Hit". (In Geman we call it Hit)

@hitmanuk2k
Sorry, i?m shure that is possible. But I don?t know how.

PcFreak

assassingod 05-15-2004 11:06 AM

Use this code to get commas in high numbers:
PHP Code:

$totalhits number_format($totalhits['hits']); 


insanctus 05-15-2004 11:27 AM

Quote:

Originally Posted by PcFreak
That is what I mean.
One "View" is one "Hit". (In Geman we call it Hit)

@hitmanuk2k
Sorry, i?m shure that is possible. But I don?t know how.

PcFreak

Then mine must be off :( 297930 I know been more then that lmao.

Boofo 05-15-2004 12:07 PM

Quote:

Originally Posted by assassingod
Use this code to get commas in high numbers:
PHP Code:

$totalhits number_format($totalhits['hits']); 


For vB3, that should be:

PHP Code:

$totalhits vb_number_format($totalhits['hits']); 

;)

BoNfiRe 05-15-2004 12:35 PM

clicks install thx for the hack, and thx for the mod Boofo

Synicide 05-15-2004 08:25 PM

this is awesome! thanks!


All times are GMT. The time now is 06:22 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.01043 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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