How to debug a Discourse plugin

(Jonas Friedmann) #1

I am working on the following very simple plugin that aims to use a 3rd party Minecraft skin service for the default avatars.

However, it doesn’t work and I’m not sure how to troubleshoot/debug this.

The plugin can be found here:

(Jens Maier) #2

That’s not at all what the code in your repository does; it replaces tags in posts (e.g. [head:Elberet]) with HTML <img> tags (e.g. ), but does not touch Discourse’s avatar images at all.

(Jonas Friedmann) #3

@elberet Ha! Well now that makes sense. Thank you!

Edit: im not sure if theres a native featuer in discourse to change the “default avatars” or if I need a plugin for that. Do you know that by any chance, @elberet?