bbcode2html plugin on wiki
| From: | Rob Schultz | Date: | Sat, 22 Feb 2003 05:29:59 +0000 |
| Subject: | bbcode2html plugin on wiki | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8118@lists.php.net to get a copy of this message | ||
Hi,
I downloaded the bbcode2html plugin from
http://smarty.incutio.com/?page=SmartyPlugins.
But this plugin don't
seem to work for how the bbcode works in the new versions of phpbb2 that
are released. In phpbb2 it seems they store a uid value which is
randomly generated and Is only 10 chars long.. They append this to every
code bracket that you use.. So if you tried doing something like
[b]This is bold[/b] in the database it would be [b:b6a0cef7ea]This is
bold[/b:b6a0cef7ea] I was wondering if someone with experience with
regex could maybe modify the bbcode2html plugin that would parse out
these extra strings to where it would correctly convert it to html
code.. Thanks..
Rob Schultz