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)

danward 12-05-2007 06:59 PM

How do I make it work with 3.6.4? :)

osousous 12-05-2007 07:07 PM

I really like this - thank you.

If I might suggest a decent extension to this, something In saw in a blog comment section the other day (a paticuarly busy blog comment page).

It basically showed at the bottom in real time - the number of replys that had been made to the comment page since I have started reading it (i.e. in real time).

Jafo232 12-05-2007 07:23 PM

Quote:

Originally Posted by danward (Post 1395672)
How do I make it work with 3.6.4? :)

Well, I don't currently have any 3.6.4 versions running, but I would imagine it should work with little to no editing.

Chachacha 12-06-2007 04:41 AM

Quote:

Originally Posted by Jafo232 (Post 1395680)
Well, I don't currently have any 3.6.4 versions running, but I would imagine it should work with little to no editing.

I've just installed this on my 3.6.4 board and it is working. Great add-on. Thanks.

Lizard King 12-06-2007 10:59 AM

Did you made tests regarding server load about this mod ? Even the original version had bad effects on server load and i can't imagine it with Ajax. It may totally kill your server.

asj 12-06-2007 12:33 PM

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
<title>$vboptions[bbtitle]</title>
</
head>
<
body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
<
td class="tcat" colspan="2">
<
phrase 1="$totalonline2="$numberregistered3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</
td>
</
tr>
<
tr>
<
td class="alt1" colspan="2">
<
span class="smallfont">$activeusers</span>
</
td>
</
tr>
</
table>
$footer
</body>
</
html

replaced
:rolleyes:

Jafo232 12-06-2007 03:15 PM

Quote:

Originally Posted by Lizard King (Post 1396096)
Did you made tests regarding server load about this mod ? Even the original version had bad effects on server load and i can't imagine it with Ajax. It may totally kill your server.

Yes..

Quote:

Originally Posted by Jafo232 (Post 1395638)
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.


Jafo232 12-06-2007 03:25 PM

Quote:

Originally Posted by asj (Post 1396148)
PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
$headinclude
<title>$vboptions[bbtitle]</title>
</
head>
<
body>
$header
$navbar
<table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
<
td class="tcat" colspan="2">
<
phrase 1="$totalonline2="$numberregistered3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</
td>
</
tr>
<
tr>
<
td class="alt1" colspan="2">
<
span class="smallfont">$activeusers</span>
</
td>
</
tr>
</
table>
$footer
</body>
</
html

replaced
:rolleyes:

Ok and this is what exactly?

Jafo232 12-06-2007 03:37 PM

Quote:

Originally Posted by Lizard King (Post 1396096)
Did you made tests regarding server load about this mod ? Even the original version had bad effects on server load and i can't imagine it with Ajax. It may totally kill your server.

Actually I just checked my APC control panel on one server to look at cached hits of scripts to get an idea on how much this file gets called on a moderate site:

forum/includes/init.php: 157227

forum/inlineonline.php: 12643

So basically, the amount of times VB has been activated so far today (APC was reset early this morning) 157,227, out of all of those executions, only 12,643 were member calls to the product script. Considering the non-ajax version would have also made some calls (no way with APC to figure out the difference) I see the load as negligible compared to the benefit. It should be noted that the forum in question restricts this feature to members only.

Hornstar 12-09-2007 04:08 AM

If my server was not lagging, I would love to install this :/ guess i'll have to wait until I can get my server correctly optimized or upgraded again. Thanks for sharing.


All times are GMT. The time now is 01:56 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.01183 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (6)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