Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Views 1
kozmosis66
New
2.1 Baseline. A member pointed out to me that the "Views" of all discussions is showing 1 even when there are 10 or 20 posts. So obviously I am getting more views than what is showing. The only discussions which seem to be showing the appropriate number of views are the ones resulting from embedded blog comments from my main site which show on the forum.
I have searched her but not sure I found the answer. Is there a switch I am missing in the dashboard to turn on views to start counting?
1
Comments
http://vanillaforums.org/discussion/comment/209000/#Comment_209000
you might also try with vanilla statistics turned if after making changes, things still don't increment.
or use increment view plugin, if the above doesn't help you.
http://vanillaforums.org/addon/incrementview-plugin
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks peregrine I've been reading your link. I'm not so bright but I found the .htaccess file in the directory where my forum is located. There isn't much in the file.
Since there is no reference to the below code should I just add it to the file, and if so where?
php_flag magic_quotes_gpc Off
Thanks
first you want to find out if its on or off
just create a file to run phpinfo() or it is easier to install version check plugin.
http://vanillaforums.org/addon/versioncheck-plugin , enable it, and run phpinfo in the side panel.
the info page for php will appear describing your php setup
search in your browser for the word
magic_quotes_gpc
then it will either show.
magic_quotes_gpc Off
or
magic_quotes_gpc On
if it says magic_quotes_gpc On
then add
php_flag magic_quotes_gpc Off
to the top of your .htaccess file.
e.g.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks it was On. So I went and added that code so my .htaccess file looks like this below, and when I uploaded it to my server I got a Internal Server Error configuration error
Some hosts will not allow you to do it via .htaccess
see: comments and notes here:
http://php.net/manual/en/security.magicquotes.disabling.php
as an aside:
you should also change also remove the # from #RewriteBase / and point it where your forum is.
read the comment
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thank you so much peregrine. They have already done it and now when I view a topic the count is registering. I will also review the .htaccess file and the other changes you mentioned.