Advertisement:

Author Topic: In which file are the bbcode's defined?  (Read 371 times)

Offline Alfjan

  • Newbie
  • *
  • Posts: 9
In which file are the bbcode's defined?
« 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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,963
    • StoryBB/StoryBB on GitHub
Re: In which file are the bbcode's defined?
« Reply #1 on: January 10, 2019, 04:58:05 AM »
Sources/Subs.php.

What do you want to do? It may not be a simple change.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Alfjan

  • Newbie
  • *
  • Posts: 9
Re: In which file are the bbcode's defined?
« Reply #2 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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 70,963
    • StoryBB/StoryBB on GitHub
Re: In which file are the bbcode's defined?
« Reply #3 on: January 10, 2019, 05:11:28 AM »
You want to change it to what exactly?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Alfjan

  • Newbie
  • *
  • Posts: 9
Re: In which file are the bbcode's defined?
« Reply #4 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.