PDA

View Full Version : Help With BBCODE


ARP
12-27-2009, 06:10 PM
Hello all,

I having a problem with a Mod I will upgrade it from 3.x to 4.x here is the old plugin :
$post['pagetext'] = $postbit_factory->bbcode_parser->do_parse($post['pagetext'],false,true,true,true,true,false);
$post['pagetext_html'] = preg_replace("/\[my2bbcode\]((.*[\n\r]*)*)\[\/my2bbcode\]/i",$hide_fetch,$post['pagetext']);

But when I'm adding a BBCODE in vBulletin 4 the BBCODE converted to

https://vborg.vbsupport.ru/attachment.php?attachmentid=108335&stc=1&d=1261944588

So any help to convert the old plugin to the new BBCODE format will be great!

ARP
12-28-2009, 05:41 PM
Any one ?