[forumdirectory] Replace profile.pdesc by profile.about
[friendica-addons.git/.git] / gravatar / README.md
index ff209b0..02b9bfd 100644 (file)
@@ -1,4 +1,4 @@
-# Gravatar Plugin
+# Gravatar Addon
 by [Klaus Weidenbach](http://friendica.dszdw.net/profile/klaus)
 
 This addon allows you to look up an avatar image for new users and contacts at [Gravatar](http://www.gravatar.com). This will be used if there have not been found any other avatar images yet for example through OpenID.
@@ -30,13 +30,19 @@ Gravatar lets users self-rate their images to be used at appropriate audiences.
 See more information at [Gravatar][1].
 
 ## Alternative Configuration
-Open the .htconfig.php file and add "gravatar" to the list of activated addons:
+Open the `config/local.config.php` file and add "gravatar" to the list of activated addons:
 
-        $a->config['system']['addon'] = "..., gravatar";
+       'system' => [
+               ...
+               'addon' => '...,gravatar'
+               ...
+       ]
 
-You can add two configuration variables for the addon:
+You can add two configuration variables for the addon to the `config/addon.config.php` file:
 
-        $a->config['gravatar']['default_avatar'] = "identicon";
-        $a->config['gravatar']['rating'] = "g";
+    'gravatar' => [
+        'default_avatar' => 'identicon',
+        'rating' => 'g',
+    ],
 
 [1]: http://www.gravatar.com/site/implement/images/ "See documentation at Gravatar for more information"