Michael Simpson
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] inserting to specific database tableI don’t have an example. You would need to have development knowledge to do.
Forum: Plugins
In reply to: [Contact Form DB] Fields nameSubmissions that are already stored are not affected. They will still have the save field names as before.
Forum: Plugins
In reply to: [Contact Form DB] There isn’t any advance search Query for Contact Form 7 DBNo, that is a plain HTML form.
Forum: Plugins
In reply to: [Form to Post] Form FieldsPost your code in http://phpcodechecker.com/
Forum: Plugins
In reply to: [Contact Form DB] Import/Export Data as CSVThis worked for me:
include_once(ABSPATH . 'wp-content/plugins/contact-form-7-to-database-extension/CF7DBPlugin.php'); $plugin = new CF7DBPlugin(); $plugin->showShortImportCsvPage();Forum: Plugins
In reply to: [Contact Form DB] There isn’t any advance search Query for Contact Form 7 DBHere is an example of creating a search form: http://cfdbplugin.com/?page_id=680
Forum: Plugins
In reply to: [Contact Form DB] inserting to specific database tableIt doesn’t do that. But you could code a hook to intercept the form submission and save the data where you want it.
Forum: Plugins
In reply to: [Contact Form DB] Error importing dataYou should search the web for solutions to not being able to read C:\Windows\Temp for your version of Windows.
Forum: Plugins
In reply to: [Contact Form DB] Preload CF7-form with data from CFDBNo “easy” way. No plan at this time.
Forum: Plugins
In reply to: [Contact Form DB] Addon,fuction,filter questionsYour my_validate_email function has extra stuff in there. This function runs for all email fields. So in the function, you want all code that checks & rejects anything to be inside the “if” statement that check the field name (and that field name should only be on one form.
That function should just be this:
function my_validate_email($result, $tag) { $formName = 'Team_Form'; // Change to name of the form containing this field $fieldName = 'Team_Validate'; // Change to your form's unique field name $errorMessage = 'Email has already been submitted'; // Change to your error message $name = $tag['name']; if ($name == $fieldName) { if (is_already_submitted($formName, $fieldName, $_POST[$name])) { $result->invalidate($tag, $errorMessage); } } return $result; }Forum: Plugins
In reply to: [Contact Form DB] Is their a way to import Large CVS into Contact Form 7 DBYou might try increasing the available memory for PHP. See http://cfdbplugin.com/?page_id=251
Otherwise, you could try breaking it into several files. But you need to have the header line at the beginning of each file.
No, it doesn’t support that.
Forum: Plugins
In reply to: [Form to Post] Form FieldsIt sounds like you just need to debug your own code.
Forum: Plugins
In reply to: [Contact Form DB] Translating column titlesSome of the fields like “Submitted …” and “Page Title” you can’t change in the administration view. But when displaying your table with a shortcode you can rename the columns using “headers”
In the CFDB Shortcodes page you can generate a [cfdb-export-link] shortcode and put that on a post for people to download. You can set the headers, filters, etc.
Forum: Plugins
In reply to: [Contact Form DB] Fields nameGood question. I wrote this in my blog: https://cfdbplugin.com/?page_id=1571