This Piwik Plugin avoids regular users choosing date ranges as their default setting trying to save server resources, then removes custom range selection from the calendar.
Each time users asks for ranged date reports, Piwik builds it on the fly during user's request. This slows down the server when you have a big amount of visits and a large number of tracked websites. This action is resource intensive so when it happens, live tracking may become slow or inaccurate.
Installing this plugin you remove choices in the field "Report date to load by default" in User Settings page for all regular users. Superadmin users setting page remains untouched and adminstrators will see only a notification about plugin's behavior.
Since version 1.1.0 regular users can't select any more a custom range in the calendar but Superadmins still can build reports.
This plugin is translated in: English and Italian (just send a pull request to include your favourite language, see Can I contribute f.a.q.)
Please, read official Piwik's documentation about it.
I would like to see a demonstration... Just take a look at screenshots directory.
Is there any user interface configuration? No, any. You don't have to configure things, only to activate or deactivate the plugin.
Can I contribute on development? For sure! Just send a pull request on Github!
Repository configuration
First release and Marketplace integration
User Manager screen shot and better readme documentation
Custom date range selection is disabled in the calendar only for regular users. A shorts jQuery snippet hides radio input and submit button.
Regular users who chose a range date as their default are now forced to yesterday report just visiting the index page with a warning notification.
GPL v3 or later
Any feedback is welcome at the plugin's issues center on Github. https://github.com/RegioneER/RerUserDates/issues