]> git.mxchange.org Git - friendica-addons.git/blobdiff - gravatar/README.md
Merge pull request 'Bluesky: Provide the correct user id while fetching content'...
[friendica-addons.git] / gravatar / README.md
index 0145570b79506277e612bae0726a207f3695ffe4..a1c25a2aa58480c4bf556f6200e437ea82b58a9e 100644 (file)
@@ -30,13 +30,22 @@ 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:
-
-        $a->config['system']['addon'] = "..., gravatar";
-
-You can add two configuration variables for the addon:
-
-        $a->config['gravatar']['default_avatar'] = "identicon";
-        $a->config['gravatar']['rating'] = "g";
+Open the `config/node.config.php` file and add "gravatar" to the list of activated addons:
+
+       'addons' => [
+               ...
+               'gravatar' => [
+                       admin => true,                  
+               ],
+       ]
+
+You can add two configuration variables for the addon to the `config/gravatar.config.php` file:
+
+       return [
+               'gravatar' => [
+                       'default_avatar' => 'identicon',
+                       'rating' => 'g',
+               ],
+       ];
 
 [1]: http://www.gravatar.com/site/implement/images/ "See documentation at Gravatar for more information"