The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Parsing [video] bbcodes in own script
Hi,
I am working on some custom php-scripts. I used to parse bbcode in some db-fields using this function: Code:
//parse bbcode to html $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $content = $parser->parse($post['pagetext']); How should i make this parse all tags ? Thanks, Taco --------------- Added [DATE]1278373095[/DATE] at [TIME]1278373095[/TIME] --------------- Found out it was forum permission related.... |
#2
|
|||
|
|||
Thank a lot! your code helped me ^^
I needed the same thing as you. Here, we use bbcode made custom and it parsing the custom code perfectly. I haven't tried if the [video=youtube;eOUq4Z6R7xI]http://www.youtube.com/watch?v=eOUq4Z6R7xI[/video] where also being parsed correctly, but i figure the video one will since it came with vbulletin? Sorry, I guess you needed that info 3 months ago, if your still having an issue, let me know and i will peak at it and try to figure out what the issue is. I was using the $text=parse_wysiwyg_html($text); method but that wasn't parsing the bbcode at all. |
#3
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|