Michael Simpson
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] "OR" condition on form search“||” is OR and “&&” is AND. You can chain filter expressions together. All ANDs are evaluated first, then ORs.
Forum: Plugins
In reply to: [Contact Form DB] cfdb is not saving page title and urlThis only applies to new submissions saved after the options are set.
Forum: Plugins
In reply to: [Contact Form DB] Google Spreadsheet Live Data – Not auto updatingReverse the sort order. Regenerate the export link from the Shortcode builder page with “orderby” set to “Submitted ASC”
Forum: Plugins
In reply to: [Contact Form DB] Duplicate – Missing Something Easy – Help AppreciatedYou have
return $result
Before the added code.Forum: Plugins
In reply to: [Contact Form DB] Calculate days between datesI think you will need to code your own up a custom transform in PHP
http://cfdbplugin.com/?page_id=1076And compute the difference:
http://stackoverflow.com/questions/676824/how-to-calculate-the-difference-between-two-dates-using-phpForum: Plugins
In reply to: [Contact Form DB] Retrieve data post and print in a pageUnfortunately no.
Forum: Plugins
In reply to: [Contact Form DB] Duplicate – Missing Something Easy – Help Appreciatedhttps://codex.wordpress.org/wp_get_current_user
$fieldName = 'Submitted Login'; $current_user = wp_get_current_user(); if ( 0 == $current_user->ID ) { // Not logged in. $result->invalidate($tag, 'Not logged in'); } else { // Logged in. $fieldValue = $current_user->user_login ; if (is_already_submitted($formName, $fieldName, $fieldValue)) { $result->invalidate($tag, $errorMessage); } }Forum: Plugins
In reply to: [Contact Form DB] Odd data saved to CFDB on the ReCaptcha field-not spamTo stop capturing this field, in the CFDB Options page, there is an option for fields NOT to save. Add g-recaptcha-response to that.
Forum: Plugins
In reply to: [Community Yard Sale] Address cannot be located on Google MapsI’ve learned recently that the Google Map will not work in the plugin for web site domains registered after June 22, 2016. This is a Google thing. You now have to get an API key from Google for new sites (old ones are grandfathered in). But I have to update the plugin to allow you to enter and use the API key. I’m looking into what I need to do.
Forum: Plugins
In reply to: [Contact Form DB] Sort PLZIn the administration view, click the column header to sort.
Data displayed by a shortcode can be ordered by any field using “orderby“. That is a simple text sort.
A smarter sort is to use the NaturalSortByField transform like this:
[cfdb-table form="your-form" trans="NaturalSortByField(field-name)"]Forum: Plugins
In reply to: [Contact Form DB] read more detail per rawTo list the options:
SELECT * FROM wp_options WHERE option_name like 'CF7DBPlugin_%'Forum: Plugins
In reply to: [Contact Form DB] Not Getting previous listWhat kind of export file?
Forum: Plugins
In reply to: [Contact Form DB] How to call the fieldname?Then follow this example, and add in all your echo statements in the “while” loop that loops through each row.
Forum: Plugins
In reply to: [Contact Form DB] read more detail per rawYou might try temporarily switching back to the default theme. Let me know if that works.
Forum: Plugins
In reply to: [Contact Form DB] CFDB – Access PermissionsThere is a separate option for who can see the admin page.