Itchy can u update your extension and add a small feature request.
For the links u generate, can u add a class called "userlink".
I'm making an extension that parses links submitted by users, but i have no way of knowing which ones out of the million links on vanilla were actually posted by community members. adding a class to them, i can look for that specific class
Btw is Itchy even reading this.
Anyone knows itchy, can u mention it to him
Thanks MySchizoBuddy
You don't need that. Links form user are all in '#ContentBody .CommentBody'. With jQuery, you can get them with $("#ContentBody .CommentBody a") (don't bother asking me the raw javascript equivalent lol)
Hi. Does anyone have any idea why the link activation of this extension stopped working after I installed the Attachments 2.1 and inline images. Is there a conflict that anyone knows of as it worked fine befre then.
Well, first of all I'd try to identify which of those two extensions conflict with this one. Try enabling only one of them and then enabling only the other. It could be one or the other, or it could be both. Then let us know and we'll get in touch with the extension author to see if we can come up with a fix.
It could be Inline image, they might use the same delegation. Both get the messages, before saving them in the DB or before them being displayed, and change some part into links.
Nevermind, if there is something wrong it is with the attachement or inline image extensions. Extended Text Formatter doesn't do anything strange, it is just a formatter (and doesn't use delegation).
My attachments upload has stopped working now. I must be going crazy. I'm having to format links by hand and attachments are no longer uploading. Both worked a couple of days ago now neither of them work. I've already disabled and re-enabled the extended text formatter. I'll turn off inline images now and try to see if text formatter starts working again.
will this *only* work with the text formatter? i've set up my install so that the selector is hidden, and everything gets parsed as textile. can these two co-exist? it seems like they should, but in trying it out, it doesn't seem to be the case.
This will co-exist with any formatter, however, you can only have one formatter active on a comment at a time AFAIK. If you're using textile, you're not using this or HtmlFormatter
I also installed Base after the text formatter. `might this be causing the problem? I've removed attachments and inline images and it still doesn't work.
Comments
$("#ContentBody .CommentBody a")
(don't bother asking me the raw javascript equivalent lol)Both get the messages, before saving them in the DB or before them being displayed, and change some part into links.
Extended Text Formatter doesn't do anything strange, it is just a formatter (and doesn't use delegation).
What does html formatter do as there seems to be a lot of confusion between these two extensions and obviously some error generation I guess?