vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Who has read a Thread (https://vborg.vbsupport.ru/showthread.php?t=122594)

VitroX 09-21-2006 12:50 PM

Quote:

Originally Posted by Hatsu
Great Hack, thank you.

How can I put the hack above the thread? Is it possible?

How can we make this happen?

I would like it to show at the top of the thread and not at the end.

Thanks for this great hack

Paul M 09-21-2006 03:57 PM

You can't, it's not designed to be moved, it attaches to the list of thread viewers.

maaref 09-23-2006 09:58 AM

thanks
great mod

mtha 09-26-2006 04:17 AM

Paul, how's this hack doing, in term of using system resources?
should it uses a lot of queries, memory?

Paul M 09-26-2006 09:24 AM

It runs one update query when you read a thread, and one select for the display (so basically two queries per thread). The resource use of those queries is small as the table is indexed.

The table can grow, especially on a busy forum, for example, we have been running this for six months now, and the table now has 450,000 rows (we have 47,000 threads, 500+ members visit per day). Again, as it's indexed this is not really a big deal, nevertheless, the next update will have a cron job to remove entries over a certain age (12 months by default).

Taking one of our busiest threads, the update takes 0.00046 seconds, the select takes 0.02508 seconds.

snyperj 09-26-2006 06:27 PM

Looks nice. Paul, will this work with 3.5.4? I am new this so sorry if I am missing where it says which versions.. Thanks

Paul M 09-26-2006 06:55 PM

This version is for vb 3.6.

There is a 3.5 version here ;

https://vborg.vbsupport.ru/showthread.php?t=112192

Biggles 09-29-2006 07:38 PM

Thank you, kind sir. Just the bees knees. Have clicked as requested.

Regards

Biggles :cool:

Paul M 10-06-2006 11:02 PM

Version 3.28 uploaded tonight - this has a number of new facilities ;

* Option to allow a thread author to view who has read their thread.

* A new personal set/reset facility - allows a member to set a personal 'cutoff' time - only showing who has read a thread after that time.

* A cron job to (optionally) delete whoread records over a certain age.

More detals are in the main post.

To upgrade simply download the new (zipped) product file and import it in the normal manner.

Shazz 10-06-2006 11:03 PM

Updated* Thanx!


All times are GMT. The time now is 04:08 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.01527 seconds
  • Memory Usage 1,734KB
  • 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)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