Support » Plugin: Basic User Avatars » Need to reload page to see modified avatar

  • Hi.
    Thanks for this plug.
    I use the shortcode to allow users to edit avatar on front-end.
    It works good, however, users need to realod page after upload/save to see the new avatar. Any idea (the problem is the same on back-end: if I chose an avatar and click update avatard I need to reload the current page to see the new avatar..).
    Thanks!

    https://wordpress.org/plugins/basic-user-avatars/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nicodweb

    (@nicodweb)

    No idea?I am alone to have this bug?

    Plugin Author Jared Atchison

    (@jaredatch)

    Unfortunately I haven’t been able to replicate this with any of the hosting environments I have access to.

    Do you know who you web host is or any details about you server environment? Have you tried on another site?

    Thread Starter nicodweb

    (@nicodweb)

    Hi Jared.
    Thanks for your answer.
    You have right: it’s work on a local environnement (mamp).
    Our server is a powerful deticated serveur: is their a specific config to do?

    Plugin Author Jared Atchison

    (@jaredatch)

    First and most obvious this is if there is caching on your production environment. I can’t think of why that would matter given the scenario, but something I check. If you do have caching (server level or plugin), you may try temporarily disabling it and seeing if that resolves the issue. The fact that it works after refresh sorta sounds like browser caching, which would be set by a cache setting or plugin.

    When you say it works on your local environment, did you copy the site locally or did you test it on a different install? I would copy over the production site and test it locally. If it works with the exact same theme and plugins activated, then that should more or less narrow it down to a server config (or server level caching etc). If it does the same on local then we know there is a plugin or something within the WP install that is screwing it up.

    If it works local but not on production, but with the exact same WP installs, then I would compare PHP info (http://php.net/manual/en/function.phpinfo.php) to see if that might shed any light on some possible differences.

    Hope that helps.

    Just do this

    /wp-content/plugins/basic-user-avatars/init.php

    447 $name = $base_name = $filename = uniqid();

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Need to reload page to see modified avatar’ is closed to new replies.