![]() |
|
|
Thread Tools |
|
#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 No members have liked this post.
|
|
#2
|
|||
|
|||
|
Ok, I found a solution : calling ajax.php with the switchmode option, this url is called when using the wysiwyg editor.
No members have liked this post.
|
|
#3
|
|||
|
|||
|
Can you be more specific about how you did this?
__________________
Psychology Self-Help & Mental Health Support Forum Tourette Syndrome Foundation of Canada Peer Support Forum Catalyst Local Search Forum No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 05:33.



