• Resolved pzh20

    (@pzh20)


    I have a create post form, with a field set to Featured Image and another which is just an image.

    Neither of the links to upload images work, just nothing happens when you click the link

    • This topic was modified 2 years, 1 month ago by pzh20.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    I just tested it and it works fine on my end. Here is the video of my test.

    You might have some errors in your code, you could check your browser console for Javascript errors (F12 on Chrome).

    I would recommend to setup a clean WP install with ACF Pro + ACF Extended only, and test the feature on it. If you prefer to keep your installation, then try to disable all your plugins one-by-one (at the exception of ACF Pro & ACF Extended) until you find which one cause the issue.

    If the problem persists, I would suggest switch to the native WP Twenty Twenty Two theme, to make sure you don’t have any custom code in your theme that would break the feature.

    Here is the Field Group Json export and the Form Json export from the video, in order to test it on your setup.

    Let me know if you found something.

    Regards.

    Thread Starter pzh20

    (@pzh20)

    Konrad,

    OK, I found a conflict between Frontend ACF Admin and your plugin, the one I’m trying to replace !

    I have to image links on the form, one for the featured image and another. The one that is set to Featured Image in the form config does not work, whilst the one just set to Image does. I see there have been some issues with using the Featured Image in the create post forms with other users, is this still a problem? Is there any workaround for it?

    Many thanls
    Pete

    Thread Starter pzh20

    (@pzh20)

    There is no element created in the html

    <div class="acf-field acf-field-featured-image acf-field-6344284223a0e is-required" data-name="featured_image" data-type="featured_image" data-key="field_6344284223a0e" data-required="1">
    <div class="acf-label">
    <label for="acf-field_6344284223a0e">Image <span class="acf-required">*</span></label></div>
    <div class="acf-input">
    </div>
    </div>
    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    This plugin has a pretty long history of incompatibilities with ACF Extended. This is not the first time I get such report. Unfortunately it uses non-conventional code to add its features to ACF, making it nearly impossible to be compatible.

    Adding to that, my previous investigations while trying to help ACFE users, lead me to find out that its author copy/pasted some free ACF Extended feature (the Google reCaptcha field) and sell it in his Pro package, without credit or mention me, which is kinda edgy if you want my opinion. See related support discussion.

    I hope you’ll understand that I will not spend time debugging someone else code in these circumstances.

    Regarding the Featured Image feature, it works, see my answer to your previous post, and my answer above here. You can use the Field Group & Form Export json to test it by yourself.

    Have a nice day!

    Regards.

    Thread Starter pzh20

    (@pzh20)

    That’s terrible if someone is stealing your code. Anyway, if I can get this working I will be cancelling my subscription to his pluging and focusing on your’s.

    However, what about the Featured Image issue, are you fixing this code, or is there a workaround that I can use a normal image as the Featured image?

    Regards Pete

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Please see my answer above:

    Regarding the Featured Image feature, it works, see my answer to your post on an another thread, and my answer above here. You can use the Field Group & Form Export json to test it by yourself.

    Have a nice day!

    Regards.

    Thread Starter pzh20

    (@pzh20)

    Can you show me the definition in the form, mine shows a link but it’s null (#).

    Many thanks

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    What do you mean by “mine shows a link (#)”? Can you share a screenshot?

    Here is a screenshot of the “Post Action” from the working form example of the video from my first answer.

    If you want to test it, you can import the Field Group Json export and the Form Json export from the “Custom Fields > Tools” admin menu. Once imported, you’ll see the whole form configuration.

    Note that you have to check the Image Field in the “Save ACF Fields” setting of the “Post Action”, in order to upload the image to the Post and trigger the “Featured Image” feature.

    Regards.

    Thread Starter pzh20

    (@pzh20)

    Sorry, the offending plugin caused a link to be shown but with a anchor link only. Your plugin does not show a link to select a image to upload when set to Featured Image.

    Here is a screenshot of the form on the front end and back end

    front and back ends

    front and back ends

    Thread Starter pzh20

    (@pzh20)

    So you are not using the Featured Image field type for the image?

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    It seems like the featured_image & post_title do not exist in your screenshot, so they will probably not work correctly or show up. See screenshot.

    In ACF Extended, there is no such field as “Featured Image”. The “Featured Thumbnail” in ACF Extended is a setting than can be enabled directly within any ACF Image Field. See screenshot.

    I don’t know where these featured_image & post_title come from, but it seems like you’re messing your configuration with both plugins. Again, ACF Extended is not compatible with the other plugin and I cannot guarantee it to work correctly or provide further support about it.

    Here are my recommendations, as in my first answer: Enable ACF Pro and ACF Extended only. Start again from the beginning with a clean new “Test Form” and a clean new “Test Field Group” in order to avoid any prior misconfiguration.

    In that “Test Field Group” add a simple “Text Field” and an “Image Field” with the “Featured Thumbnail” setting enabled. Then Create a “Post Action” in the Form, and check the Image Field in the “Save ACF Fields”. Once it works correctly, you can add your other fields.

    If you’re not sure about how to do it manually, again, please import the Field Group json and the Form Json export I provided above from the “Custom Fields > Tools” admin menu. You can start from this base.

    Regards.

    Thread Starter pzh20

    (@pzh20)

    I am so sorry, something went so wrong, and instead of selecting an image field, it was a button field. Please close and delete this thread as I got something totally wrong!

    Sorry to waste your time.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    No worries, it happens.

    When working with a new plugin or a new set of tools like this one, there are often new concepts to learn. That’s why I often recommend to start with a blank configuration (a blank form, a blank field group…) so you can get used to it before migrating.

    Have a nice day!

    Regards.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Create Post, images not able to upload’ is closed to new replies.