[gravatar] Add addon config

- Update mentions to .htconfig.php
This commit is contained in:
Hypolite Petovan 2018-06-27 23:12:50 -04:00
parent 57f6ac5bad
commit 990b5bf231
3 changed files with 44 additions and 7 deletions

View file

@ -30,13 +30,15 @@ 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.ini.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:
$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"