[nodebb-plugin-gravatar-extended] NodeBB Gravatar Extended Plugin
-
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-extendedInstallation:
npm install nodebb-plugin-gravatar-extended
-
That'd be fine with me but I'll leave such decisions to you lol
-
This is awesome congrats for figuring this out!
-
v0.5.0
The plugin has been updated, for^0.6.x
compatibility
https://github.com/JLChnToZ/nodebb-plugin-gravatar-extended -
@Mega Thanks for helping me to upgrade this plugin very much~!
-
Whoa, this is great. Wish I'd known of this sooner.
-
Alright, I will have a look and try to fix this.
-
Has anyone got this working on the v0.9.x branch.
A few of my users have broken images.... Even with the current stock Letter Images.
I've tried re-installing gravatar. Disabling it and even manually uploading a profile pic and then deleting it.
Nothing has worked so far.
I still have broken user pics.
Hopefully someone can help.
Cheers