Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Displaying total number of forum views?

VazVaz New
edited September 2007 in Vanilla 1.0 Help
Hi guys, I'd like to display the total number of forum discussion views. (example: This forum has had xxxxxx number of views since '06) Does anybody know how I could do this? I do have the nuggets extension enabled (if needed).

Comments

  • Options
    Discussion view counter may be what you want. It counts per discussion, but I suppose there could be a way to sum the counts together for a grand total.

    Another option is to display the result of this SQL: SELECT COUNT(*) FROM LUM_UserDiscussionWatch;
    Although that won't be a perfect result--it doesn't count guest views and only counts once per user-discussion--i.e. if a single user reads the discussion a dozen times, it only counts once--their latest visit.
This discussion has been closed.