Reset viewcount of all articles
This support request was posted in Flatbase by THORianer
- THORianer September 21, 2015 at 7:18 am
Dear Nicethemes,
is it possible to reset the viewcount of all articles? We’ll launch our knowledgebase in the next 1-2 weeks and want to start with a view count of “0”.
Would be great if you can provide a solution four us.
Best regards,
NickJuanfra Aldasoro September 21, 2015 at 2:16 pmHello Nick,
Thank you for writing. You can try running a function like this one (only once) in your site: https://gist.github.com/juanfraa/ebf1a4399b2dfa835d4d
Best,
Juan.THORianer September 22, 2015 at 7:09 amThanks therefore 🙂
BUT, it only works for few of articles (about 20%)…
Juanfra Aldasoro September 22, 2015 at 1:43 pmHello,
Thank you for the follow up. Well it should be working for all of them. The script does a query over all articles. Perhaps you didn’t run the script for the time it needed, or perhaps you are using a cache plugin which is saving the old values.
Best,
Juan.
You must be logged in to reply to this topic.