The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I have certain forums I'd like to allow HTML and VB code so users can make lists, colors and such, but I want to disallow them from making inline pictures.
Is this possible? - Pahbi |
#2
|
||||
|
||||
Forums and Moderators => Modify => Edit => Allow BB IMG Code in posts: NO.
|
#3
|
|||
|
|||
What about if they try to use HTML to include images?
- Pahbi |
#4
|
||||
|
||||
Turn off HTML using the same steps.
|
#5
|
||||
|
||||
If you want to keep HTML but remove <img> tags, add this to your functions.php:
Code:
// remove all <img> tags from post $bbcode=str_replace("<img","<img",$bbcode); Code:
//smilies if($dosmilies) { |
#6
|
|||
|
|||
Freddie,
I don't want to turn off all HTML, just the HTML that allows inline images to be put in posts. I still want users to be able to make bold/color or whatever text, just no pictures. - Pahbi |
#7
|
||||
|
||||
...then do what I said...
|
#8
|
||||
|
||||
Listen to the man!
|
#9
|
||||
|
||||
Ummm... you can get colors, font size, font change, ordered lists... most anything, through VB codes.
If your forum doesn't already have them, do some looking and add them yourself. The "Add VB Code" function exists for just that reason. We have several different ones availiable on our site: http://130.94.171.148/board/showthre...&threadid=9584 See an example of several of them in action. We have glow text, marquee text, Flash support... you name it. |
#10
|
|||
|
|||
Today, someone used inline html to include java applets in their signature. I'm pretty sure I can use the same code to remove applet code, and any other offending html code.
My question is if I put in 5-6 or of those kinds of statements to substitute those strings with other things, will I hit any kind of performance barrier? Will it slow my forums down significantly? - Pahbi |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|