The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Generate BBCode from HTML
Hi,
I am trying to import external html content in my vbulletin forum. The aim is to create programmatically threads with the external content. I do not want to allow html in posts for security reasons, so the question is quite simple : how to generate bbcode post content from html content ? I am aware that the whole html content won't be convertible into bbcode, lots of tags don't exist in bbcode, so how to convert the most of a html content in bbcode? In fact I already know how to convert html->bbcode by using the vB_BbCodeParser class, but how to convert on the other way ? Thanks |
#2
|
|||
|
|||
Ok, I found a solution : calling ajax.php with the switchmode option, this url is called when using the wysiwyg editor.
|
#3
|
|||
|
|||
Can you be more specific about how you did this?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|