Denis Yanchevskiy
Forum Replies Created
-
Forum: Plugins
In reply to: [DCO Comment Attachment] Post link from Facebook not workingHello @huu-minh,
I’m sorry to be late with the reply.WordPress doesn’t support Facebook and Instagram embeds from October 24, 2020.
You can try oEmbed Plus or Smash Balloon Social Post Feed plugins to fix it.
Additional info: https://yoast.com/facebook-instagram-embeds-broken/.
Forum: Plugins
In reply to: [DCO Comment Attachment] Delete MessageHello @jbertrand3000.
You can use CSS snippet
.comment-form-attachment__file-size-notice, .comment-form-attachment__file-types-notice, .comment-form-attachment__autoembed-links-notice { display: none; }
or PHP snippet
add_filter( 'dco_ca_form_element_upload_size', '__return_empty_string' ); add_filter( 'dco_ca_form_element_file_types', '__return_empty_string' ); add_filter( 'dco_ca_form_element_autoembed_links', '__return_empty_string' );
Forum: Plugins
In reply to: [DCO Comment Attachment] Youtube Videos withHello @cshijacked,
I’m sorry to be late with the reply.I dont find the setting for this.
There is no such setting. Content display is usually theme territory.
You can try this snippet:
PHP
function wporg_oembed_result( $html ) { return $html !== '' ? '<div class="iframe-container">' . $html . '</div>' : ''; } add_filter( 'oembed_result', 'wporg_oembed_result' );
CSS
.iframe-container { overflow: hidden; padding-top: 56.25%; position: relative; } .iframe-container iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; }
Or one of the others.
Forum: Plugins
In reply to: [DCO Comment Attachment] Can’t show more than one imageHello @daynese1,
I’m sorry to be late with the reply.Should I fix this now with css or do you have a solution to make the gallery mode work with it checked?
Try this css:
.dco-attachment-gallery .dco-attachment.dco-image-attachment { margin: 5px !important; }
Result: https://i.imgur.com/Wvelwuo.png.
Forum: Plugins
In reply to: [DCO Comment Attachment] Allowed file types in comment formHello @brain8torm,
I’m sorry to be late with the reply.You need to check only image and video types.
Screenshot https://i.imgur.com/nIUS0At.jpg.Forum: Plugins
In reply to: [DCO Comment Attachment] Attachment won’t uploadHello @reallango,
Your snippet throws error “Fatal error: Uncaught ArgumentCountError: Too few arguments to function remove_link(), 1 passed and exactly 2 expected”.
Try this:
function remove_link( $format, $link ) { return false; } add_filter( 'previous_post_link', 'remove_link', 10, 2 ); add_filter( 'next_post_link', 'remove_link', 10, 2 );
Forum: Plugins
In reply to: [DCO Comment Attachment] Comment Image Not UploadingMarking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.
Forum: Plugins
In reply to: [DCO Comment Attachment] How to edit the messageMarking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.
Forum: Plugins
In reply to: [DCO Comment Attachment] Download instead of openMarking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.
Forum: Plugins
In reply to: [DCO Comment Attachment] PDF cannot be uploadedMarking as resolved. Feel free to reopen this topic, or create a new one if you have another questions.
Forum: Reviews
In reply to: [DCO Comment Attachment] how to translate the pluginHello @blackdove,
For support requests, please create a new topic in the support section.
how can i translate the strings ?
One user suggested a solution with the My WP Translate plugin. Perhaps it will work for you too.
Also you can translate plugin with translate.www.remarpro.com.
Forum: Plugins
In reply to: [DCO Comment Attachment] Download instead of openSince version 2.3.0 you can use this snippet:
add_filter( 'dco_ca_force_download_misc_attachments', '__return_true' );
Forum: Plugins
In reply to: [DCO Comment Attachment] Trying to get property ‘comment_ID’ of non-objectFixed in version 2.3.0
Forum: Plugins
In reply to: [DCO Comment Attachment] No file get’s uploaded or attachedThank you for sharing the details. I have not tested a plugin with two comment forms. I will add to the list of future requests.
Forum: Plugins
In reply to: [DCO Comment Attachment] No file get’s uploaded or attachedHello @allanminium,
Unfortunately, I find it difficult to suggest something specific in this case. Have you tried using DCO Comment Attachment on live hosting? Is the problem reproducible?