264
Now im working on this bug and will update the svn soon.
Quote:
read/unread feature when the read_mode = 1 (cookie)
There is another bad and obvious and
very old bug in newbb that need a little discussion.
Bug:
Number of topic views is increased every time a user ( anonymous or member instead of topic owner ) click on that topic.
The above is very bad because when a visitor ( a new user ) see a large number of views he wrongly think there were many different people click on that topic but dont send any reply.
for example see this topic in xoops.org home page:
Xoops .gzip compressionnumber of view are about 100 but IMO only less than 10 people click on that topic and other clicks are repeated views by those 10 people.
Also the above issue will increase the number of queries in newbb to increment the "topic view" field in db every time anybody click on that topic.
The above
can be solved by using/enhancing read/unread feature in newbb.
but first we should answer the following question.
- when we should increment the "topic views" in db?
1st answer: only for people never click on topic before.
2nd answer: only for people never click on topic before OR dont read one/some new posts in that topic.
implementing the 1st scenario is very easy in newbb.
but for the 2nd scenario we have problem when the read_mode = 1 ( no issue for read_mode = 2 )
for read_mode = 1 we should add one field in bb_topics table to record the last post time in that topic.
your opinions are highly welcomed.