EZ SQL Reports Shortcode Widget and DB Backup

EZ SQL Reports Shortcode Widget and DB Backup Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 20,189 downloads
EZ SQL Reports Shortcode Widget and DB Backup Icon

Try plugin: EZ SQL Reports Shortcode Widget and DB Backup

We'll create fresh WordPress site with EZ SQL Reports Shortcode Widget and DB Backup installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About EZ SQL Reports Shortcode Widget and DB Backup

Create and save SQL Reports in your WP Admin and place them on pages and posts with a shortcode. Keep your database safe with automatic backups.

11


1


0


0


1

updated: 3 years ago
since: 13 years ago
author: Eli Scheetz

Description

Just place some SQL on in the box and save it as a report. You can save multiple reports and they will be listed on the Admin Menu so you can quickly run them again anytime with just one click. You can place your reports on the User’s Dashboard based on Roles. You can also put a report on a Page or Post using a shortcode like [SQLREPORT name=”My Report” style=”padding: 6px;” /]

There is also an shortcode for the wpdb::get_var function that you can use to display a single value from your database. For example, this will display the number of users on your site:
[sqlgetvar]SELECT COUNT(*) FROM wp_users[/sqlgetvar]
Note: because of a known exploit in the WordPress shortcode functionality it is required that an admin user create an SQL Report with the exact query that will be used in the sqlgetvar shotcode, otherwise any subscriber could white their own shortcode query.

If you want to include an “Export to CSV” button on your page or post then use the additional shortcode [SQLEXPORTCSV] once on any page or post that contains a report you want visitors to be able to download. Thanks to @loristictok and @rob66bnu for posting the suggestion with the JavaScript that I used to make this new Shortcode.
Note: Adding this shortcode to the just one time will insert the “Export to CSV” button at the top of every HTML Table on the page.

Automatic Database Backups

Your database can be automatically saved and archived every hour and/or every day, and backups can be emailed to the address you specify. You can also restore the data to your WP DB or an external DB, which makes copying your database to another server and easy task.