Support » Plugin: Simple Local Avatars » Move from WP User Avatar

  • Resolved kiwi3685

    (@kiwi3685)


    Is there any way to activate Simple Avatar, and re-use existing user avatars from WP User Avatar?

    I want to change to Simple Avatar, without all my users having to reset their avatars.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Jeffrey Paul

    (@jeffpaul)

    @kiwi3685 you can use this script to help with that migration: https://gist.github.com/philipjohn/822d3521a95481f6ad7e118a7106fbc7

    @jeffpaul thanks for this! Definitely looking for the same after the recent WP User Avatar/ProfilePress fiasco. Get ready for thousands of new fans!

    Thread Starter kiwi3685

    (@kiwi3685)

    Thanks for the link. I’ve never used WP-CLI, and not sure I can anyway. But that code looks ok. I’m sure I can run it some other way.

    Tell for newbies: how to use this script to help with that migration. Where put this php file?
    Sequence of actions. Thank you.

    Plugin Support Tung Du

    (@dinhtungdu)

    Hi @neon67,

    You can follow these steps to use the above script:

    1. Download that script to the wp-content folder, save it as migrate-wp-user-avatar.php.
    2. Using the command line, change the directory to wp-content.
    3. Run this command: wp eval-file migrate-wp-user-avatar.php
    4. Delete the PHP file after avatar data has been migrated.

    Hope this helps!

    Any chance of getting this built in to the plugin? I know the ProfilePress debacle isn’t your fault but it sure would be good to have this happen automatically. Thanks, Graham

    Plugin Support Jeffrey Paul

    (@jeffpaul)

    @greyham we’ve discussed it briefly, but need to decide when it runs in the plugin before we craft an update that would include this change. Any insights/feedback you have on when running this sort of script would be ideal would be helpful, thanks!

    Thanks Jeffrey. I’ve seen plugins with “Import settings from…” buttons in their settings to import settings from competing plugins; I think that would do.

    “Import settings from…” would be great!

    Plugin Support Jeffrey Paul

    (@jeffpaul)

    I’ve added an enhancement to our backlog to look into this, subscribe to #80 for future updates… thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.