sergvasilievich
Forum Replies Created
-
Hello!
I finally dealt with my problem of side-by-side automatic copying of attached images from comment to post.
Maybe my experience is useful to someone. Hou will share it:As I already reported earlier, when creating a post in the USP, the attached images go to the library and they are given the name of the post with the label “Uploaded for (name of the post)”.
Images attached to the commentary also enter the library and they are also given the label “Uploaded for (post name)”. That is, these images belong to the same post and they have the same label of the post name. For this reason, a post created in the USP thinks that all these images belong to it. He captures them in his body from the library.Decision:
-I replaced the comment plugin. Previously, I used the “Comment_Images_Reloaded” plugin. It stores the attached images in the library and assigns them a postmark (Loaded for …). Now I have applied another comment plugin. It stores the attached images not in the library, but in a separate folder. Accordingly, images are not labeled with a post. Accordingly, they do not fall into the body of the post, but remain attached only to the comments.
Thank you for attention.
Sincerely, Serg.Here is a screenshot:
https://yaidiod.ru/wp-content/uploads/2017/10/scr01.jpgHere is the page with the problem post:
https://yaidiod.ru/test.htmlThanks for the answer!
I also found that in the library next to each image there is a “Uploaded for …”. If the post comment image has this papameter changed, or deleted, then this image will not be duplicated in the post. This image will be only in the comment. He will not be in the body of the post.
The sad thing is that users leaving comments with the image seem to load their image into my post. At the same time, the main idea of ??fasting is lost.
I have to use images in the created post. I should not turn them off. I also need images in the comments. But the image of the comment should not fall into the post.
I have an idea how to prevent this. I would like to make the comment images do not have the “Loaded for …” option in the library. Then everything will be fine. Images of the comment will not be able to load into the body of my post next to the post images.
I want to delete the “Loaded for …” parameter in the php code of my comment plugin so that it is not displayed in the mediotheque opposite the image of the comments.
But I do not know how it can be called in PHP code. Please tell me how it might look in PHP code if you can.
Sincerely, Serg.Now I set the “Do not show images automatically” option in the “USP” settings.
All 4 images in the post disappeared (3 images of the post and 1 image from the commentary).
There are only images of the commentary.
It feels like the plugin “USP” captures images from the comments in the post if “Automatically show images” is turned on.
That is, when adding a comment with an image, this image is added to the post.
This does not happen if you create a post from the admin panel.Thanks for the answer!
I really hope for your solution to this problem!
I’ll wait a long time.
Thank you.
Sincerely, SergSorry, “Image_ .jpg”
Forum: Plugins
In reply to: [CubePoints] Short code for a paid contentShow me a short code for paid content please. Sorry for my english.