vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328154

Customize 4x6 Text Color Palette
by Drucifer
26 Jul 2020 06:45

I have several local team colors I use over and over again in posts?

Is there any way to customize the 4x6 palette of text colors in the edit menu box?

In Omnibus 27 Jul 2020 00:46

You can hack the ckeditor but you won't get out the colors you put in because web browsers convert whatever you put in to the closest "web safe" color.

The best way to do it is to use HTML markup.

You can surround any post element with HTML and get the color you want.

<span style="color:#FF0000">Text</span>

Obviously, you need the exact hex values for each color for this to work as desired.

Drucifer 27 Jul 2020 01:20

Quote:

Originally Posted by In Omnibus (Post 2603603)
You can hack the ckeditor but you won't get out the colors you put in because web browsers convert whatever you put in to the closest "web safe" color.

The best way to do it is to use HTML markup.

You can surround any post element with HTML and get the color you want.

<span style="color:#FF0000">Text</span>

Obviously, you need the exact hex values for each color for this to work as desired.

I only use safe colors.


Actually there is one color I really used over and over #0044aa.

How do I make a simple BBcode to change one line of text to that color?

In Omnibus 27 Jul 2020 02:17

1 Attachment(s)
In the AdminCP under Custom BBCodes

Add New BBCode

These are the fields from top to bottom in case you can't read the attachment.

Color

color

<span style='color:#0044AA;'>Text</span>

[color]Text[/color]

Changes text color to #0044AA

images/misc/button.png

You can leave the radio buttons as they are defaulted.

Make sure you put an image somewhere on your server and have your path going to that image. Otherwise you will have a blank square.

Drucifer 27 Jul 2020 03:47

Quote:

Originally Posted by In Omnibus (Post 2603605)
In the AdminCP under Custom BBCodes

Add New BBCode

These are the fields from top to bottom in case you can't read the attachment.

Color

color

<span style='color:#0044AA;'>Text</span>

[color]Text[/color]

Changes text color to #0044AA

images/misc/button.png

You can leave the radio buttons as they are defaulted.

Make sure you put an image somewhere on your server and have your path going to that image. Otherwise you will have a blank square.

I did that. Except I did BLUE instead of COLOR before. It put visible bbcode tags on both sides of what I'm trying to color.

I just did yours exactly and the results were the same - visible tags and no color change.

NEVERMIND it works. I should have looked at Preview.

https://metsglobal.org/Forums/Pix/vB...e_BlueText.jpg


All times are GMT. The time now is 20:54.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.