![]() |
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 |
Ok, I found a solution : calling ajax.php with the switchmode option, this url is called when using the wysiwyg editor.
|
Quote:
|
All times are GMT. The time now is 03:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|