Hello everyone, this is my first post in this forum
I would like to introduce my first NodeBB plugin, Gravatar Extended Plugin.
This is a simple plugin that extends some parameters into NodeBB ACP's Custom Gravatar Default Image settings. Useful for customize the default avatars with third-party avatar generators.
Currently, it accepts these parameters:
%md5
- the MD5 string of the user's email%email
- the raw email address%user
- the user name%size
- the image size
For example:
You can use %md5
to fetch avatars from my Automatic Avatars system by entering:
https://avatars.moe/Default/%md5/%size.png
or you can use %email
to fetch avatars from Adorable Avatars by entering:
http://api.adorable.io/avatar/%size/%email.png
Just enter them like this:
The url will be parsed correctly once the settings has been saved.
Here is my GitHub repo:
https://github.com/JLChnToZ/nodebb-plugin-gravatar-extended
Installation:
npm install nodebb-plugin-gravatar-extended