https://perchance.org/comments-plugin-oncomment-example
Simple: Allow users to add a URL at the end of their nickname, which is hidden from their displayed nickname, but used as an avatar pic.
According to the tutorial, it is suggested to be simple. But because I am a newbie, I won’t even able to do it after explained like I was five.
Here is the modification of the example: https://perchance.org/gqp3r7gugk
On that one, you can see on Line 56 is where you can access the username of the person that sent the comment. My implementation is as follows:
https://user-uploads.perchance.org/file/<file id>.<file extension>
which is about 32 characters + 4-5 characters due to file extension and the dot (.webp, .png, .jpeg etc) so only 13 characters are left for the nickname (at the minimum).nickname|fileId.fileExtension
so on the code we can split them to the file ID and the nickname.ai-character-chat
message bubble.|fileID.fileExtension
on the nickname.Thank you VioneT it looks decent!