The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I allow HTML for this?
<a href="http://i.imgur.com/dCJXFLv.png" target="_blank">http://i.imgur.com/dCJXFLv.png</a>
How do I allow HTML for each user to be used here and how do I increase the amount of characters that can be entered. |
#2
|
||||
|
||||
I highly recommend against allowing your users to embed HTML anywhere. You open yourself up to security risks otherwise.
|
#3
|
|||
|
|||
Quote:
Listen to this guy ^^ . Allowing your members to use HTML is a bad idea. |
#4
|
|||
|
|||
Well I could block the content of that with php anyway. Especially <script> and audio. iframe and <a> just a simple php check on the content of the field.
|
#5
|
||||
|
||||
If my users want HTML markup in their user title (and I deem them worthy...), I add it via the AdminCP myself.
|
#7
|
||||
|
||||
The huge exercise in trying to tidy and sanitize html is not worth it to allow users arbitrary input.
What exactly is it that you want them to be able to do? |
#8
|
|||
|
|||
Another example of why you don't want to do this is I can simply input something such as '<a' or '<div ="' and it will break the whole forum.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|