Michael Simpson
Forum Replies Created
-
This is more of a question about the CFDB plugin on this help page: https://cfdbplugin.com/?page_id=904
Following that page, you copy the PHP code and paste it as a new code element in Shortcodes, Actions and Filters plugin. You do NOT have the shortcode box checked. You are adding filter functions, not a new shortcode.
You can ignore “Execute only for”. If you look at its drop-down, it list all the roles in your WP system. So that code would only be executed for users with the role selected there.
Forum: Plugins
In reply to: [Contact Form DB] Is this still an active pluginIf you uninstall CFDB, that data is NOT lost. It still sits in the database. To install the new version, uninstall the old one, then re-install the new one. You don’t loose anything.
The only exception: there is an option in the CFDB Options page under System tab to make the data delete on uninstall. That is off by default. That is intended for a case where you don’t want to use the plugin anymore and want it to cleanup the database when it uninstalls.
Follow instructions here: https://cfdbplugin.com/
Forum: Plugins
In reply to: [Contact Form DB] Avoid user registration to see uploaded PDF filesThis might be helpful: https://cfdbplugin.com/?page_id=625
Forum: Plugins
In reply to: [Contact Form DB] Save contact info but without uploaded filesIn the CFDB Options page, you can exclude fields from being saved.
Forum: Plugins
In reply to: [Contact Form DB] Relist Contact Form DB as a paid pluginFYI: you can get setup to get the plugin from GitHub.com. See top post on https://cfdbplugin.com/
I’ll accept pull requests on GitHub
Forum: Plugins
In reply to: [Contact Form DB] Will this plugin be maintained?Although the plugin is not listed on WP.org it can be found on GitHub. But you will need to do a couple things to make sure you can always update to the latest version.
* Download the lates release from GitHub https://github.com/mdsimpson/contact-form-7-to-database-extension/releases
* Uninstall the one you have
* Install the new version plugin via your WP plugins page by uploading the downloaded file
* Similarly install a plugin that will track updates from GitHub: https://github.com/afragen/github-updater/releases
When the plugin is updated, you will see a notice in the plugins page like normal, except it will be updated from GitHub.Forum: Plugins
In reply to: [Contact Form DB] How do we demand Contact Form DB be returned?The plugin is available on GitHub https://github.com/mdsimpson/contact-form-7-to-database-extension/releases/
Forum: Plugins
In reply to: [Contact Form DB] User not being entered in database anymoreSubmitted Login is only captured if the user is logged in when submitting the form.
Forum: Plugins
In reply to: [Contact Form DB] Location of CFDB databaseThe data is stored in table wp_cf7dbplugin_submits in standard installations. But the “wp_” part can be different depending on your installation’s database prefix.
I think this is a WP configuration issue.
https://www.ads-software.com/support/topic/php-fatal-error-unknown-cannot-use-output-buffering/
Unfortunately there is no hook into the edit action to tack on an additional action.
Forum: Plugins
In reply to: [Contact Form DB] Http to https and PHP 7 for Contact For DB ErrosI’m not sure. But check your WP Dashboard -> Settings -> General -> WordPress Address (URL) and Site Address (URL) and ensure they have the “s” in “https”.
Forum: Plugins
In reply to: [Contact Form DB] Hide Contact Form 7 if already submittedI’m not aware of any such thing. If CF7 had a hook that could decide whether or not to display a form, then you could add code like the Preventing Duplicates example, but I’m not aware of such a thing.
If you are Javascript savvy, then you could make an AJAX all to a CFDB JSON Export URL to get submissions from that users and if found, then have the Javascript hide the DIV that the form appears in or redirect to a different page.
Forum: Plugins
In reply to: [Contact Form DB] Export Not Working in ChromeI haven’t seen that issue. I don’t know if upgrading will help you but I don’t think it can hurt. There is no specific fix for such an issue.
Forum: Plugins
In reply to: [Contact Form DB] Filter Not WorkingI don’t see any problem there.
Adding
debug="true"
to the shortcode will print out some information about how the shortcode is parsing the filter. That may or may not be helpful.If the form submissions have a space somewhere, you have to account for this. Is the value exactly “Yes!” or might it be “Yes! ” or ” Yes!” or “Yes !”?
You might also try just this to see if you can get it to work:
[cfdb-table form="Wedding Questionnaire" filter="attending=Yes!"]