Recent

Author Topic: [SOLVED] Question about forum posts formatting options  (Read 1923 times)

440bx

  • Hero Member
  • *****
  • Posts: 3944
[SOLVED] Question about forum posts formatting options
« 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.
« Last Edit: March 23, 2020, 07:47:50 pm by 440bx »
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Question about forum posts formatting options
« Reply #1 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.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: Question about forum posts formatting options
« Reply #2 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.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Question about forum posts formatting options
« Reply #3 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

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9792
  • Debugger - SynEdit - and more
    • wiki
Re: Question about forum posts formatting options
« Reply #4 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 ]

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: Question about forum posts formatting options
« Reply #5 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 ?
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9792
  • Debugger - SynEdit - and more
    • wiki
Re: Question about forum posts formatting options
« Reply #6 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.

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: Question about forum posts formatting options
« Reply #7 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.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9792
  • Debugger - SynEdit - and more
    • wiki
Re: Question about forum posts formatting options
« Reply #8 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
« Last Edit: March 23, 2020, 06:46:49 pm by Martin_fr »

440bx

  • Hero Member
  • *****
  • Posts: 3944
Re: Question about forum posts formatting options
« Reply #9 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.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018