Michael Simpson
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form DB] Compatible with PHP 7?Forum: Plugins
In reply to: [Contact Form DB] DB ranking by calculating difference of 2 number columnsTry something like this:
[cfdb-table form="Turnier" hide="x,y" trans="x=strtotime(Startzeit)&&y=strtotime(Zielzeit)&&Dauer=human_time_diff(x,y)&&NaturalSortByField(Dauer)"]- This reply was modified 9 years, 5 months ago by Michael Simpson.
Forum: Plugins
In reply to: [Contact Form DB] Exporting form database as excel results in empty fileCreate an export link via the shortcode page and set “limit” to a low number like 10 or 100. Try the export. That should limit the memory usage and processing time. If that doesn’t work, it may be something about your server config that is wrong.
Forum: Plugins
In reply to: [Contact Form DB] Calculated Fields FormI have not made an integration specifically with that plugin.
I took a quick look at the plugin. There doesn’t seem to be any way to add a submit button or do a form submission. I’m guessing they only permit that in the paid version.
It is possible that adding the shortcode [cfdb-save-form-post] to the same post as the form will capture the submissions, but I can’t guarantee it.
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?It will take me some time. I’m not sure when I would get that out.
Please use the “code” button to format code that you post. Otherwise it is hard to read.
This line is to for you to set the URL for downloading your file from where you place it.
//$formCopy->posted_data[‘fileurl’] = ‘http://www.my-site.com/dir-upload/’;But I don’t think it appears as a clickable link in the administration page. If using a shortcode, you can add some JavaScript to make the link active. See: https://cfdbplugin.com/?p=867
Forum: Plugins
In reply to: [Contact Form DB] Save data depending of checkboxes in different databasesMy code suggestion might not be quite right. You may have to play around with it.
Forum: Plugins
In reply to: [Contact Form DB] Passing Variable using URLif you have another variable “x” with value “2” then add it to the URL:
detailPageUrl += "&x=2";as the 5th line.Forum: Plugins
In reply to: [Contact Form DB] Multi purpose formfilter="Pickup!=null"Forum: Plugins
In reply to: [Contact Form DB] database locationThat shouldn’t be there. It is not part of the plugin distribution but does refer to its table. I don’t know how that would get created. Delete it.
Forum: Plugins
In reply to: [Contact Form DB] Error when exporting into Excel.xlsxSee if you can increase memory: https://cfdbplugin.com/?page_id=251
Forum: Plugins
In reply to: [Contact Form DB] Search BoxIf you are using the [cfdb-datatable] shortcode, then it should add the search box on a post. If you don’t see it, then CSS on your site (from your theme) might be hiding it. Or there could be another plugin causing a JavaScript conflict. In that case, if you open the browser’s JavaScript console, you should see an error there.
Forum: Plugins
In reply to: [Contact Form DB] Multi purpose formIf you are using CF7 then there is a CFDB Option to capture the page URL that the form submission came from. If you are using some other form plugin then you would have to see if it provides an option to set a field based on the form location. In general CFDB can’t know where a form lives, it only knows what information the form plugin provides during a submission.
Forum: Plugins
In reply to: [Contact Form DB] Add unique ID to the insert queryI’m not familiar with Google Tag manager.
Forum: Plugins
In reply to: [Contact Form DB] Multi purpose form1. In a shortcode, you can use filter=”field1==null” or filter=”field1!=null”
A field is “null” if there is no value.
If you filter on “field1==null” then field1 will not display in the shortcode since none of the results have that field.
https://cfdbplugin.com/?page_id=89#filter2. In a shortcode, you can filter filter=”field1==Yes” to only display those rows which have that field set to “Yes”
3. Yes, using filter