The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Possible to Disable BB Code In Posts?
Is it possible to disable bb code in a particular posts and not the entire forum?
|
#2
|
|||
|
|||
Can you specify what you mean by posts? As in first post in a thread, last post, or I assume you meant in certain threads or subforums.
You'll have to make a template hook that checks a threads location just before it's submitted. |
#3
|
|||
|
|||
Say I start a new thread with a table completely written in HTML. When I post it, it looks really messed up when I have bb codes allowed.
So I'd like to remove bb code in that particular thread. |
#4
|
||||
|
||||
Possible - but not without a modification, that probably doesn't exist at the moment.
|
#5
|
||||
|
||||
You might be able to make a plugin at the global_start location that sets $vbulletin->options['allowedbbcodes'] to 0 (or whichever number needed) in certain forums. That option though is a strange one to have to set based on all the different options given in the vbtoptions checklist.
edit: whoops, you said just in some posts, not in a whole forum. Yuck! I'm not sure about that. |
#6
|
|||
|
|||
Well to make things easier.
What is the best way to post a table in a post? I have it made in html but is there something else I could use? |
#7
|
||||
|
||||
The only way to post a table in the post is to allow html (not recommended) or make some table bbcode (I've seen that around somewhere but don't have it installed so I don't have a link to it).
|
#8
|
|||
|
|||
Why isn't HTML recommended?
|
#9
|
||||
|
||||
It's a security risk. Malicious users could break your board if you allow html.
|
#10
|
||||
|
||||
Number one reason is XSS (Cross Site Scripting).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|