vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Todays Threads, Post and Veiws on index.php (https://vborg.vbsupport.ru/showthread.php?t=53515)

SmEdD 05-27-2003 10:00 PM

Todays Threads, Post and Veiws on index.php
 
What this hack does is it adds Total Threads, Post, and Veiws on your forums index.

Also I would like to give credit to Firefly as part of this code is his. That I had found.

SmEdD 05-28-2003 09:42 PM

Screen Shot.

assassingod 05-28-2003 09:43 PM

Does this add any queries to forumhome? (2 by the looks of it)

SmEdD 05-28-2003 09:46 PM

Ya it does which sucks. Tryed to get it to add none but I couldn't find any where to add the db lookup.

I'll try to figure out to get it to atleast one or even none.

assassingod 05-28-2003 09:47 PM

IIRC $DB_site adds a query everytime you use it, not sure though. That may be why.

Nice hack nonetheless:)

Xenon 05-28-2003 09:49 PM

today threads/posts can be combined as i posted already, and the viewcount is wrong, as it just sums up the views of today actualized threads, but is not the real ammount of views today

SmEdD 05-28-2003 09:52 PM

Give me a couple to re-edit the hack. They to fix it all up.

SmEdD 05-28-2003 10:00 PM

Alright fixed the file and how it is coded. What you think of it like that?

sleepbirdcyp 05-29-2003 01:28 AM

before: page load time 0.3s query:21
after: page load time 1.5s query:22

:( :(

SmEdD 05-29-2003 02:00 AM

Shouldn't do that. Not that much load. Are you on sharded hosting?

Dean C 05-29-2003 03:27 PM

You might want to mention it shows the posts,threads and view for that day in your first post :)

- miSt

sleepbirdcyp 05-29-2003 07:15 PM

got it

great hack

thx SmEdD

MindTrix 05-29-2003 08:29 PM

Nice hack, just a note u spelt views wrong in there :p u can even see it in u screenie

dis part--

Thread Veiws Today


damn im a nerd for pointin that out :(

SmEdD 05-29-2003 10:45 PM

Hey ya sorry I have really bad spelling. My bad.

SmEdD 05-31-2003 02:31 AM

Quote:

05-28-03 at 06:49 PM Xenon said this in Post #6
as it just sums up the views of today actualized threads, but is not the real ammount of views today
How do I fix it?


All times are GMT. The time now is 02:20 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.01172 seconds
  • Memory Usage 1,732KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete