Current time: 04-18-2014, 08:45 PM Hello There, Guest! (LoginRegister)


Subforum read/unread inconsistencies [R]
01-31-2009, 11:56 AM (This post was last modified: 01-31-2009 11:57 AM by frostschutz.)
Post: #31
RE: Subforum read/unread inconsistencies [R]
This user has been denied support. This user has been denied support.
Quote:// If our subforum is unread, then so must be our parents. Force our parents to unread as well

I did this at the beginning in my plugin, but I'm not sure if it's a good thing to do. It may be too aggressive. Doing this forces a user to read all posts in all forums always, even if he's not interested in a specific subforum. And it breaks the 'mark this forum read', and changes how MyBB used to work, so far it was legal to mark a parent forum read while a subforum was still unread. So the user could say, "yes I know there are unread threads in the subforum, but I'm not interested in them right now, so mark the parent forum read anyway".

Forums with combined icons don't have that problem, they can show parent forum status and subforum status separately. Without combined icons, you have to make a choice as to what the icon is supposed to stand for. Parent forum only? Subforum always wins? Or something in between (subforum wins but only if it's lastpost is newer than the parent forums lastread), which is what MyBB did so far.

For the case where there is no read record, I think thread read cut must be used instead of 0. Otherwise it'll always be unread even if thread read cut causes threads to be read anyway. Unless I understood that feature wrong. It marks all threads that are older than a certain threshold as read, right?

Quote:Since cookies have a limit, sometimes it would be impossible to properly store all the forum ids in the forumsread cookie.

Even if it was possible, if a user has to upload 4kb of cookie data for every request (I think that's the limit imposed by IE), the forum is going to be slow as heck too. Most people have a decent downstream nowadays, but upstream is usually extremely limited, at least that's how DSL works in Europe. Big downstream, small upstream. So cookies shouldn't be used for storing 'huge' amounts of data.

This is getting a bit out of hands here, huh Huh

Google SEO | Gravatar | Hooks | HTMLPurifier | Overview | Patches | PluginLibrary @ GitHub/frostschutz
Find all posts by this user
01-31-2009, 04:41 PM
Post: #32
RE: Subforum read/unread inconsistencies [R]
(01-31-2009 11:56 AM)frostschutz Wrote:  
Quote:// If our subforum is unread, then so must be our parents. Force our parents to unread as well

I did this at the beginning in my plugin, but I'm not sure if it's a good thing to do. It may be too aggressive. Doing this forces a user to read all posts in all forums always, even if he's not interested in a specific subforum. And it breaks the 'mark this forum read', and changes how MyBB used to work, so far it was legal to mark a parent forum read while a subforum was still unread. So the user could say, "yes I know there are unread threads in the subforum, but I'm not interested in them right now, so mark the parent forum read anyway".

Yes. One thing at a time though. We'll worry about everything else later. Once we get the indicators working 100%, we can then modify things to work with what we broke but right now I am only concerned about the indicators.

(01-31-2009 11:56 AM)frostschutz Wrote:  For the case where there is no read record, I think thread read cut must be used instead of 0. Otherwise it'll always be unread even if thread read cut causes threads to be read anyway. Unless I understood that feature wrong. It marks all threads that are older than a certain threshold as read, right?

All it does is simulate a non read record forcing the indicator to be "unread". Either way should work but 0 should 110% always work. So unless there is a specific reason we should use one over the other, I don't see the point in questioning it.

(01-31-2009 11:56 AM)frostschutz Wrote:  
Quote:Since cookies have a limit, sometimes it would be impossible to properly store all the forum ids in the forumsread cookie.

Even if it was possible, if a user has to upload 4kb of cookie data for every request (I think that's the limit imposed by IE), the forum is going to be slow as heck too. Most people have a decent downstream nowadays, but upstream is usually extremely limited, at least that's how DSL works in Europe. Big downstream, small upstream. So cookies shouldn't be used for storing 'huge' amounts of data.

I forgot to mention that I specifically commented out that line so we didn't have to worry about further functionality. I just want to focus on this one bit of logic and then we can branch out to other logic once we get this one to work.

(01-31-2009 11:56 AM)frostschutz Wrote:  This is getting a bit out of hands here, huh Huh

Not really. We're making some progress. I definately fixed 4 separate problems all for 1 bug lol.
Visit this user's website Find all posts by this user
04-30-2009, 08:32 AM
Post: #33
RE: Subforum read/unread inconsistencies [R]
This user has been denied support. This user has been denied support.
Feel free to move this old bug report to bogus or something. While the problem isn't fixed, most comments in this thread are invalid / outdated, so if you want to fix this issue you'd probably have to start from scratch. I decided to not use subforums in my own forum after all (too many issues with it) so I personally am no longer interested in getting this fixed.

Maybe issues such as this can be given some more thought for 1.6 or 2.0 because it's really a shame if a forum software can't even tell correctly wether it has unread posts in a forum or subforum somewhere.

Google SEO | Gravatar | Hooks | HTMLPurifier | Overview | Patches | PluginLibrary @ GitHub/frostschutz
Find all posts by this user
04-30-2009, 02:41 PM (This post was last modified: 04-30-2009 02:42 PM by Ryan Gordon.)
Post: #34
RE: Subforum read/unread inconsistencies [R]
(04-30-2009 08:32 AM)frostschutz Wrote:  Feel free to move this old bug report to bogus or something. While the problem isn't fixed, most comments in this thread are invalid / outdated, so if you want to fix this issue you'd probably have to start from scratch. I decided to not use subforums in my own forum after all (too many issues with it) so I personally am no longer interested in getting this fixed.

Maybe issues such as this can be given some more thought for 1.6 or 2.0 because it's really a shame if a forum software can't even tell correctly wether it has unread posts in a forum or subforum somewhere.

Every forum software has the same problem - Like I said, it's a limitation. Implementing a 100% way would make servers crash. If you don't believe me, try it yourself.
Visit this user's website Find all posts by this user
05-02-2009, 07:42 PM
Post: #35
RE: Subforum read/unread inconsistencies [R]
(04-30-2009 02:41 PM)Ryan Gordon Wrote:  Every forum software has the same problem
Has WBB the same problem? No.
Has phpBB the same problem? No.
Has vBulletin the same problem? No.
Has MyBB the problem? Yes.
Visit this user's website Find all posts by this user
05-03-2009, 05:58 AM
Post: #36
RE: Subforum read/unread inconsistencies [R]
(05-02-2009 07:42 PM)daniel2037 Wrote:  
(04-30-2009 02:41 PM)Ryan Gordon Wrote:  Every forum software has the same problem
Has WBB the same problem? No.
Has phpBB the same problem? No.
Has vBulletin the same problem? No.
Has MyBB the problem? Yes.

They do have the same problems. If you don't believe me, show me what we are doing wrong and give me a way that won't crash servers and doesn't remove functionality.
Visit this user's website Find all posts by this user
05-03-2009, 01:09 PM
Post: #37
RE: Subforum read/unread inconsistencies [R]
will this bug that you guys are discussing / mentioning / fixing
will it come out as fixxed in any of the next versions to come ?

Or is there a patch for 1.4.6 ?
as 1.4.6 is what im using now.
Find all posts by this user
05-03-2009, 01:10 PM
Post: #38
RE: Subforum read/unread inconsistencies [R]
No. Apparently it's impossible to fix.
Visit this user's website Find all posts by this user
05-04-2009, 02:43 AM
Post: #39
RE: Subforum read/unread inconsistencies [R]
Completely out of the kit-n-kaboodle, bobbit, but you seem to have gotten off on the wrong foot with Ryan here.

good u
Visit this user's website Find all posts by this user
05-04-2009, 02:46 AM
Post: #40
RE: Subforum read/unread inconsistencies [R]
Maybe I'm confusing another impossible fix with this one. Either way, it's not 100% fixable Toungue
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication