Topic: New BBCode
Does anyone know how to add your own BBCode? i.e. [font color="red"]This is red![/font] Anyone?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → New BBCode
Does anyone know how to add your own BBCode? i.e. [font color="red"]This is red![/font] Anyone?
yeh you would have to edit the parser, and coloured text it part of punbb anyway look in the help This is Green!
This is Green!
No it isn't.
Connorhd wrote:This is Green!
No it isn't.
You've never heard of "Leeds Green"?. It's like Lincoln Green only redder.
I'd like to add the ability for one or two heading tags - <h2></h2> and <h3></h3>. Is it fairly straightforward? I haven't looked at the code in parser.php yet but am assuming it won't be too difficult.
it wouldn't be too difficult just add an extra thing next to a simple on like [b] but h2 might cause you problems as that is used alot in punbb
Thanks. I wouldn't use it here - it's for a custom CMS I'm working on.
Where is it in parser.php? I'll put in the code, but which line?
Things like: font type (i.e. Courier New), view all the colors (unless processed ex: adds whatever entered into tage without thinking 'bout it), headers, strikeout, more or less along those lines.
PunBB Forums → PunBB 1.2 troubleshooting → New BBCode
Powered by PunBB, supported by Informer Technologies, Inc.