Camen Design Forum


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

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE[5]: 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


Your friendly neighbourhood moderators: Kroc, Impressed, Martijn