View Full Version : Prevent IMG BB Code in posts
bagh1
05-03-2008, 05:36 AM
Hi,
How can I prevent IMG BB code to show up in a user's post? Some members are putting smilies that may not be appreciated by a large audience and I want to limit this.
TIA!
Lynne
05-03-2008, 05:15 PM
You can disable bbcode - vboptions > bbcode settings > enable built-in bb codes - but I don't know that you can disable just the img tag without coding modifcation.
bagh1
05-04-2008, 03:30 AM
I will be willing to make code changes too. Anyone have any idea on where I can do this. It's getting urgent as more and more users are doing this!
It seems like Vbulletin.org has a way to control IMG code because I can see at the bottom of my text box that [IMG] code is on. Any help would be highly appreciated.
Boofo
05-04-2008, 04:22 AM
Easy. Just do a preg_replace in the postbit_display_start hook for the img tags and anything between them and replace it with and empty string.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.