Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: danster on April 10, 2019, 12:18:24 PM

Title: How to highlight some text in forum by using bbcode
Post by: danster on April 10, 2019, 12:18:24 PM
I'm using SMF ver. 2.0.15

Is there a way to highlight some text in the massage box using bbcode
if it is possible pls tell me what is the bbcode to be use for that

Thank you
Title: Re: How to highlight some text in forum by using bbcode
Post by: Sir Osis of Liver on April 10, 2019, 12:23:40 PM
You mean like this?
Title: Re: How to highlight some text in forum by using bbcode
Post by: danster on April 11, 2019, 05:17:20 AM
You mean like this?

NO Like we are highlighting the text by using highlighter pen I mean some color box around the text 
Title: Re: How to highlight some text in forum by using bbcode
Post by: Antechinus on April 11, 2019, 06:43:50 AM
You'd have to write a custom BBC for that. Not difficult to do. You can copy an existing example in Subs.php, and just change the styling to suit.
Title: Re: How to highlight some text in forum by using bbcode
Post by: Biology Forums on April 11, 2019, 09:12:14 AM
You'd have to write a custom BBC for that. Not difficult to do. You can copy an existing example in Subs.php, and just change the styling to suit.

For a starter, probably best to use a mod like this: http://custom.simplemachines.org/mods/index.php?mod=3864

Then use:

Code: [Select]
<span style="background-color: #FFFF88; padding: 0 2px;">{CONTENT}</span>
Title: Re: How to highlight some text in forum by using bbcode
Post by: Kindred on April 11, 2019, 09:39:22 AM
or this one...

https://custom.simplemachines.org/mods/index.php?mod=3825
Title: Re: How to highlight some text in forum by using bbcode
Post by: njtweb on September 05, 2019, 08:07:14 AM
or this one...

https://custom.simplemachines.org/mods/index.php?mod=3825

Thank you, still works on 2.0.15