Add-on Option to allow limited html in forum posts

Amin Sabet

Well-known member
I know about the addon that allows html within parsehtml tags, and that is not what I need.

I need an addon that allows html within forum posts to be parsed without need for special tags. I would want some specific terms to be censored. Specifically these:

censor.webp

but I would need things like these to be parsed:

parse1.webp

and this too:

parse2.webp

I do not need permissions by usergroup. All members would be allowed to use this limited html in their forum posts.

If you can create such an addon, please PM me with your asking price for doing the work.

Thanks,
Amin
 
I was able to solve my problem with old html Flickr posts using two find/replace MySQL queries. Posting here in case someone else needs the same. It's not a perfect solution - leaves behind some random unparsed html - but at least it gets the images to show.

I am not responsible for any damages you incur if you use these. Use at your own risk, on a test installation, after backing up your databases.

Code:
UPDATE xf_post SET message = REPLACE(message,'Flickr"><img src="','Flickr">[img]');

UPDATE xf_post SET message = REPLACE(message,'jpg" width=','jpg[/img]');

I salvaged over 20,000 images using this method.
 
Back
Top Bottom