Camen Design Forum

Feature Request:Forum Topic Views Counter!


Bots could be countered for the most part by looking at past projects though. phpBB is a popular forum system that counts views and they are getting pretty accurate results after filtering out 45 different bots [1]. NNF could easily take over this list.

The StackExchange question on this subject [2] is interesting to look a too. The advice their boils down to:

1. Create a user-agent blocklist, like phpBB has, but possibly use a bigger dataset such as the database by [3] or [4].
2. Ignore all user-agents sporting the words `bot`, `slurp`, `spider`, `crawl`, `archiver`, and `facebook`.
3. Use JavaScript to instantly exclude most of the bots going around.
4. Create a honeypot to collect more bot user-agents.

Most of this feels like it would make for an extreme bloat in the NNF source-code though.

Another problem (that I just thought of) is that NNF would need to introduce some sort of sessions system otherwise many valid users will inflate the counter as well: I will be counted when I read page 1 of a thread, again on page 2, again on page 3, then I might write a reply and after hitting the reply button I would be counted again. So even excluding bots this will be a problem.


[1]: (Latest master commit, as of today)

:: @Martijn added on 08 Jun ’14 · 09:38



(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn