Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Displaying Total number of views and Discussions

In my vanilla forum installation, I would like to show the grand total of all the discussions and views. How can I do that?
Tagged:
0
Answers
$TotalCount = Gdn::SQL()->Select('SUM(CountViews) As Total')->From('Discussion')->Value('Total');
Then you have to decide where you are going to want to put it.
grep is your friend.
grep is your friend.
would the above example be < php echo xxxxxx ? > or just that line?
whats denormalised?