Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Alfjan on January 10, 2019, 04:57:11 AM

Title: In which file are the bbcode's defined?
Post by: Alfjan on January 10, 2019, 04:57:11 AM
Hello,

I want to modify a standard bbcode but do not know which file to use for that.
Please give me path and name of the file.
Title: Re: In which file are the bbcode's defined?
Post by: Arantor on January 10, 2019, 04:58:05 AM
Sources/Subs.php.

What do you want to do? It may not be a simple change.
Title: Re: In which file are the bbcode's defined?
Post by: Alfjan on January 10, 2019, 05:04:41 AM
I want do change the
to do <p><center>text</center></p>.
I have knolledge of php programming but just dont know where to search.
Title: Re: In which file are the bbcode's defined?
Post by: Arantor on January 10, 2019, 05:11:28 AM
You want to change it to what exactly?
Title: Re: In which file are the bbcode's defined?
Post by: Alfjan on January 10, 2019, 05:48:15 AM
Tnx. I manged to modify Subs.php to include a line before and after the center bbcode.