starapple
Forum Replies Created
-
Is the problem confined to the paid ACF Pro or is the same function in the free AFC?
Forum: Fixing WordPress
In reply to: How do I add a frontend form for logged-in users similar to this oneThanks @threadi. I’ll try the filter. Don’t want to use a plugin to solve a problem for a plugin I’m writing.
Forum: Fixing WordPress
In reply to: How do I add a frontend form for logged-in users similar to this one@threadi , @bcworkz , thanks for your replies. I am creating a form for logged in users to submit a CPT, Articles, from the front to avoid access to the Admin area. I added an Editor field using Secure Custom Field but on opening the submission in Gutenberg, rather than the multiple paragraphs in the written article in the WYSIWYG editor, it appears as one big blob of a paragraph.
Of course, it also displays in the published article as one huge paragraph, hence, I want to achieve the functionality of the Gutenberg editor that creates the correctly formated paragraph with a hard return.
As @threadi, said, it is about sanitizing the inputs, which I think may be achieved by uskng an editor that emulates Gutenberg. This support forum I could recall using a stripped down Gutenberg editor for signed in users with limited roles.
Forum: Plugins
In reply to: [Video Conferencing with Zoom] Embedding the meeting in a pageThanks, @digamberpradhan
Forum: Everything else WordPress
In reply to: How do I retrieve a wooCommerce General Settings option?Thanks @t-p, I know all about the policies for paying vs non paying users’ support. Anyway, my problem was solved after I disabled a plugin, “Min Max Step Quantity Limits Manager for WooCommerce” and everything went back to normal and proved that the problem was not my script. Whew!
Hi @sanjuacharya77,
It was a very bad experience with the downloaded file. I tried installing it and there was no main plugin file so I reverted to the original.
Forum: Plugins
In reply to: [WP24 Domain Check] How do you select a registrar from which to buy?Thanks, @wp24dotorg. I guess I could just join an affiliate programme for one of the registrars and use their plug-in.
Adding replacement link to reach the page I need help with as it has restricted access. New link. You will be redirected to the page.
Hello @dilip2615, I spent the day going around in circles and ended up with the same result. You can look at the JavaScript in the console and see if I was on the right track.
Hi @dilip2615, thanks for your suggestions. I’ll give them a try in a moment and report.
Forum: Everything else WordPress
In reply to: How to Create A Gutenberg File Upload Custom BlockI have moved on to creating a form block and will create a new post with questions about the work so far.
Forum: Everything else WordPress
In reply to: How to Create A Gutenberg File Upload Custom Block@iu34 thanks for your reply. I seem to be missing something. The original snippet I posted has this
"const MyFormFileUpload” that wraps around theFormFileUploadtag. What is the constant’s role in the script? Is it needed in the example you gave?Do I insert your code in the opening FormFieldUpload tag?
This is what I have tried but get a WordPress error:
import { registerBlockType } from '@wordpress/blocks';import { FormFileUpload } from '@wordpress/components';registerBlockType('custom/file-upload', {<FormFileUpload accept="image/*"title: 'file Upload',icon: 'upload',category: 'common',edit: () => (console.log(event.currentTarget.files)} >Upload),save: () => null, // Save function returns null for dynamic blocks</FormFileUpload>});Thanks.
You want others to do your job? You tell your developers. I am a WordPress user of the plugin and a security scanning plugin reported a security flaw. I am not interested in the inner functions or code. There is an enduser problem and when an enduser reports an issue, support connects with the developers.
@acfsupport, thanks for your response. I got it figured out with the help of one of your colleagues with the following snippet based on my previous post:
if(is_array( $field['value'])): // Convert array to comma-separated values $csvString = implode(',', $field['value']); // Output the result ?> <p><?php echo $field['label']; ?> <?php echo $csvString; ?></p> <?php elseif(is_string($field['value'])): ?> <p><?php echo $field['label']; ?> <?php echo $field['value']; ?></p> <?php endif;I did not need the conditional checks of fields as suggested in the block of code from your colleague and it was quite acceptable for the $field[‘value’] variable to be used on the right hand side instead of
$array.Thanks @wplakeorg. I installed the extension and activated Advanced Views without incident. Other plugins using curl, such as WooCommerce, had been functioning without trouble so I’d not have thought to enable the php extension.