smdami
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic QR Code - generator] Domain changeThe thrust of my message is that they work on mobile, but not desktop. The URLs are rewritten at the domain level.
Forum: Plugins
In reply to: [Gutenberg Block Editor Toolkit – EditorsKit] Conflict with ACF Media UploadSorry for the delayed response. I’m using 5.8.5. Have not had any issues with ACF Pro and Gutenberg, although I recognize things are fairly fluid with everything Gutenberg. Not a game changer either way. I’ve disabled for now.
Forum: Plugins
In reply to: [Gutenberg Block Editor Toolkit – EditorsKit] Conflict with ACF Media UploadHere you go Jeff…
[
{
“key”: “group_5baa53fb38f0e”,
“title”: “Resources”,
“fields”: [
{
“key”: “field_5bb7ca3bc093b”,
“label”: “Thumbnail Image”,
“name”: “thumbnail_image”,
“type”: “image”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“return_format”: “url”,
“preview_size”: “thumbnail”,
“library”: “all”,
“min_width”: “”,
“min_height”: “”,
“min_size”: “”,
“max_width”: “”,
“max_height”: “”,
“max_size”: “”,
“mime_types”: “”,
“show_column”: 0,
“show_column_weight”: 1000,
“allow_quickedit”: 0,
“allow_bulkedit”: 0
},
{
“key”: “field_586298d2750a1”,
“label”: “Resource Type”,
“name”: “resource_type”,
“type”: “select”,
“instructions”: “”,
“required”: 1,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“choices”: {
“articles”: “Articles”,
“ebooks”: “eBooks”,
“infographics”: “Infographics”,
“reports”: “Reports”,
“videos”: “Videos”
},
“default_value”: [],
“allow_null”: 0,
“multiple”: 0,
“ui”: 0,
“return_format”: “value”,
“show_column”: 0,
“show_column_sortable”: 0,
“show_column_weight”: 1000,
“allow_quickedit”: 0,
“allow_bulkedit”: 0,
“ajax”: 0,
“placeholder”: “”
},
{
“key”: “field_589380065b8f1”,
“label”: “Resource File”,
“name”: “resource_file”,
“type”: “file”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“library”: “all”,
“return_format”: “url”,
“min_size”: 0,
“max_size”: 0,
“mime_types”: “”
},
{
“key”: “field_58629961750a2”,
“label”: “URL”,
“name”: “url”,
“type”: “text”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“default_value”: “”,
“placeholder”: “”,
“prepend”: “”,
“append”: “”,
“maxlength”: “”
},
{
“key”: “field_58937a3bbf8e2”,
“label”: “Gated”,
“name”: “gated”,
“type”: “true_false”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“message”: “”,
“default_value”: 0,
“ui”: 0,
“ui_on_text”: “”,
“ui_off_text”: “”
},
{
“key”: “field_5ac7d06f98ba1”,
“label”: “Hit Count”,
“name”: “hit_count”,
“type”: “number”,
“instructions”: “”,
“required”: 0,
“conditional_logic”: 0,
“wrapper”: {
“width”: “”,
“class”: “”,
“id”: “”
},
“default_value”: 0,
“placeholder”: “”,
“prepend”: “”,
“append”: “”,
“min”: “”,
“max”: “”,
“step”: “”
}
],
“location”: [
[
{
“param”: “post_type”,
“operator”: “==”,
“value”: “resources”
}
]
],
“menu_order”: 0,
“position”: “normal”,
“style”: “seamless”,
“label_placement”: “top”,
“instruction_placement”: “label”,
“hide_on_screen”: “”,
“active”: true,
“description”: “”
}
]Forum: Plugins
In reply to: [Fast Secure Contact Form] Re-post of Malformed URL issueCorrect
Forum: Plugins
In reply to: [Fast Secure Contact Form] Attachment or URL via shortcodeWanted to share my solution:
Used the shortcode:
[si-contact-form form=’1′ hidden=’mypdf=/uploads/2015/11/mycustompdf.pdf’]And the si_contact_thank_you_message filter:
function pdf_fscf_thanks($ctf_thank_you, $form_id_num) {
$pdfurl = ”;
if ( isset( $_POST[‘mypdf’] ) ) {
$pdfurl = FSCF_Util::clean_input( $_POST[‘mypdf’] );
return $ctf_thank_you . ‘<p>Click here to download the requested document</p>’;
} else {
return $ctf_thank_you;
}}
add_action(‘si_contact_thank_you_message’, ‘pdf_fscf_thanks’);Forum: Plugins
In reply to: [Fast Secure Contact Form] Attachment or URL via shortcodeThanks for the response. There are other solutions available, was just hoping there was a documented way to do so with FSCF. BTW, Ken seems to be having some problems of his own. Error establishing a database connection…
Forum: Plugins
In reply to: [Fast Secure Contact Form] Attachment or URL via shortcodeThanks, but I’m not clear what action I can take after the email has been sent. Ideally I would like to pass in the name of an attachment via the form shortcode. Alternatively, do you think it possible to append to the “Success page additional HTML” using this hook? In which case, I could store the pdf URL in a hidden field, then retrieve it and append it to the “Success page additional HTML” before it gets written out. I appreciate any additional insights you can provide.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Issues with CaptchaThanks Eric. Good advice…was just wondering if there might not be another way. I like to leave clients with simple solutions if you know what I mean ?? I’ve actually come to the conclusion that a required field with a code word and regex validation may be the best solution in this case. Best regards!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Redirect Post URL malformedThe orphan ampersand is attached in line 1745 of class-fscf-process.php. I’ve removed it in line 1751 i.e. return substr($query_string, 0, -1). I will leave this issue open in hopes you can resolve this in future updates. Thanks again!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Redirect Post URL malformedI found out how to remove the variable at the end by reading a previous post, however the URL still has an & at the end which causes the redirect to occur. Thanks for any help you can provide.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Field names changed to lower caseThanks Mike!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Set select option values independent of textWell done, thank you.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Set select option values independent of textPerfect Mike! That’s what I was looking for. I appreciate your time and assistance. I love your plugin and have made a donation for your efforts. If you have a moment and have a chance to look at this thread https://www.ads-software.com/support/topic/field-names-changed-to-lower-case?replies=4#post-6318054 I would really appreciate it.
Forum: Plugins
In reply to: [Fast Secure Contact Form] Set select option values independent of textSo is the answer to my question “Is there a way to enter value and text pairs?” No?
Forum: Plugins
In reply to: [Fast Secure Contact Form] Set select option values independent of textJust as a follow up from my last point, I use the ACF plugin where it states the following when creating a select field:
Enter each choice on a new line.
For more control, you may specify both a value and label like this:red : Red
blue : Blue