PDA

View Full Version : Parse ONLY smilies


Mark.B
03-19-2011, 12:45 PM
I have created a jQuery tooltip for the threadbit preview text which can be seen in use HERE (http://www.bowlandcentral.com/forum/search.php?do=getdaily&contenttype=vBForum_Post). (Yes it does borrow much in style from XF).

However, one thing I'd like to do with this is parse ONLY smilies (but not other bbcode as that would make a mess if, for instance, someone hotlinked a large image).

Now, I know how make ALL bbcode parse using the bbcode parser, and I know which hooks to put the code in, etc. What I *don't* know is whether you can easily parse JUST the smilies and nothing else.

--------------- Added 1300551355 at 1300551355 ---------------

I think I have it...it's to do with all the false/true stuff in the statement....playing with it now.