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)

Alfa1 12-13-2007 06:05 PM

Where do you adjust the setting 'Show Users Browsing Threads'?

UltraFanatics 12-13-2007 06:28 PM

Admin control panel mate in VB

Alfa1 12-13-2007 06:32 PM

I figured it that far.

I see that it is in adminCP -> vbulletin options -> thread display options

But i see no possibility there to adjust the setting per user group. How and where can I set this?

Jafo232 12-15-2007 08:55 PM

You cannot set it via usergroups, but you can limit access to members only.

Alfa1 12-16-2007 04:03 AM

That is too bad. Please consider adding usergroup permissions.

Jafo232 12-16-2007 08:17 AM

Not up to me, bring it up with Jelsoft....

Alfa1 01-20-2008 03:59 PM

What would happen if I would alter showthread so that instead of replacing the code like instructed, I would add something along the lines of:
<if condition="is_member_of($bbuserinfo,4,5,6,7)">[Jafo's code]<else />[original code]</if>

Would that cause problems?

Alfa1 01-20-2008 09:26 PM

I just placed your code between
PHP Code:

<if condition="is_member_of($bbuserinfo,4,5,6,7)">[Jafo's code]</if> 

And now only member groups of my choice can see users browsing a thread.

So my code is:
PHP Code:

<!-- currently active users -->
<if 
condition="$show['activeusers']">

<if 
condition="is_member_of($bbuserinfo,23,5,6,7)">
 <
div id='inlineonline' name='inlineonline'></div>

<
script>

function 
getFile(url) {
if (
window.XMLHttpRequest) {
AJAX=new XMLHttpRequest();
} else {
AJAX=new ActiveXObject("Microsoft.XMLHTTP");
}
if (
AJAX) {
AJAX.open("GET"urlfalse);
AJAX.send(null);
return 
AJAX.responseText;
} else {
return 
false;
}
}

function 
changeInlineOnline () {

var 
getFile('$vboptions[bburl]/inlineonline.php?t=$threadid' '&nocache=' + (Math.random() * 1.33));

document.getElementById('inlineonline').innerHTML f;

setTimeout("changeInlineOnline()"10000);
}

changeInlineOnline();

</
script>
</if>
</if>
<!-- 
end currently active users --> 


Jafo232 01-21-2008 12:00 PM

I don't see any reason why it wouldn't work.

Alfa1 01-21-2008 02:57 PM

Seems to work fine.

This function doesn't seem to register when someone uses the back button to navigate.

Alfa1 01-21-2008 11:50 PM

This function would really be handy when it would be on newreply.php as well. That way you would be able to see if others are replying at the same time as you.

Is it possible to add this?

My members really like this hack. They are requesting a function to find the thread with the most members in it. If they would have this then they would be able to see hot threads developing in real time. It would change the browsing experience.

Alfa1 02-04-2008 07:43 AM

Members that use opera of Firefox experience their browser freezing for some moments.

SwollenCranium 03-13-2008 03:35 AM

Update for 3.7 would be much appreciated.

** never mind .. seems to work fine in 3.7b6 **

Jafo232 03-18-2008 01:37 PM

Don't see why it wouldn't, but I for one will not modify any plugin for a beta. When it is released, then I will worry about it.

forumbust 03-24-2008 02:42 PM

Hi,

I have installed it and i didn't see it appearing in the forum. Where is it located? I wonder if i have installed wrongly. i follow the instruction accordingly.

forumbust 03-24-2008 05:42 PM

This is in the documentation of this mod:

Go to the Vbulletin admincp -> Style Manager. Select your style, and in the dropdown box next to it, choose "Add New Template". (if you have multiple styles, you will need to do this multiple times).

I do not understand the part on multiple styles and do this multiple times. I just pull down the menu and click add new template.

Anyone care to enlighten me on this?

I am using ver 3.6.8, they do not have "Your Style". What should i choose instead?

Jafo232 03-25-2008 03:59 PM

The STYLE is the style of the forum you are using. It could be named ANYTHING. Please read your Vbulletin documentation regarding styles.

forumbust 03-26-2008 04:08 AM

i reinstall again and it can't work. nothing show below the thread, so i uninstall again and the old vbulletin default show thread appear.

Skyrider 03-26-2008 08:08 AM

Agreed, it is not working for me either and I installed it correctly.

Jafo232 03-26-2008 03:55 PM

If you installed it correctly, it would work.

Skyrider 03-26-2008 04:12 PM

Quote:

Originally Posted by Jafo232 (Post 1475102)
If you installed it correctly, it would work.

I created the file for both themes we had (to make sure of it), I uploaded the file to the root of the forums, and I overwritten both showthread files on both themes, and it doesn't work.

Jafo232 03-27-2008 02:03 PM

Quote:

AdminCP > vBulletin Options > Thread Display Options (showthread) > Show Users Browsing Threads

Make sure this is NOT set to no.
And this?

amirlol 03-29-2008 09:14 AM

exelecnt !

and very very thanks

yeku 03-29-2008 02:35 PM

Intalled

thank

Jafo232 03-29-2008 03:37 PM

Your very very welcome. :)

Jafo232 03-30-2008 03:30 PM

So I am assuming you figured it out?

pedroenf 03-31-2008 03:53 PM

I've installed this mod and had unninstall it. It raised my server load almost 6.00. When with the same members number, without the mod, load remais at 1.00 or 2.00. Thanks anyway.

Alfa1 04-01-2008 09:55 AM

I think this mod is good if you only enable it for a select number of members.

Toxist 09-15-2008 12:42 PM

Uninstalled

Alfa1 02-10-2009 07:07 PM

I don't see why it shouldn't work with 3.8.

Alfa1 10-05-2010 08:11 AM

This process is quite server intensive. Even when enabling it for a very limited number of users, it is still near the top resource process. It takes up 630MB and 888.032 hits monthly.
My members really like this function. They are even willing to donate for its use.
Isn't there a more effective way to do this?

emath 05-09-2013 08:48 AM

is there any chance that this mod could be upgraded to be compatible with vb4 ?


All times are GMT. The time now is 01:28 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.01474 seconds
  • Memory Usage 1,780KB
  • 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
  • (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
  • (32)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