• Resolved 1naveengiri

    (@1naveengiri)


    Great plugin,

    I have disabled archive file attachments in Allowed File Types settings.

    on comment form it shows all of them in the message below.

    HTML of this message is not good. I cant even hide the message with CSS.

    The maximum upload file size: 128 MB.
    You can upload: image, audio, video, document, spreadsheet, interactive, text, archive, other.
    Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded.

    Please consider it as improvement.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I was able to hide this by using the following code via a PHP inserter plugin:

    add_filter( ‘dco_ca_form_element_file_types’, ‘__return_empty_string’ );

    • This reply was modified 4 years, 3 months ago by ryanworthen.
    Plugin Author Denis Yanchevskiy

    (@denisco)

    Hello @1naveengiri,

    I’m sorry to be late with the reply.

    I have disabled archive file attachments in Allowed File Types settings.
    on comment form it shows all of them in the message below.

    Strange bug, I was unable to reproduce it on a test setup.

    Is the problem still relevant? Perhaps you are using some kind of caching plugin on the site?

    P.S. Additional markup was added in version 2.0.0. Also, you can use filters for each element of the form, as ryanworthen suggested to you.

    Plugin Author Denis Yanchevskiy

    (@denisco)

    Marking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Matter what I select in Allowed File Types it always show all options’ is closed to new replies.