mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
[gravatar] Add addon config
- Update mentions to .htconfig.php
This commit is contained in:
parent
57f6ac5bad
commit
990b5bf231
3 changed files with 44 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue