Custom bbcode without using database?

Discussion forum for MOD Writers regarding MOD Development.
Locked
yops
Registered User
Posts: 29
Joined: Tue Jun 28, 2011 8:56 am

Custom bbcode without using database?

Post by yops » Wed Dec 12, 2012 3:47 pm

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!

User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Custom bbcode without using database?

Post by Erik Frèrejean » Wed Dec 12, 2012 3:57 pm

includes/message_parser.php and includes/bbcode.php are involved.
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)

yops
Registered User
Posts: 29
Joined: Tue Jun 28, 2011 8:56 am

Re: Custom bbcode without using database?

Post by yops » Wed Dec 12, 2012 7:46 pm

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?

yops
Registered User
Posts: 29
Joined: Tue Jun 28, 2011 8:56 am

Re: Custom bbcode without using database?

Post by yops » Sat Dec 15, 2012 10:59 am

Any ideas?

Locked

Return to “[3.0.x] MOD Writers Discussion”