Denis Yanchevskiy
Forum Replies Created
-
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?
Forum: Plugins
In reply to: [DCO Comment Attachment] Conflict with Sensei LMS PluginHello @quantodev,
I am not familiar with the Sensei LMS plugin and have not tested the DCO Comment Attachment with it.
I opened a page with a lesson, apparently there is a conflict, because the form was displayed incorrectly. Unfortunately, I don’t have any solution at the moment ?? .
Also I could not reproduce the error. Can you please describe in more detail how you got it?
Forum: Plugins
In reply to: [DCO Comment Attachment] Comment Image Not UploadingHello @wpq82,
I’m sorry to be late with the reply.No errors showing up? Possibly a conflict with some other plugin or theme? Is DCO Comment Attachment disabled on the specified site now?
Forum: Plugins
In reply to: [DCO Comment Attachment] How to edit the messageHello @one3rdnerd,
I’m sorry to be late with the reply.1. Couldn’t reproduce this issue. Try clicking on a type name to disable all extensions of that type, including those hidden under Show all.
My settings. My Result.2. You can try this snippet
function my_dco_ca_form_element_label( $markup ) { return str_replace( 'Attachments', 'Photos', $markup ); } add_filter( 'dco_ca_form_element_label', 'my_dco_ca_form_element_label' );
Forum: Plugins
In reply to: [DCO Comment Attachment] Download instead of openHello @jparra-1,
I’m sorry to be late with the reply.Try this snippet
function dco_ca_get_attachment_preview_with_download( $attachment_content, $attachment_id, $embed_type ) { if( 'misc' === $embed_type ) { return str_replace( '<a href', '<a download href', $attachment_content ); } } add_filter( 'dco_ca_get_attachment_preview', 'dco_ca_get_attachment_preview_with_download', 10, 3 );