Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => FAQ / How To ... => Topic started by: Stefan1200 on November 07, 2014, 09:02:07 PM

Title: Changing colors of the green highlighted keywords
Post by: Stefan1200 on November 07, 2014, 09:02:07 PM
You like to change the color of the green highlighted keywords in the helptext of the web interface, like shown in this screenshot (https://www.stefan1200.de/documentation/jts3servermod_mysql/webinterface/welcomemessage.gif)?

Since Web Interface 3.0 Build 3010 (10.07.2015) this colors are taken from the css file.
Just look into the css file in the data/css directory at the class:
.bbcode_message_keyword
{
color:#008000;
}



In older Web Interface versions you have to change the colors in the database:
Example: Change the color from #008000 to #800080
UPDATE jts3servermodwebui_translation SET `textmessage` = REPLACE (`textmessage`, '[color=#008000]', '[color=#800080]') WHERE `textmessage` LIKE '%[color=#008000]%'

Just list all messages with BBCode color:
SELECT * FROM `jts3servermodwebui_translation` WHERE `textmessage` LIKE '%[color=%'

Just execute this SQL commands using PHPMyAdmin or a MySQL client of your choice.
Title: Re: Hint: Changing colors of the green highlighted keywords
Post by: Jay on November 09, 2014, 09:12:30 PM
Worked like a charm :)