![]() |
Corrected thread visitors count
Hi,
This is my first free public addon i'm coding for people one of my customers wanted to display who is viewing threads on forumdisplay so i checked here first and i saw Atakan KOC's addon but it was giving wrong information so i decided to integrate vBulletin's own source to it.So here it is ;). What does this plugin do? It is simple this plugin shows how many people visiting/browsing the thread on forumdisplay. Installing Open your admin control panel and thenPlugin System -> Manage Products -> [Add/Import Product] -> Select 'product-nx-threadvisitors.xml' from your computer then press 'Import' Please feel free to ask any questions This may be copied, reproduced or published anywhere without my permission. Changelog v1.0: Initial release v2.0: Fixed bug with UserCP cause of function which fetch_online_status is not needed |
Reserved for future requests/dialogs
In screenshot "1 kişi okuyor means 1 Viewing" |
Nice ;)
|
Hi there,
For some reason when I activate it my users can't access their user CP at all. I've seen this problem with this plugin as well, so the problem may be the same.. https://vborg.vbsupport.ru/showthrea...41#post1323941 |
Quote:
|
That's probably it then. Thanks!
|
Hi,
Could you please paste if there is an error showing up when your users trying to access their cp? Between this plugin does not changing anything about usercp :/ |
Dude! I'v been trying to do this mod for ages... god bless you! This plugin is just perfect!
Just to make it clear, it doesn't show who is viewing, it shows how many users are browsing, or viewing, each thread. perfect. If anyone want to remove that color, or change, just find this code style=\"color:#FFCC99;\" So i would suggest you to do an admincp option to chage color/font size ect. :) Just in case someone need it. The erro i get is this: Fatal error: Call to undefined function fetch_online_status() in /forum/usercp.php(503) : eval()'d code on line 97 Dunno if this would be a fix... i just removed on line 61 of the plugin fetch_online_status($loggedinx); and everything seems to be working fine. |
hehe yes , you are right "fetch_online_status" thing i changed it myself when i was modifiying customers web i noticed error but i thought it was from other thing and i added just include , and the color was made for that theme on customers ^^
|
the xml is fixed?
|
So what exactly is the point of this modification?
|
Quote:
Quote:
|
Wait, are you running a query per thread to do this ?
|
yea and i just implented vB's source to it, Atakan KOC has same mod but his mod gives wrong information btw uses 2 hooks and same per query.
|
So you're running an extra 25 queries per page by default? Thats abit excessive.
|
But is there another option? Any other working mod that would give the same result? :( i guess not.
For me this is worth |
Well all mods will use same way i dont think is there any way to use? of course we need to do use query and for me 1 query is not so big deal and i dont think it will lower speed of forum we do not use p2 machines for hosting only 1 and simple query and it uses just 1 hook as i said there is another mod tries to give same info made by Atakan KOC and its using 2 hooks and 1 query...
PS: Atakan KOC's plugin: here |
All times are GMT. The time now is 06:47 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:
|