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.
Number of Views in Voting Plugin won't updated
After the installation of Voting plugin, every time I refresh page, the number of Views increased. so each posts had higher numbers of views.
But couple of days before, it suddenly changed. The number of views never increase unless I access the page from different computer from other place.
So my website looks like suddenly lost traffic. I really don't like it...
Is there any setting for the way of count the number of views of voting plugin ?? Or is there anything I missed like voting plugin is updated and count accurate numbers only now ?
0
Best Answer
-
peregrine MVP
geez
./vanilla/applications/vanilla/models/class.discussionmodel.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
0
Answers
Did you recently upgrade vanilla? I believe they recently changed the way the view count is tabulated (as you mentioned by ip) in the database . If the voting plugin retrieves the number of views (countviews) from the table (discussion), you would probably have to change the core . It is, what it is.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Can I ask how I can do it ?
You would possibly have to modify it in discussionmodel.php. I don't really know, so I can't tell you how to do it. Maybe one of the developers will tell you if there is a config setting or how to set it.
I saw something called $Configuration['Vanilla']['Views']['Denormalize']
but I don't really know what it does.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
hi peregrine,
thanks for your reply.
where is discussionmodel.php file located ?
geez
./vanilla/applications/vanilla/models/class.discussionmodel.php
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
i thought it's in Voting addon folder
and i found it but don't know what to do hahaha...
see this discussion @ponpon
http://vanillaforums.org/discussion/comment/157847#Comment_157847
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.