Advertisement:

Author Topic: Who has Read this Topic  (Read 1162 times)

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
Who has Read this Topic
« on: March 04, 2018, 04:56:07 PM »
Link to Mod

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.

Brought to you by generalcartalk.com.
It's fast, it's furious, it's generalcartalk.com

Check out my mods

Online Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 1,897
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Who has Read this Topic
« Reply #1 on: March 04, 2018, 07:10:29 PM »
A simple and very good modification I really congratulate you. I leave the translation to Latin Spanish!

Code: [Select]
<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&iacute; 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!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,109
  • Gender: Male
    • Kindred-999 on GitHub
Re: Who has Read this Topic
« Reply #2 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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Virginiaz

  • Semi-Newbie
  • *
  • Posts: 46
Re: Who has Read this Topic
« Reply #3 on: March 04, 2018, 11:58:42 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.
« Last Edit: March 05, 2018, 12:13:35 AM by Virginiaz »

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,919
  • Gender: Male
    • i30 Owners Club
Re: Who has Read this Topic
« Reply #4 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 mod?

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
Re: Who has Read this Topic
« Reply #5 on: March 05, 2018, 05:43:11 AM »
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.

Not looked at the mod (other than the posted screenshots) but how does it differ from Topic View Log mod?

To be honest I do not know as I was not aware of that mod until your post.
It's fast, it's furious, it's generalcartalk.com

Check out my mods

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,109
  • Gender: Male
    • Kindred-999 on GitHub
Re: Who has Read this Topic
« Reply #6 on: March 05, 2018, 09:32:21 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.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
Re: Who has Read this Topic
« Reply #7 on: March 05, 2018, 04:59:15 PM »
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.
It's fast, it's furious, it's generalcartalk.com

Check out my mods

Offline SaidJan

  • Semi-Newbie
  • *
  • Posts: 94
Re: Who has Read this Topic
« Reply #8 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?

Offline doug_ips

  • Jr. Member
  • **
  • Posts: 141
    • generalcartalk.com
Re: Who has Read this Topic
« Reply #9 on: April 20, 2018, 08:20:00 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?
It's fast, it's furious, it's generalcartalk.com

Check out my mods

Offline jack208

  • Semi-Newbie
  • *
  • Posts: 42
Re: Who has Read this Topic
« Reply #10 on: July 27, 2018, 07:03:15 PM »
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