Resource icon

Mini Avatar with Tag 1.0.2

No permission to download
@Jeremy

I want to install the XML error

GHzB3Kf.png
 
Im not able to install the add-on. I get this error:

Callback KingK_TagMiniAvatar_CodeEvent_Listener::bbcode is invalid (Invalid Class).
 
Can someone reproduce this? This only affects conversations, seems to work fine for regular forum posts.

First case (the problem), the sequence of events:
—Highlight a selection of text, use the Select-to-Quote icon to quote -> see how the mini avatar breaks up in the editor and subsequently in the posted quote

1)
1.webp

2)
2.webp

3)
3.webp

Second case (working way), the sequence of events:
—Do not highlight text, but instead just use the Quote (Reply, but I've renamed it to Quote) link below the message, to quote the whole message -> works like it should, no problems

1)
Screen Shot 2014-12-27 at 08.20.46.webp

2)
Screen Shot 2014-12-27 at 08.21.42.webp

3)
Screen Shot 2014-12-27 at 08.25.22.webp
 
Last edited:
^

Actually, I just tried and the same goes for regular forum posts, after all. I also tested this on The Admin Zone's forum.

Select-to-Quote, if the highlighted text includes a tagged person with the mini avatar, breaks it similarly in the text editor as I showed in the above post. But if you quote a whole post by clicking Reply, it doesn't.

Can you reproduce this @Jeremy?
 
Last edited:
That's an issue with how selective quoting functions. It picks up the image and includes it sans classes and the username link (you'll notice it isn't a tag). Reply fetches the BBCode from the DB so includes a tag without the image in your post, thus giving proper output
 
That's an issue with how selective quoting functions. It picks up the image and includes it sans classes and the username link (you'll notice it isn't a tag). Reply fetches the BBCode from the DB so includes a tag without the image in your post, thus giving proper output
OK... Guess it's a limitation one needs to live with...

I wonder though would it be trivial to fix this issue with selective quoting in the core XF software in the future?

Or is it technically impossible?

I'm tagging @Mike and @Chris D ... in the hopes of getting further thoughts on the matter ... hope they don't mind.
 
The core is functioning as designed, it finds an image (the tag is displayed as an img tag) and gets the source URL and inserts an IMG bbcode, same with the tag as a URL.

This is something the add-on would need to work around, not XF.
 
Back
Top Bottom