Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4172)
This mod is will give your staff members who have permissions to moderate forums to view the users that who have read topics.
There are no settings for this mod. After installation a new button called Log Views will appear on topics below the title. Click it and a list of all users who read that topic will be displayed.
If you have any questions post them in the mod 's support topic.
A simple and very good modification I really congratulate you. I leave the translation to Latin Spanish!
<file name="$languagedir/Modifications.spanish_latin.php" error="Skip">
<operation>
<search position="end" />
<add><![CDATA[$txt['topic_viewers_link'] = 'Registro de vistas';
$txt['topic_viewers'] = 'Aquí puede ver la lista de todos los usuarios que leen el tema:';]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.spanish_latin-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[$txt['topic_viewers_link'] = 'Registro de vistas';
$txt['topic_viewers'] = 'AquĆ puede ver la lista de todos los usuarios que leen el tema:';]]></add>
</operation>
</file>
Regards!
So, question... without looking at the mod code, I can't tell... but how does this mod track who has read a topic? Are all topics tracked?
If there's is not a new table, this mod will be less than accurate, as I could mark a topic read by marking ALL topics read, but never actually have physically read the tracked one(s)
If it is a new table, your talking huge overhead... if I have a forum with over 3 million posts in a 500,000 topics.... tracking each thread would quickly overrun the database with data.
Quote from: Kindred on March 04, 2018, 11:06:31 PM
So, question... without looking at the mod code, I can't tell... but how does this mod track who has read a topic? Are all topics tracked?
If there's is not a new table, this mod will be less than accurate, as I could mark a topic read by marking ALL topics read, but never actually have physically read the tracked one(s)
If it is a new table, your talking huge overhead... if I have a forum with over 3 million posts in a 500,000 topics.... tracking each thread would quickly overrun the database with data.
That's true. This mod does pluck entries from log_topics. Adding a new column to the log_topics table along the lines of "type" could be used to separate actual page views from users simply marking it as read without viewing. Leaving a default value of 0 to signify an actual view, and modifying a line or two in the MarkRead function would suffice I think. That would solve the accuracy issue while mitigating data overload as well. Mark
board as read does still present a problem though.
Not looked at the mod (other than the posted screenshots) but how does it differ from Topic View Log (https://custom.simplemachines.org/mods/index.php?mod=4060) mod?
Quote from: Kindred on March 04, 2018, 11:06:31 PM
So, question... without looking at the mod code, I can't tell... but how does this mod track who has read a topic? Are all topics tracked?
If there's is not a new table, this mod will be less than accurate, as I could mark a topic read by marking ALL topics read, but never actually have physically read the tracked one(s)
If it is a new table, your talking huge overhead... if I have a forum with over 3 million posts in a 500,000 topics.... tracking each thread would quickly overrun the database with data.
Yes, all topics are tracked and it does not add a new table. It makes use of the smf_log_topics table.
It displays only users who have actually/physically read a topic.
Quote from: Shambles on March 05, 2018, 02:28:50 AM
Not looked at the mod (other than the posted screenshots) but how does it differ from Topic View Log (https://custom.simplemachines.org/mods/index.php?mod=4060) mod?
To be honest I do not know as I was not aware of that mod until your post.
Quote from: doug_ips on March 05, 2018, 05:43:11 AM
Yes, all topics are tracked and it does not add a new table. It makes use of the smf_log_topics table.
It displays only users who have actually/physically read a topic.
You make two statements, which are contradictory.
If you are using the log_topics table, then you have an issue.
If I "mark all topics as read" then the entries in log_topics for my user number are cleared, because I have read everything to that point.
So, depending on how your logic works, either it will mark me as having read the topic by clicking "mark as read" -- or, if I have read the topic previously, it will now mark me as NOT having read the topic.
Quote from: Kindred on March 05, 2018, 09:32:21 AM
Quote from: doug_ips on March 05, 2018, 05:43:11 AM
Yes, all topics are tracked and it does not add a new table. It makes use of the smf_log_topics table.
It displays only users who have actually/physically read a topic.
You make two statements, which are contradictory.
If you are using the log_topics table, then you have an issue.
If I "mark all topics as read" then the entries in log_topics for my user number are cleared, because I have read everything to that point.
So, depending on how your logic works, either it will mark me as having read the topic by clicking "mark as read" -- or, if I have read the topic previously, it will now mark me as NOT having read the topic.
I see now what you mean Kindred. Yes, you are right.
I want to bring this "Topic Viewer" to the topic page, not a button to click on. How is it possible?
Quote from: SaidJan on April 20, 2018, 01:31:18 AM
I want to bring this "Topic Viewer" to the topic page, not a button to click on. How is it possible?
Can you post a screenshot of what you mean?
Thanks for this mod. It works fine on my ver 2.0.15 site.
However I notice it does not seem to work for topics in child boards ie I do not see the View Log button. Can anyone else who uses this mod confirm my observation? TQ
Hi again. The red warning in between the quick reply had my stomach churning and I was unsure if you had interest in continuing this mod at the time as it had been over 5 years.
I have a very large interest in this mod due to the fact that I run a more confidentially private section of the forum board for contests and events. If something leaks outside of the board, this modification would greatly aid me in finding the culprit as I want to keep such events and contests as fair play. That said, having this mod work for every board is also a nice bonus.
If the extra features can be included such as the date viewed by members and refreshing that to a newer date every time a member views the topic, that would be awesome.
From MEMBER-A ( 10 - 22 - 2024 ) then that is replaced by MEMBER-A ( 10 - 24 - 2024 )
Hello
@Doug Heffernan is there any chance to have this mod in version 2.1.4?
Quote from: Duban Black on March 11, 2025, 02:42:39 PMHello @Doug Heffernan
is there any chance to have this mod in version 2.1.4?
No, I don't plan to upgrade this mod.