=== Harrys Gravatar Cache === Contributors: harry-milatz, wpverwalter Tags: Gravatar, Avatar, Cache Donate link: http://www.amazon.de/gp/registry/wishlist/38H54YCAQU0LH/ref=cm_wl_rlist_go_o? Requires at least: 4.0 Tested up to: 4.4 Stable tag: trunk License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Accelerates the site speed by simply and effective caching Gravatar (Globally Recognized Avatars). == Description == Accelerates the site speed by simply and effective caching Gravatars (Globally Recognized Avatars) so that they are delivered from the own web server and do not need to be reloaded from the Gravatar server. **NEW feature:** Other Avatars, e.g. from a "social login" plugin for comments are cached in version 1.3.0 and above. **NEW feature:** Avatars from captured Facebook comments with a plugin like "Facebook Comments Importer" are cached in version 1.4.0 and above. The cache have to be emptied once after update. You can: -change the Gravatar Size -change the cachetime -change the option how the Gravatars will be copied to your server -update the options depending on the server configuration -empty the Cache -get the size to use for the Gravatars from your template or set the size manually You see a statistic how many files are cached and the filesizes of the files. == Installation == Just install from your WordPress "Plugins > Add New" screen and all will be well. Manual installation is very straightforward as well: 1. Upload the zip file and unzip it in the '/wp-content/plugins/' directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to 'Settings > Harrys Gravatar Cache Settings' and enable/change the options you want. Generally this means the Size of the Gravatars. == Frequently Asked Questions == = Nothing at the moment = == Screenshots == 1. Settings Page 2. Errorpage: Database 3. Errorpage: Cachefolder doesn't exist 4. Errorpage: Cachefolder has not the correct permissions 5. Errorpage: Cachefolder is not writeable 6. Errorpage: no Copyoption available == Changelog == = 1.4.2 = *added: Serves now the Gravatars from a consistent URL if the Gravatar-images have identical contents(e.g. Standard Gravatar), but are served from different URLs. So this saves requests. = 1.4.1 = * tweaked: Removed loading the translations for WordPress before 2.7 with **$abs_rel_path**. = 1.4.0 = * update: Update the fix for the fallback for creating database table * Code cleanup for some PHP Warnings if 'WP_DEBUG' is set true * added: Caching avatars from Facebook if from there are comments captured and insert in the database with a plugin like "Facebook Comments Importer". ** The gravatar-cache MUST be emptied once after update! ** = 1.3.9 = * fixed: Fallback for creating database table (in some cases the database table can not be created when the neccessary options for filling the database table could not be served) = 1.3.8 = * fixed: Error changing Gravatar size manually and save this correctly. * added: Screenshot for error information when the database table is not filled successfully with the neccessary options. * added: Proof if the "rating" for Gravatars is set. If not set rating to "R" for getting Gravatars. * changed: proof before calling the function for caching * update: german and spanish translation. = 1.3.7 = * fixed: Display the copy option for cUrl in the settings if cUrl is the only copy option available. * added: Error information when the database table is not filled successfully with the neccessary options. * update: german and spanish translation. * added: screenshots of possible errors = 1.3.6 = * added: Feature to enter Gravatar size manually. * update: german and spanish translation. * changed: how to get the rating of Gravatar. = 1.3.5 = * changed: the PHP functions **fopen()**, **file_get_contents()**, **file_put_contents()** and **cUrl** were changed to the "WP Filesystem" functions. * changed: PHP **cUrl** is not explicitly used anymore, it is contained in "wp_remote_fopen" and will be used if **fopen** won't work. * Code cleanup = 1.3.0 = * **added: Caching of other avatars from plugins for "social login"** * changed: Fallback to the original avatar img-tag if caching was not successful = 1.2.1 = * fixed: issue with the srcset tag in mobile browsers = 1.2.0 = * disable the caching function in the Wordpress Backend and Frontend for logged in users with admin rights = 1.1.9 = * added: filling the alt-Tag with the authorname * fixed: W3C HTML Validation error for srcset: "&" is now escaped; = 1.1.8 = * fix: missing CSS-classes for Gravatar Hovercards in versions 1.1.6 & 1.1.7 * added: srcset = 1.1.7 = * fix: missing ID for in version 1.1.6 = 1.1.6 = * fix: Statistics are only displayed when there is no error * fix: Issue with Gravatar Hovercards = 1.1.5 = * fix errorhandling when the cache folder has not the correct permissions * updated translations = 1.1.4 = * change filepermission of the cached files to 0644 * change permissions from 0750 to 0755 for the cache folder because of on some servers the cached gravatars could not been served an get an 403 error * added 44px to the gravatar size = 1.1.3 = * fix: error on some server configurations for the path to the cached file * Statistics are only displayed when there is no error * changed how to recognize if there is an error with the method to get the Gravatar = 1.1.2 = * change how to get the "wp-content/uploads" folder * change how to get the textdomain folder * change how to get the cache folder and chache folder url * fix database operations -> https://codex.wordpress.org/Data_Validation#Database * correcting german translation * fix an error in loading the textdomain on the settings page * fix an error to proof the $_POST['size'] = 1.1.1 = * correcting translations * change permissions from 0755 to 0750 for the cache folder * added english translation = 1.1 = * added spanish translation by wpverwalter * change how to load textdomain * change how to get the "wp-content/uploads" folder for the files = 1.0 = * EN: Release DE: Veroeffentlichung == Upgrade Notice == The current version of this Plugin requires WordPress 4.0 or higher. If you use older version of WordPress, you need to upgrade WordPress first.