@mattab opened this Issue on August 3rd 2012 Member

Currently the Visitor Generator uses manual call to the DB, instead we should demonstrate best practise and use the recently introduced API to force old reports to be reprocessed, see: http://piwik.org/faq/how-to/#faq_155

@mattab commented on August 3rd 2012 Member

Code to replace is in: /trunk/plugins/VisitorGenerator/Controller.php at L72


  • Customize message
    • If "Browser trigger archiving" is enabled then simply say "The reports will be reprocessed the next time you visit the Piwik reports, it might take a few minutes."
  • If "Browser trigger archiving" is disabled, "Please re-run the archive.php Piwik script in the crontab to refresh the reports" or similar / feel free to edit
@anonymous-matomo-user commented on February 4th 2013

In b613d35e35360f62c0e2098c3c9ccfe470a06904: Use the Piwik API instead of directly accessing the database.

refs #3299

@anonymous-matomo-user commented on February 4th 2013

In 011794a78722bd99762ca12c4c11371033a310bc: Check for browser archiving in Controller.php

Show text according to browser archiving setting.

fixes #3299

@halfdan commented on February 4th 2013 Member

@capedfuzz, hope you didn't invest much time in this. Needed the VisitorGenerator for Alerts so I took a few minutes to refactor it.

@mattab commented on February 7th 2013 Member

Nice one!

This Issue was closed on February 7th 2013
Powered by GitHub Issue Mirror