View Full Version : Parsing BB Code in Activity Stream
Redrum81
05-01-2015, 01:49 PM
Does anyone know of a way to parse BB Code in the Activity Stream? Right now smilies show up like :cool: etc. I'd like the actual image to appear.
Thanks for the help.
The problem is that the posts are converted to plain text because otherwise it would be difficult to create a short representation that looked reasonable. So to show images and smilies you'd need to go in and change the code, but then you'd have that problem to deal with.
Redrum81
05-01-2015, 03:02 PM
Ah ok, fair enough. Well I can live with it. I was just wondering if there was a simple trick to make this work. Thanks.
MarkFL
05-01-2015, 03:15 PM
Another issue is that a PHP file hack would likely be needed so the entire post would be returned instead of a truncated summary so you wouldn't get orphaned BBCode tags.
Right. But now I'm thinking, the default smilies are all pretty small, so you might be able to take the plain text that's being posted now and parse it just for smilies. That way you'd know you're not making it huge and that the <img> tag won't be broken. I haven't looked at the code at all though, so it still might need a file change.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.