![]() |
Quote:
The pages themselves will be slightly larger due to the list of names - roughly 1k per 10/12 names. |
How difficult would it be to limit the reader log to only those users who have posted to the particular thread? I am not asking you to mod the plugin, just wondering how monumental it would be for me to augment, and (if it is not a breach of etiquette to ask) where I should start if it is not a performance-draining epic?
|
Not too difficult - you would need another sql query to extract a list of all posters in the thread, and then some php to disable the display if the viewer is not in that list.
|
Could it be done at the point in which the readers are logged into the +++++ad table (ie. if user has posted before then update reader log for the post when the user enters the thread). Well, I know it can be done, but which would be more efficient from a resource/storage standpoint: pre-log analysis, or filtering the results as mentioned above?
Sorry if I am getting to involved. I have decent php/mysql chops, but I am pretty new to vBulletin. You seem to be a plugin guru so I want to know if I am way off base or if I will run into massive troubles if I try to tackle a pre-log evaluation scenario with the initial INSERT. |
You wouldn't want to do it when updating the readtime, otherwise you would lose/miss data - someone viewing the thread, who hasn't posted in it yet, wouldn't get recorded as having read it.
|
Hmm, that sounds like what I might want it to do. Basically, when a user who has previously posted to the thread enters the thread, I want it to log their most recent visit - anyone who has not posted to the thread should be ignored.
That said, I am not concerned if a person posting to the thread is logged as a person who 'read' the post right after their post - I would be happy if it simply logged subsequent visits to the thread (basically to see if a poster ever revisted the thread). Make sense? |
sweet plugin, by the way, as is :D
|
thanx for the hack
what about add opition in this setting allow to show the table up or down like the previous hack up = under the code $polls if that show down = same place Currently |
Installed it. Works nicely! :-)
BTW, there is no instruction on how to configure this or where the control panel is. It took me a while to search for it until I found the configuration in VBulletin Options - Thread Display Options (showthread). For other novice like me, a little guidance on configuration/CP would be helpful. Thanks NT |
Options location added to notes.
|
All times are GMT. The time now is 01:44 AM. |
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:
|