• Hey there!

    In testing out the recent versions, I noticed some things about the success message that appears temporarily after replacing an image.

    1. The timeout

    While you did include a filter to modify the timeout, 0 is not actually “immediate.” I would have expected the success message to never be shown. Instead, there’s a brief pause while the page loads and the javascript gets loaded and run to do the redirect. Any chance that 0 can bypass the message completely?

    2. Permission Checking

    I totally get that you need to upsell your premium product(s). However, I’d love to see links to additional plugins be wrapped in checks for current_user_can( ‘install_plugins’ ) for these kinds of things. It can be very confusing for someone like an Editor to be told to go install another plugin when they don’t actually have the ability to do so.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Gerard Blanco

    (@sixaxis)

    Hi Jason!

    I’ll forward this to our dev team. However, since this is a public & free plugin, we will also be very happy to review a Pull Request with such features on our public GitHub repository: https://github.com/short-pixel-optimizer/enable-media-replace/

    Cheers!

    Plugin Author Pedro

    (@petredobrescu)

    Hello @madtownlems,

    Thanks for bringing these points to our attention. Here are the answers:

    1. Unfortunately, in the way the plugin is done now, it would mean quite some work to completely skip the confirmation message. We are more than happy to welcome pull requests with new features on our public GitHub repo, therefore, if you have a better idea about this, feel free to add a PR here:

    https://github.com/short-pixel-optimizer/enable-media-replace/

    2. This check is already in place for some time:

    https://github.com/short-pixel-optimizer/enable-media-replace/blob/master/views/upsell.php#L8

    In short, users without the necessary rights to install plugins won’t even see that sidebar. If you have a situation where that doesn’t work as expected, please let us know.

    If you have any other suggestions, we’re always happy to receive features and improve our plugins, so please send them over.

    Best wishes!

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    2. This check is already in place for some time:

    On 4.1.5, as an Editor (cannot install plugins), I just replaced a Media File, and was immediately presented with this message:

    “Your image has been successfully replaced!
    Did you know that you can also optimize the images on your website to make them load faster?
    Try the ShortPixel Image Optimizer plugin!”

    Screenshot: https://imgur.com/AqKAIwg

    Plugin Author Pedro

    (@petredobrescu)

    Hi @madtownlems,

    On 4.1.5, as an Editor (cannot install plugins), I just replaced a Media File, and was immediately presented with this message:

    “Your image has been successfully replaced!
    Did you know that you can also optimize the images on your website to make them load faster?
    Try the ShortPixel Image Optimizer plugin!”

    Ah, now I understand! The link in the post-replace notification is a simple link that takes the user to our other plugin page here, so it is not a direct install link. But yes, we can remove the link and suggestion for users without plugin install rights. We’ll add that to our to-do list for the next plugin update.

    Thanks!

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    But yes, we can remove the link and suggestion for users without plugin install rights. We’ll add that to our to-do list for the next plugin update.

    Thank you so much! Looking forward to it. Cheers

    Thread Starter Jason LeMahieu (MadtownLems)

    (@madtownlems)

    We’ll add that to our to-do list for the next plugin update.

    Hello again. I noticed that 4.1.5 still suggests the other plugin even to users who cannot install plugins. I just wanted to confirm this was still on your list for the next update?

    Cheers and thanks ??

    Plugin Support Gerard Blanco

    (@sixaxis)

    Hey Jason,

    Version 4.1.5 is from December 2023, so no changes have been done to the plugin since you reported the issue. The “Last updated” field can be independent from new version releases ??

    Have a nice Sunday!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Suggestions / Requests for success message’ is closed to new replies.