vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [Request 2.3.0] Who read's the Topic (https://vborg.vbsupport.ru/showthread.php?t=53160)

filburt1 05-22-2003 08:34 PM

Quote:

Today at 05:21 PM assassingod said this in Post #9
Depending on how busy your forums are, this hack could bring down your server. I'm not sure though.

Since it's checking every thread in your database to see who viewed it,then displaying it in the actual thread, and if you have lots of threads and members, well you have a problem.

It can make the thread table bigger depending on how many users view how many threads. Nonetheless, I'll write it ;)

Sebastian 05-22-2003 08:36 PM

Quote:

Today at 05:34 PM filburt1 said this in Post #11
It can make the thread table bigger depending on how many users view how many threads. Nonetheless, I'll write it ;)

make sure you put a disclaimer on it... reminds me of cigarettes ;)

assassingod 05-22-2003 08:39 PM

Alright, but still, it would make the table huge if the forum is very big:p

bloodcult 05-22-2003 08:52 PM

i think it could be done with a seperate table, then you can reduce the users where can use this option (e.g. admins,mods or usergroups) then i think it's not the problem, or is it?

userid | threadid | timestamp

i think this is all, or?

filburt1 05-22-2003 08:55 PM

Released. Yes, a separate table might have been better, but it's still going to add performance and size problems. The one I just released uses three queries maximum but tries to save them when possible.

Sebastian 05-22-2003 09:44 PM

wouldn't it have been easier and less queries if you just created a column with the username and not the userid so you won't have to make another query to fetch the username of the userid?

hope that makes sense ;)

filburt1 05-22-2003 10:10 PM

No, because usernames can change.


All times are GMT. The time now is 01:42 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.01151 seconds
  • Memory Usage 1,728KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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