vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - AJAX: Show Users Browsing Threads & Replying (https://vborg.vbsupport.ru/showthread.php?t=164369)

Jafo232 12-04-2007 10:00 PM

AJAX: Show Users Browsing Threads & Replying
 
This mod will replace the current "Currently Active Users Viewing This Thread" box in threads to an identical one that uses AJAX.. With this method, you can see users viewing the thread in real time (without refreshing) and also see when a user is replying.

By default, it updates every 10 seconds, but you can change that by editing the template code.

Enjoy!


Brought To You By WorldWideCreations.com.

soulface 12-05-2007 04:41 AM

nice hack!

ShawneyJ 12-05-2007 04:45 AM

very good :) thx

projectego 12-05-2007 11:11 AM

[high]* projectego clicks install :)[/high]

SuperTaz 12-05-2007 11:46 AM

Installed. Thank you.

yahoooh 12-05-2007 03:33 PM

how many query?

Jafo232 12-05-2007 03:41 PM

Quote:

Originally Posted by yahoooh (Post 1395545)
how many query?

There is one query per instance, well, on top of whatever queries go into global.php and fetching templates (if they are not cached)..

Jafo232 12-05-2007 06:03 PM

For those of you who said thanks.. Your welcome! :)

FreshFroot 12-05-2007 06:09 PM

Quote:

Originally Posted by Jafo232 (Post 1395551)
There is one query per instance, well, on top of whatever queries go into global.php and fetching templates (if they are not cached)..

I like the hack idea, but for shared hosting it maybe a lot of queries and cause a large server load.

Jafo232 12-05-2007 06:12 PM

Quote:

Originally Posted by FreshFroot (Post 1395633)
I like the hack idea, but for shared hosting it maybe a lot of queries and cause a large server load.

I have been following it on a couple busy sites and haven't noticed too much of a hit. Restricting "Show Users Browsing Threads" to members only is probably a prudent thing to do. You can also up the timeout in the javascript for fewer calls.


All times are GMT. The time now is 03:00 PM.

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.01191 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
  • (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