Michael Simpson
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] ‘[cfdb-json]’ shortcode use in my themeSince you are seeing the shortcode itself being printed out. That suggests that WordPress could not parse the shortcode and execute it. So there is probably a syntax error in your shortcode. I don’t see one based on what you posted. But please repost what you have formatted as “code” so I can see if there are any subtle errors.
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?Let me get back to you. If it is simple, I’ll get something in there in about a week. But I have to take a closer look.
Forum: Plugins
In reply to: [Contact Form DB] Weird extra columns are added to submissions?I bet you have WP-SpamShield plugin. It injects these random fields into form submissions
Solution: CFDB Options page, Do not save fields:
/.*wpcf7.*/,_wpnonce,/^[a-f0-9]{32}$/Forum: Plugins
In reply to: [Contact Form DB] CFDB as PostI suppose if you have a widget or someplace in your theme to place content that goes under every post automatically, then you could put a shortcode there.
Forum: Plugins
In reply to: [Contact Form DB] ‘[cfdb-json]’ shortcode use in my themeEnsure there are no line breaks inside the shortcode string.
Forum: Plugins
In reply to: [Contact Form DB] ‘[cfdb-json]’ shortcode use in my themeDo all shortcodes not work in your theme? It may be a problem with the Theme.
Also try a short version to see if that works:
$json = do_shortcode('[cfdb-json form="form name"]');Forum: Plugins
In reply to: [Contact Form DB] Import/Export Data as CSVNo plans currently to make that available via a shortcode.
I suppose you could write a shortcode to display the form that appear on the administration page onto a different page. The plugin file CF7DBPlugin.php has a function showShortImportCsvPage(). You could create a shortcode that instantiates this class and calls that function. I haven’t actually tried it that way.
Submitting the form won’t work unless you have the CFDB Editor installed (for the back-end code to actually to do the import).
The user submitting the form would have to be at a level that has CFDB permission “Can Edit/Delete Submission data”. And you can set the permission to view the administration pages to “Administrator” so that this user could not see it.
Forum: Plugins
In reply to: [Contact Form DB] Preventing Duplicate Submissions from Formidable ProI don’t have such an example. You would have to look at Formidable documentation to see if the is a validation hook and use that. You can still use the code from the example to check for a duplicate.
Forum: Plugins
In reply to: [Contact Form DB] Import/Export Data as CSVOnly on an administration page.
Forum: Plugins
In reply to: [Contact Form DB] CFDB as PostYou can create a CFDB shortcode and place that on a post.
Forum: Plugins
In reply to: [Contact Form DB] How to delete extraneous tables in Contact Form CB?Database table structure: http://cfdbplugin.com/?page_id=71
Forum: Plugins
In reply to: [WP Authenticity Checker] WP Authenticity Checker says plugins are maliciousRegarding my plugin, CFDB, you have:
/contact-form-7-to-database-extension/CFDBMimeTypeExtensions.php
Line 1579: “base64′ =>…”(and on other lines)
This is not malicious code either. It isn’t even a call to a function like base64_decode. It looks like the scanner is just naively reporting every time is sees “base64”.
Forum: Plugins
In reply to: [Contact Form DB] Order of columnsThis may be helpful to you for your next step: http://cfdbplugin.com/?page_id=1389
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?I haven’t done anything with it. But what is the idea, to cap the number of submissions to a certain number and delete the oldest ones when new ones come in?
Forum: Plugins
In reply to: [Contact Form DB] Addon,fuction,filter questionsI think we are talking about preventing duplicate submissions using CF7 hooks:
http://cfdbplugin.com/?page_id=904As I explain in that page, there is a limitation where the CF7 hook doesn’t tell us what form the validation is associated with. So to make it work with only one form, you need to use a unique field name that only appears on that form and no other. In the example I use “email_123”.