giuliopanda
Forum Replies Created
-
Forum: Plugins
In reply to: [SUC - same user credentials] User created on CLIENT but doesn’t workThe idea of ??the plugin was that users were always registered on the “server” site. This way all users register from one place.
anyway I wrote this filter to be put on the client function to “exclude” groups of users from registration.add_filters(‘sucw-roles-to-exclude-sync’, function() {
return [‘administrator’, ‘my_custom_role’];
});You can try to create a new role that assigns to users who register on the client site and then exclude that role from synchronization with the “server” site.
To add a new role on wp:
add_role(‘my_custom_role’,
__( ‘My Custom Role’ ),
array( ‘read’ => true, ‘read_private_posts’ => true, )
);I hope this helps you.
Forum: Plugins
In reply to: [SUC - same user credentials] Disable SSLSorry I didn’t understand the problem. You can theoretically disable it that way, but I haven’t been able to test it.
In functions.phpadd_filter( ‘https_local_ssl_verify’, ‘__return_false’ );
add_filter( ‘https_ssl_verify’, ‘__return_false’ );Forum: Plugins
In reply to: [SUC - same user credentials] Disable SSLIt works locally without SSL.
I put https://localhost/wordpress in the “server url” options and it works.It’s probably another plugin that transforms the url into https.
The code in the save only does the sanitize_url
When the client retrieves the “url (static private function sucw_call_server($api_call, $token, $username) )
I don’t make any changes to the saved url, I only add the parameters for the call to the server.Thank you!
Hi, yes you can delete the original images from the “image processing” tab at the bottom right by clicking on the “Delete Original images” button.
This will delete all the original images. However, once deleted you obviously can’t restore them.Hi, unfortunately I’m on holiday and in these weeks I won’t be able to connect and correct any errors in the program. As soon as I get back I will try to make a new version that corrects (at least in part) these problems.
For your problem I would first try to see if another plugin that converts images works because this way you exclude server problems. So, if you then want to try using my plugin (thanks), I would try from the media library to load a single image and verify that it converts. Let me know if you can get everything working so far.
In this case if when you try to convert all the images together it doesn’t succeed then it’s a bug. Otherwise it could be a server configuration problem.I hope you can resolve it.
@power2009 thanks again for the valuable suggestions.
I believe these images that generate this error are rare. Maybe you can try replacing the images that generate the error manually and see if the plugin starts working correctly again.@justinbitter do you also have the same type of error?
Thank you. I’ll need some time to analyze all the work you’ve done and integrate it into a new version, but it looks great!
Above all I have to find an image that generates the same error (maybe a webp image with a transparent background?) to do the tests.Anyway thanks again, I’ll let you know when I have the new release ready.
I was unable to reproduce the error. Let me know if you can give me some more information to try to recreate this bug.
Hi, sorry, I didn’t see your reply.
When a thumbnail is missing, perhaps it is not registered correctly in WordPress, otherwise it should have been replaced with the renamed one.
well, I will study this Elementor widget so I can try to fix this error.Thanks for the report and the compliments ??
A thousand thanks!!! I’ll keep this in mind for the next version.
Hi, I tried as you say, but it doesn’t change the characters of the html tags like it happens to you.
I recommend you change plugins! I don’t know why this happens to you, but it’s a terrible thing!
In the meantime I will try to reproduce the error to correct it, but at the moment I don’t know how.
If it’s not a problem for you, can you list me the plugins you use so I can try to create a similar environment.Good luck
Hi, sorry for the error, I guess there is a bug in the code, but I can’t reproduce it!
I did a test with a Wysiwyg type ACF field and it didn’t give me this error.
I tried uploading an image into the field and the plugin successfully replaced it from jpeg to webp.My plugin actually searches for images in the postmeta and replaces them. But it doesn’t apply any conversions to the rest of the content. Also if there isn’t an image inside the field it shouldn’t do anything!
Can you help me better understand the error and when it occurs?
Can you try disabling all other plugins and bulking again?I’m sorry about the problem! I’ll try to delve deeper.
Giulio
P.S. Do you know what character set your database works in?
Hi, my plugin overwrites the images and if it changes the name of the image it searches through the articles and the metadata of the articles and changes the name of the image in the text. So yes, the replacement actually goes into the database and updates the links of the images and resized images. I have no idea about Elementor, but it should work.
Hi, if you have converted images from jpeg to webp with my plugin, you can go to image processing and click on restore. This way you restore the images as they were originally.
Otherwise you can try disabling “convert to webp” in the configurations.However the plugin only converts images to jpeg which will have a lower weight than the original image.
If you need to convert all the images from webp to jpeg, I advise you to look for a plugin that does this specific job or you can search among the wordpress cli commands.