![]() |
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. |
nice hack!
|
very good :) thx
|
[high]* projectego clicks install :)[/high]
|
Installed. Thank you.
|
how many query?
|
Quote:
|
For those of you who said thanks.. Your welcome! :)
|
Quote:
|
Quote:
|
How do I make it work with 3.6.4? :)
|
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). |
Quote:
|
Quote:
|
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.
|
PHP Code:
:rolleyes: |
Quote:
Quote:
|
Quote:
|
Quote:
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. |
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.
|
I've done this mod but I accidently done all the copying before I put the .php file on my server (eeeek doh!)
Will this still work as im not sure its working or not? can anyone help? site is http://www.ultrafanatics.com |
Cant seem to see it working on my site :(
Can anyone help as Ive re-done it again! |
Thank you very much!
|
Ive got it working for forum display but not thread display!
Any ideas anyone? |
Well, if you followed the instructions to the letter, it should NOT work on the forum display. Not sure what kind of editing would even make that a possibility.
Sounds like you missed something in the readme. |
Is it possible, in any shape or form, to poll the contents of a quick editor (ie. reply or edit) and if it's changing set a user as "replying" ?
I do see how that could cause some serious server strains though, but most people tend to use the quick reply when replying to threads :) Great hack either way. |
Quote:
|
PM sent Jafo
|
Not really accepting IM's at this time..
|
Oh ok mate, I just wondered if you could check this mod on my server for me.
Seems really strange as its working for each forums not threads. Take a look http://www.ultrafanatics.com |
Did you follow the directions in the Readme where it says:
Quote:
|
Yep I made sure of that mate, which was why I thought "Ill try it for forum display options" too.
When I done that it worked for that! (but not threads) |
Ok, this hack has NOTHING to do with forum display.. That feature is built in to vbulletin.
I can only assume you have either incorrectly edited the templates, or have edited templates for a style you are not using.. |
Hello,
just for the record i'd like to notice everyone this mod will cause a huge load on your server. On my dedicated box (VBulletin forum with average 500 users online) it has increased the server load by roughly a 200% factor (from 0.5 to over 1.5 ...) causing 1.500.000 hits in just 2 days. If you care about performances that's just crazy, especially if you're on a shared account and/or your server is near their performance limits. So be careful. No offence meant to the coder, but i felt right to warn about the huge resource usage of this mod. Greetings. |
If you leave the mod open to the public, surely it could have a negative impact, which is why this feature should be restricted to MEMBERS ONLY as stated earlier.
|
That's too bad. This is a very nice hack, but performance is important to me.
|
Quote:
I have an old PC that has less than 300mb RAM, running on a very old pentium chip with two sites on it that get moderate traffic. There has been no substantial hit on performance. |
I just moved servers, since my site was running 300% continuously.
Can I activate this hack for certain member groups only? |
Yes, just like you do with the non-ajax version..
|
I think ill delete this mod now, can't seem to get it working.
Thanks though, looks a great mod! |
All times are GMT. The time now is 05:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|