Categories > TinyButStrong general >

implementing bbcode

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: DJMoran
Date: 2009-04-08
Time: 18:06

implementing bbcode

um... where in the class file (line number) can I put a function call for string replacement?
By: TomH
Date: 2009-04-09
Time: 02:05

Re: implementing bbcode

I'm not very 'classy' as a programmer... but wouldn't it be better to write a class that extends the TBS class?
By: DJMoran
Date: 2009-04-09
Time: 13:16

Re: implementing bbcode

I would but I'm never any good with classes and I have always stayed away from them
By: Skrol29
Date: 2009-04-09
Time: 16:51

Re: implementing bbcode

Why don't you just do the string replacement on $TBS->Source ?
By: DJMoran
Date: 2009-04-10
Time: 00:21

Re: implementing bbcode

could you give an example of the code the function is i'm using is called bb()
By: Skrol29
Date: 2009-04-13
Time: 22:02

Re: implementing bbcode

$TBS->Source  = bb($TBS->Source);
By: DJMoran
Date: 2009-04-13
Time: 23:10

Re: implementing bbcode

thank you for the help
By: Michaelsen
Date: 2009-04-21
Time: 07:29

Re: implementing bbcode

Shouldn't he be using something like:

[news.body;onformat=ubbTBS;htmlconv=no]

Regards!

- Michaelsen