![]() |
Prevent IMG BB Code in posts
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! |
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.
|
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. |
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.
|
All times are GMT. The time now is 12:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|