• Second avatar don’t show, because of caching (in FF)
    user-avatar.php, line 590

    original:
    $avatar_url = plugins_url(‘/user-avatar/user-avatar-pic.php’).”?id=”.$item_id .”&w=”.$width;

    fix (adding random):
    $avatar_url = plugins_url(‘/user-avatar/user-avatar-pic.php’).”?id=”.$item_id .”&w=”.$width.”&rnd=”.rand();

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Enej Bajgori?

    (@enej)

    Thanks pointing that out… I will add it… allthough do you want the file to fetched every time the page loads? I think some caching is good
    I think a solution where you check the last update date instead of a random number might work better.

    Thread Starter izorg

    (@izorg)

    agree with you, I didn’t notice that

    Off topic: could you add internationalization support to plugin.

    Plugin Contributor Enej Bajgori?

    (@enej)

    I will, just didn’t get around to it.

    Plugin Contributor Enej Bajgori?

    (@enej)

    Done! If you want to use a different language you can. By creating a .po file and adding it to the language folder.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: User Avatar] Avatar chaching’ is closed to new replies.