• Resolved doffine

    (@doffine)


    Hi,

    we recently came across a bug when using “Clean Image Filenames” in combination with the Plugin “WP Customer Area”.

    We use both “Clean Image Filenames” and “WP Customer Area” so an admin user can upload files for other users to download in their own specific user area. We obviously need “Clean Image Filenames” to keep the file names as clean as possible.

    BUT: In the last two weeks we encountered issues while uploading (any kind of) files!

    In the WordPress backend you have the plugin “WP Customer Area”. There you add a new post and you have the option to upload files. You select the files from your computer and it’s uploaded. While “Clean Image Filenames” is activated, you visually see that the file should now be uploaded and available on the server. But the file is nowhere to be found on the server and can’t be downloaded or viewed by any user (because it wasn’t really uploaded!). We checked everything via FTP. Once we deactivate “Clean Image Filenames” and upload the files again, the files appear on the server and can be viewed and downloaded.

    We are using WordPress 5.9 on PHP 7.4.

    Is this a compatibility issue and can this be fixed?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Emil Gustafsson

    (@gesen)

    Hi!
    Sorry you are experiencing issues. The plugin is working as expected with WordPress core. It is hooking into core actions that runs when files are uploaded, for example wp_handle_upload_prefilter and add_attachment. Perhaps the WP Customer Area plugin is also using these actions or doing something else when files are uploaded that is not compatible with the Clean Image Filenames plugin. I would suggest you look into the other plugin and investigate what is happening when files are uploaded and take it from there.

    Thread Starter doffine

    (@doffine)

    Thanks for letting us know how your plugin works. In the meantime we contacted the other mentioned Plugin “WP Customer Area” and they said it may have something to do with hooking into wp_handle_upload_prefilter which may be the reason why WP Customer Area plugin does not find the files afterwards.

    Here’s the thread: https://www.ads-software.com/support/topic/incompatibility-with-other-plugin-clean-image-filenames/

    They further noted that WP Customer Area is open-source, and they offer to help a developer to find their way into their code by pointing out the files and classes.

    Since we do not have the skills or a developer to look into this we thought you might be interested to look into this as it could help with the compatibility of your plugin with another popular plugin “WP Customer Area”.

    Both plugins have a large installation count and it would be extremely useful and also in your own interest to make your plugin compatible with plugins like “WP customer Area”. I think it’s not far fetched to want uploaded files in a customer area to be clean. It’s actually crucial to have clean file names as it might trigger all kinds of issues.

    Would you be able to look into this compatibility issue with your plugin?

    Thread Starter doffine

    (@doffine)

    I just re-set this thread to unresolved since we had a question left.

    Greetings,
    -doffine

    Plugin Contributor Emil Gustafsson

    (@gesen)

    I am developing this plugin in my spare time and offering it as is, for free. It works with WordPress core which is the only guarantee I can give. There is no guarantee it will always work in combination with all other plugins as it will require more work than I can handle. This plugin too is open source and pull requests with fixes or new features are welcome.

    Thread Starter doffine

    (@doffine)

    Hello @gesen,

    ok thanks for letting us know and thank you for your work, too.

    Greetings,
    -doffine

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Incompatibility with other plugin “WP Customer Area”’ is closed to new replies.