PDA

View Full Version : Help With BBCODE


ARP
27 Dec 2009, 20:10
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

http://www.vbulletin.org/forum/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
28 Dec 2009, 19:41
Any one ?