Page 1 of 1

Custom bbcode without using database?

Posted: Wed Dec 12, 2012 3:47 pm
by yops
Hello,

I would like to add some new bbcodes but I don't want to use the database for some reasons
Can you please tell me what files I have to edits and give me an example of adding a custom bbcode such as centre bbcode?

Thanks!

Re: Custom bbcode without using database?

Posted: Wed Dec 12, 2012 3:57 pm
by Erik Frèrejean
includes/message_parser.php and includes/bbcode.php are involved.

Re: Custom bbcode without using database?

Posted: Wed Dec 12, 2012 7:46 pm
by yops
Thanks for your answer, I have managed to add my own bbcode but the only problem is that when I click on a custom button that use the database, it show the tags of my bbcode that I just created, what should I change to make BBCODE_ID works?

Re: Custom bbcode without using database?

Posted: Sat Dec 15, 2012 10:59 am
by yops
Any ideas?