bgermann
Forum Replies Created
-
Forum: Plugins
In reply to: [cformsII] Cforms not showing up on pagesThis is deprecated syntax and will be removed. Shortcodes should really work.
- This reply was modified 8 years, 9 months ago by bgermann.
Forum: Plugins
In reply to: [cformsII] Cforms not showing up on pagesSo what does your Shortcode look like?
[cforms name="formName"]?Does it use the right form name?
Forum: Plugins
In reply to: [cformsII] Java date picker populating wrongThe JavaScript date picker depends on an external CSS file from https://ajax.googleapis.com. Probably your browser is not able to fetch a file from that site.
Forum: Plugins
In reply to: [cformsII] https use with cformsII Subscribe to this pluginThe CSS URL is derived from WordPress’s
plugins_url()function. That should take HTTP/HTTPS into account, because it callsset_url_scheme(WP_PLUGIN_URL). If that does not work for you, please ask in the WordPress Core forums or use theset_url_schemefilter.Forum: Plugins
In reply to: [cformsII] my-functions: what to use instead of successMessage ?You can always use the PHP superglobal
$_POST.Forum: Plugins
In reply to: [cformsII] e-mail formI just enabled more than one cc emails. You will have to wait for the next release or use the development version.
Forum: Plugins
In reply to: [cformsII] Cforms not showing up on pagesI guess you mean “Shortcode”. So what does your Shortcode look like?
Do you have a link to that particular page?
Forum: Plugins
In reply to: [cformsII] noide- added to my uploaded mps3There is a checkbox named “Disable noid- (tracking ID) prefix”.
Forum: Reviews
In reply to: [cformsII] New versions are worst and worstThe answer to the questions in your first paragraph is: Simplifying the code base and throwing out stuff that is not needed by everyone is key to guarantee better quality and security (!) in the future.
E.g. the usage of wp_mail() (current) instead of PHPMailer + mail() (old) integrates better with WordPress and gets rid of a dependency that WordPress itself has anyway. The old PHPMailer that cformsII used is vulnerable to many security issues.
About the CAPTCHA: The old cformsII CAPTCHA was pointless, as you can easily circumvent it. So it is far better to have a functional additional plugin than relying on a vulnerable CAPTCHA.
The 14.6 code base (where cforms2 was forked from the original) is blown up and really bad. By the way, you can still copy forms from one project to another by editing debug output in general settings.
I do not understand your second paragraph. Maybe it is an issue I am not aware of.
Forum: Plugins
In reply to: [cformsII] Date dont use localisation?So you do not use the
{Date}variable in your mail, I guess, but you want to change the output of your date field. For HTML5 date fields there is no built-in way to do this. I would suggest using the JavaScript date picker instead. By the way, HTML5 date browser support is not good. You do not have support for it in IE or Firefox.Forum: Plugins
In reply to: [cformsII] Date dont use localisation?@digibij: Which cformsII and WordPress versions do you use? In which mail is the
{Date}variable not replaced correctly? Admin mail, cc mail or confirmation mail?Maybe another plugin sets the default date locale to the YYYY-MM-DD value. Have you tried with all other plugins deactivated?
Forum: Plugins
In reply to: [cformsII] Dinamicaly insert custom fields values in cforms fieldsYou set the is… like the label and type.
$sb_label = 'Selectbox Label'; foreach($roomtypes as $roomtype) { $sb_label .= '#' . $roomtype; } $base_cform_id = ''; $labels = [ $sb_label, "Foo Field's Label", "Bar Field's Label" ]; $types = [ 'selectbox', 'textfield', 'textfield' ]; $req = [ false, true, true ]; $email = [ false, false, false ]; $clear = [ false, false, false ]; $diabled = [ false, false, false ]; $readonly = [ false, false, false ]; $dynamic_fields = [ 'label' => $labels, 'type' => $types, 'isreq' => $req, 'isemail' => $email, 'isclear' => $clear, 'isdisabled' => $disabled, 'isreadonly' => $readonly ]; insert_cform($base_cform_id, $dynamic_fields, '+');Forum: Plugins
In reply to: [cformsII] Dinamicaly insert custom fields values in cforms fieldsYou find the documentation for
insert_custom_cformat the plugin’s help section under “Advanced: Real-time creation of dynamic forms”. However the function will be deprecated with version 14.14 in favour ofinsert_cform, which provides the same feature set. You can do it like this:$sb_label = 'Selectbox Label'; foreach($roomtypes as $roomtype) { $sb_label .= '#' . $roomtype; } $base_cform_id = ''; $labels = [ $sb_label, "Foo Field's Label", "Bar Field's Label" ]; $types = [ 'selectbox', 'textfield', 'textfield' ]; $dynamic_fields = [ 'label' => $labels, 'type' => $types ]; /* You can also extend $dynamic_fields with isreq, isemail, isclear, isdisabled, isreadonly */ insert_cform($base_cform_id, $dynamic_fields, '+'); /* In ver 14.14 you can leave out the '+'. */- This reply was modified 8 years, 10 months ago by bgermann.
Forum: Plugins
In reply to: [cformsII] Search OptionSee the other thread where you posted.
Forum: Plugins
In reply to: [cformsII] No Download optionYou cannot download existing records from the cformsII tracking db. New submissions will be stored by CFDB if you activate cformsII support in CFDB. They can then be downloaded in CFDB.
If you want your existing records in the CFDB database, you have to install cformsII’s development version.