Lazarus

Miscellaneous => Other => Topic started by: 440bx on March 23, 2020, 04:15:45 pm

Title: [SOLVED] Question about forum posts formatting options
Post by: 440bx on March 23, 2020, 04:15:45 pm
Hello,

When composing a post, I see there is an option to change the text color using the "Change Color" dropdown menu but, it doesn't seem to give the option of changing the background color. 

Is there a way of choosing the text's background color ?

Thank you for your help.
Title: Re: Question about forum posts formatting options
Post by: lucamar on March 23, 2020, 04:28:25 pm
AFAIK, no. You can only "mark" lines inside [code] blocks, but the background colors seem to depend only on the theme appplied.
Title: Re: Question about forum posts formatting options
Post by: 440bx on March 23, 2020, 04:31:33 pm
Thank you Lucamar.  I suspected that was the case but, figured I'd ask to make sure.
Title: Re: Question about forum posts formatting options
Post by: winni on March 23, 2020, 05:28:25 pm
Hi!

And a font color inside a pascal block does not work - the color is ignored.

Winni
Title: Re: Question about forum posts formatting options
Post by: Martin_fr on March 23, 2020, 06:02:00 pm
Code: Pascal  [Select][+][-]
  1. if foo then begin
  2.   // Foo
  3.   if a then
  4.     bar(1)
  5.   else
  6.     bar(2);
  7. end;
  8.  

[ code=pascal, 2,4 ]
Title: Re: Question about forum posts formatting options
Post by: 440bx on March 23, 2020, 06:14:05 pm
[ code=pascal, 2,4 ]
That's a nice one.  I like it. 

Is there some "trick" like that to do it with regular text ?
Title: Re: Question about forum posts formatting options
Post by: Martin_fr on March 23, 2020, 06:26:31 pm
Is there some "trick" like that to do it with regular text ?

Not that I know of. Why is that so important?

The forum software does support (but it is disabled here / also do not know if they allowed background) basic html tags. When they were allowed, they were almost explicitly used by spammers. So they got disabled. The bb-code tags "[...]" afaik do not offer background color.
Title: Re: Question about forum posts formatting options
Post by: 440bx on March 23, 2020, 06:35:06 pm
Not that I know of. Why is that so important?
It's not really important.  Just every now and then I'd like to format some text in a way that is a bit more visually appealing.  Just cosmetics.

The bb-code tags "[...]" afaik do not offer background color.
Is there a list of bb-code tags the forum software supports ?

Thank you Martin.
Title: Re: Question about forum posts formatting options
Post by: Martin_fr on March 23, 2020, 06:43:54 pm
There are a few, that may get disabled at some point : free color / size ...
That is, if they start receiving abuse.

So where possible pick pre-defined colors.

https://wiki.simplemachines.org/smf/Category:Bulletin_Board_Code
Title: Re: Question about forum posts formatting options
Post by: 440bx on March 23, 2020, 06:51:53 pm
There are a few, that may get disabled at some point : free color / size ...
That is, if they start receiving abuse.

So where possible pick pre-defined colors.

https://wiki.simplemachines.org/smf/Category:Bulletin_Board_Code
Perfect.  Thank you Martin.
TinyPortal © 2005-2018