The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|