MyBB Community Forums

Full Version: View Unread Posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
(2011-12-16, 09:54 PM)pavemen Wrote: [ -> ]so tracking the 1 million posts I have already read is more efficient than tracking the 1 millions posts a new user has not read?

Simply, yes Smile
Example: if there is a forum with 10.000 topics and 100.000 posts and you read all (or mark this one forum as read by clicking lightbulb), there is only one record in DB - this record is "last forum read" time.
So, there is three-level hierarchy:
- thread read time
- forum read time
- board read time

(2011-12-16, 09:54 PM)pavemen Wrote: [ -> ]The forum/thread cutoff days setting is there for a reason. So for large boards its going to be an impact.

I think is unnecessary.
There are a lot of bigger boards on phpBB3 (which has the same mechanism), and the script has no "cutoff days" limits.

(2011-12-16, 10:05 PM)lukasamd Wrote: [ -> ]
(2011-12-16, 09:54 PM)pavemen Wrote: [ -> ]The forum/thread cutoff days setting is there for a reason. So for large boards its going to be an impact.

I think is unnecessary.
There are a lot of bigger boards on phpBB3 (which has the same mechanism), and the script has no "cutoff days" limits.

I have always wondered if I could safely change this setting to a longer time because even though I have been using your plugin for a long time now I still have the issue that threads come up as unread after some time. My users complain about this and it's very annoying.
What could be a recommended setting for this?
Zero (0). You shuold disable cutoff limit.
Plugin disables it automatically while installation.
(2011-12-20, 11:10 AM)lukasamd Wrote: [ -> ]Zero (0). You shuold disable cutoff limit.
Plugin disables it automatically while installation.

What setting exactly? This?
Quote:Read Threads in Database (Days)
The number of days that you wish to keep thread read information in the database. For large boards, we do not recommend a high number as the board will become slower. Set to 0 to disable.
Yes, it should automatically change to 0 after plugin installation.
What exactly is the difference between '0' and a high number?, Lets say, '999'.
(2011-12-20, 07:21 PM)Omar G. Wrote: [ -> ]What exactly is the difference between '0' and a high number?, Lets say, '999'.

With a 0 value, mybb_threadsread and mybb_forumsread tables grow indefinitely and are never pruned by MyBB. that means on every page call to the portal, index and forumdisplay for every logged in user, you need to query those tables.

With any setting other than 0, MyBB will drop records that are older than X days.

999 is still a large number in my opinion for a busy/big site, but it is nearly 3 years worth of content.

So what is recommend? For small forums '0' may no sounds too bad, but as it growths will we need to change the number or definitively drop the plugin?

I see not much sense in using the plugin if at some point it will be unreasonable to use it at all.
Since everything older than the setting is automatically marked as read, you could simply set it to the number of days you want your users to be able to be away / on vacation and still able to track unread posts when they return...

The MyBB default (1 week) was too short for me, I set it to a very generous 60 days, although 30 would probably suffice. Larger values don't make much sense (what's the point of having a one year old thread show up as unread). Although it always depends on the forum - if you have a topic where threads don't get old, such as cooking recipes, maybe then it'll be different...
So if I use '60' then threads within that time are saved to check if they were read, whereas threads older that the number are automatically marked as read?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49