How i make bbcode for background color in font

Get help developing custom BBCodes or request one.
Post Reply
PB190
Registered User
Posts: 134
Joined: Mon Apr 30, 2018 2:50 pm

How i make bbcode for background color in font

Post by PB190 »

Hello, how i make bbcode for background color in text ?

Like this:

Image


I need know

BBCode Usage:
HTML Replacement:
Help Line:


Thanks
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: How i make bbcode for background color in font

Post by david63 »

What have you tried so far?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
PB190
Registered User
Posts: 134
Joined: Mon Apr 30, 2018 2:50 pm

Re: How i make bbcode for background color in font

Post by PB190 »

nothing, i just try find it here https://www.phpbb.com/customise/db/custom_bbcodes-26
nothing...
PB190
Registered User
Posts: 134
Joined: Mon Apr 30, 2018 2:50 pm

Re: How i make bbcode for background color in font

Post by PB190 »

I try add this from
https://www.phpbb.com/support/docs/en/3 ... in-phpbb3/

Coloured background

BBCode usage:

Code: Select all

[background={COLOR}]{TEXT}[/background]
HTML replacement:

Code: Select all

<span style="background-color: {COLOR};">{TEXT}</span>
Example usage:

Code: Select all

[background=yellow]text on a yellow background[/background]

But this code is useless,
Last edited by PB190 on Sun May 20, 2018 2:07 pm, edited 1 time in total.
PB190
Registered User
Posts: 134
Joined: Mon Apr 30, 2018 2:50 pm

Re: How i make bbcode for background color in font

Post by PB190 »

I find it !

Code: Select all

[hil]{TEXT}[/hil]

Code: Select all

<span style="background-color: #FFFF00">{TEXT}</span>

Code: Select all

Highlight: [hil]your text[/hil]
Post Reply

Return to “Custom BBCode Development and Requests”