Mybb: Suggestion to add the limit for thread views.

Created on 11 Feb 2018  路  3Comments  路  Source: mybb/mybb

Currently, topic views are increasing each time the page is reloaded. I suggests adding a limit so one user can increase the number of topic views only once.

Most helpful comment

The problem with this is that you would need a views table which holds the userID (or IP) of the viewer and the topic which was viewed. This is a lot more expensive than just doing a simple increment.

Most likely the IP, as the vast majority of topic views would be from guests rather than members.
Unless, you have something else in mind? Sadly, it's a feature which sounds simple, but has more consequences than you would think.

All 3 comments

The problem with this is that you would need a views table which holds the userID (or IP) of the viewer and the topic which was viewed. This is a lot more expensive than just doing a simple increment.

Most likely the IP, as the vast majority of topic views would be from guests rather than members.
Unless, you have something else in mind? Sadly, it's a feature which sounds simple, but has more consequences than you would think.

This should be closed as it's not feasible.

Agreed, closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

woostarUK picture woostarUK  路  4Comments

LogicPlague picture LogicPlague  路  5Comments

euantorano picture euantorano  路  4Comments

euantorano picture euantorano  路  4Comments

dvz picture dvz  路  5Comments