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)

Ted S 05-15-2004 10:37 PM

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.

Looking at the code the actual value isn't page views or server hits but rather thread views so requests to search pages, arcade pages, tell a friend, profiles, etc... won't impact this data.

jons5150 05-16-2004 03:58 AM

I used the Vb3 "comma code", but no commas? Any help Boofo???

Thanks...

Boofo 05-16-2004 07:14 AM

You need to add that code right under this line:

PHP Code:

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


Synicide 05-16-2004 01:01 PM

Quote:

Originally Posted by Boofo
You need to add that code right under this line:

PHP Code:

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


Actually Boofo, it didn't work for me unless I replaced your line with that line. Because I'm guessing those functions try to clash with each other to display the talley. Just my observation.

jons5150 05-16-2004 01:43 PM

Didn't work for me either boofo...made it worse. I think I'll just stick with no commas...

Thanks for trying....

Boofo 05-16-2004 04:07 PM

I've been all wrong on this guys. Dohh!!! Here is the code you need for the commas. ;)

PHP Code:

$totalhits vb_number_format($totalhits); 


jons5150 05-16-2004 04:49 PM

As a replacement or an addition???

Boofo 05-16-2004 10:23 PM

Quote:

Originally Posted by jons5150
As a replacement or an addition???

As an addition right below the other piece of code.

Synicide 05-17-2004 12:06 PM

Quote:

Originally Posted by Boofo
As an addition right below the other piece of code.

I replaced it and it worked fine for me too. o_O

ChuanSE 06-09-2004 01:06 AM

Doesn't seem to work for me :/


All times are GMT. The time now is 12:50 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.01126 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)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