Adding More colors to post reply...

Started by _complex, January 05, 2005, 12:53:10 AM

Previous topic - Next topic

_complex

About: This little trick will give you more colors to choose from then just ones that are givin.

   Remember to make an backup of the file.
            
Open: Themes/ YOUR THEME OF EDIT/Post.template.php

And Find:


<option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Black">', $txt[262], '</option>
<option value="Red">', $txt[263], '</option>
<option value="Yellow">', $txt[264], '</option>
<option value="Pink">', $txt[265], '</option>
<option value="Green">', $txt[266], '</option>
<option value="Orange">', $txt[267], '</option>
<option value="Purple">', $txt[268], '</option>
<option value="Blue">', $txt[269], '</option>
<option value="Beige">', $txt[270], '</option>
<option value="Brown">', $txt[271], '</option>
<option value="Teal">', $txt[272], '</option>
<option value="Navy">', $txt[273], '</option>
<option value="Maroon">', $txt[274], '</option>
<option value="LimeGreen">', $txt[275], '</option>
</select>';




Replace With:



      <option value="" selected="selected">', $txt['change_color'], '</option>
<option value="Snow" style="color:snow;">Snow</option>
  <option value="Slateblue"
style="color:slateblue;">Slateblue</option>
  <option value="Slategray"
style="color:slategray;">Slategray</option>
  <option value="Springgreen"
style="color:springgreen;">Springgreen</option>
  <option value="Steelblue"
style="color:steelblue;">Steelblue</option>
  <option value="Tan" style="color:tan;">Tan</option>
  <option value="Teal" style="color:teal;">Teal</option>
  <option value="Thistle"
style="color:thistle;">Thistle</option>
  <option value="Tomato"
style="color:tomato;">Tomato</option>
  <option value="Turquoise"
style="color:turquoise;">Turquoise</option>
  <option value="Violet"
style="color:violet;">Violet</option>
  <option value="Wheat" style="color:wheat;">Wheat</option>
  <option value="White" style="color:white;">White</option>
  <option value="Whitesmoke"
style="color:whitesmoke;">Whitesmoke</option>
  <option value="Yellow"
style="color:yellow;">Yellow</option>
  <option value="Yellowgreen"
style="color:yellowgreen;">Yellowgreen</option>
  <option value="Aliceblue"
style="color:aliceblue;">Aliceblue</option>
  <option value="Antiquewhite"
style="color:antiquewhite;">Antiquewhite</option>
  <option value="Aqua" style="color:aqua;">Aqua</option>
  <option value="Aquamarine"
style="color:aquamarine;">Aquamarine</option>
  <option value="Azure" style="color:azure;">Azure</option>
  <option value="Beige" style="color:beige;">Beige</option>
  <option value="Darkblue"
style="color:darkblue;">Darkblue</option>
  <option value="Darkcyan"
style="color:darkcyan;">Darkcyan</option>
  <option value="Darkgoldenrod"
style="color:darkgoldenrod;">Darkgoldenrod</option>
  <option value="Darkgray"
style="color:darkgray;">Darkgray</option>
  <option value="Darkgreen"
style="color:darkgreen;">Darkgreen</option>
  <option value="Darkkhaki"
style="color:darkkhaki;">Darkkhaki</option>
  <option value="Darkmagenta"
style="color:darkmagenta;">Darkmagenta</option>
  <option value="Darkolivegreen"
style="color:darkolivegreen;">Darkolivegreen</option>
  <option value="Darkorange"
style="color:darkorange;">Darkorange</option>
  <option value="Darkorchid"
style="color:darkorchid;">Darkorchid</option>
  <option value="Darkred"
style="color:darkred;">Darkred</option>
  <option value="Darksalmon"
style="color:darksalmon;">Darksalmon</option>
  <option value="Darkseagreen"
style="color:Darkseagreen;">Darkseagreen</option>
  <option value="Darkslateblue"
style="color:darkslateblue;">Darkslateblue</option>
  <option value="Darkslategray"
style="color:darkslategray;">Darkslategray</option>
  <option value="Darkturquoise"
style="color:darkturquoise;">Darkturquoise</option>
  <option value="Darkviolet"
style="color:darkviolet;">Darkviolet</option>
  <option value="Deeppink"
style="color:deeppink;">Deeppink</option>
  <option value="Bisque"
style="color:bisque;">Bisque</option>
  <option value="Black" style="color:black;">Black</option>
  <option value="Blanchealmond"
style="color:blanchealmond;">Blanchealmond</option>
  <option value="Blue" style="color:blue;">Blue</option>
  <option value="Blueviolet"
style="color:blueviolet;">Blueviolet</option>
  <option value="Brown" style="color:brown;">Brown</option>
  <option value="Burlywood"
style="color:burlywood;">Burlywood</option>
  <option value="Cadetblue"
style="color:cadetblue;">Cadetblue</option>
  <option value="Chartreuse"
style="color:chartreuse;">Chartreuse</option>
  <option value="Chocolate"
style="color:chocolate;">Chocolate</option>
  <option value="Coral" style="color:coral;">Coral</option>
  <option value="Cornflowerblue"
style="color:cornflowerblue;">Cornflowerblue</option>
  <option value="Cornsilk"
style="color:cornsilk;">Cornsilk</option>
  <option value="Crimson"
style="color:crimson;">Crimson</option>
  <option value="Cyan" style="color:cyan;">Cyan</option>
  <option value="Deepskyblue"
style="color:deepskyblue;">Deepskyblue</option>
  <option value="Dimgray"
style="color:dimgray;">Dimgray</option>
  <option value="Dodgerblue"
style="color:dodgerblue;">Dodgerblue</option>
  <option value="Firebrick"
style="color:firebrick;">Firebrick</option>
  <option value="Floralwhite"
style="color:floralwhite;">Floralwhite</option>
  <option value="Forestgreen"
style="color:forestgreen;">Forestgreen</option>
  <option value="Fuchia"
style="color:fuchia;">Fuchia</option>
  <option value="Gainsboro"
style="color:gainsboro;">Gainsboro</option>
  <option value="Ghostwhite"
style="color:ghostwhite;">Ghostwhite</option>
  <option value="Gold" style="color:gold;">Gold</option>
  <option value="Goldenrod"
style="color:goldenrod;">Goldenrod</option>
  <option value="Gray" style="color:gray;">Gray</option>
  <option value="Green" style="color:green;">Green</option>
  <option value="Greenyellow"
style="color:greenyellow;">Greenyellow</option>
  <option value="Honeydew"
style="color:honeydew;">Honeydew</option>
  <option value="Lightcyan"
style="color:lightcyan;">Lightcyan</option>
  <option value="Lightgoldenrodyellow"
style="color:lightgoldenrodyellow;">Lightgoldenrodyellow</option><
br />
  <option value="Lightgreen"
style="color:lightgreen;">Lightgreen</option>
  <option value="Lightgrey"
style="color:lightgrey;">Lightgrey</option>
  <option value="Lightpink"
style="color:lightpink;">Lightpink</option>
  <option value="Lightsalmon"
style="color:lightsalmon;">Lightsalmon</option>
  <option value="Lightseagreen"
style="color:lightseagreen;">Lightseagreen</option>
  <option value="Lightskyblue"
style="color:lightskyblue;">Lightskyblue</option>
  <option value="Lightslategray"
style="color:lightslategray;">Lightslategray</option>
  <option value="Hotpink"
style="color:hotpink;">Hotpink</option>
  <option value="Indianred"
style="color:indianred;">Indianred</option>
  <option value="Indigo"
style="color:indigo;">Indigo</option>
  <option value="Ivory" style="color:ivory;">Ivory</option>
  <option value="Khaki" style="color:khaki;">Khaki</option>
  <option value="Lavender"
style="color:lavender;">Lavender</option>
  <option value="Lavenderblush"
style="color:lavenderblush;">Lavenderblush</option>
  <option value="Lawngreen"
style="color:lawngreen;">Lawngreen</option>
  <option value="Lemonchiffon"
style="color:lemonchiffon;">Lemonchiffon</option>
  <option value="Lightblue"
style="color:lightblue;">Lightblue</option>
  <option value="Lightcoral"
style="color:lightcoral;">Lightcoral</option>
  <option value="Lightsteelblue"
style="color:lightsteelblue;">Lightsteelblue</option>
  <option value="Lightyellow"
style="color:lightyellow;">Lightyellow</option>
  <option value="Lime" style="color:lime;">Lime</option>
  <option value="Limegreen"
style="color:limegreen;">Limegreen</option>
  <option value="Linen" style="color:linen;">Linen</option>
  <option value="Magenta"
style="color:magenta;">Magenta</option>
  <option value="Maroon"
style="color:maroon;">Maroon</option>
  <option value="Mediumaquamarine"
style="color:mediumaquamarine;">Mediumaquamarine</option>
  <option value="Mediumblue"
style="color:mediumblue;">Mediumblue</option>
  <option value="Mediumorchid"
style="color:mediumorchid;">Mediumorchid</option>
  <option value="Mediumpurple"
style="color:mediumpurple;">Mediumpurple</option>
  <option value="Mediumseagreen"
style="color:mediumseagreen;">Mediumseagreen</option>
  <option value="Mediumslateblue"
style="color:mediumslateblue;">Mediumslateblue</option>
  <option value="Mediumspringgreen"
style="color:mediumspringgreen;">Mediumspringgreen</option>
  <option value="Mediumturquoise"
style="color:mediumturquoise;">Mediumturquoise</option>
  <option value="Mediumvioletred"
style="color:mediumvioletred;">Mediumvioletred</option>
  <option value="Midnightblue"
style="color:midnightblue;">Midnightblue</option>
  <option value="Mintcream"
style="color:mintcream;">Mintcream</option>
  <option value="Mistyrose"
style="color:mistyrose;">Mistyrose</option>
  <option value="Moccasin"
style="color:moccasin;">Moccasin</option>
  <option value="Navajowhite"
style="color:navajowhite;">Navajowhite</option>
  <option value="Navy" style="color:navy;">Navy</option>
  <option value="Oldlace"
style="color:oldlace;">Oldlace</option>
  <option value="Olive" style="color:olive;">Olive</option>
  <option value="Olivedrab"
style="color:olivedrab;">Olivedrab</option>
  <option value="Orange"
style="color:orange;">Orange</option>
  <option value="Orangered"
style="color:orangered;">Orangered</option>
  <option value="Orchid"
style="color:orchid;">Orchid</option>
  <option value="Palegoldenrod"
style="color:palegoldenrod;">Palegoldenrod</option>
  <option value="Palegreen"
style="color:palegreen;">Palegreen</option>
  <option value="Paleturquoise"
style="color:paleturquoise;">Paleturquoise</option>
  <option value="Palevioletred"
style="color:palevioletred;">Palevioletred</option>
  <option value="Papayawhip"
style="color:papayawhip;">Papayawhip</option>
  <option value="Peachpuff"
style="color:peachpuff;">Peachpuff</option>
  <option value="Peru" style="color:peru;">Peru</option>
  <option value="Pink" style="color:pink;">Pink</option>
  <option value="Plum" style="color:plum;">Plum</option>
  <option value="Powderblue"
style="color:powderblue;">Powderblue</option>
  <option value="Purple"
style="color:purple;">Purple</option>
  <option value="Red" style="color:red;">Red</option>
  <option value="Rosybrown"
style="color:rosybrown;">Rosybrown</option>
  <option value="Royalblue"
style="color:royalblue;">Royalblue</option>
  <option value="Saddlebrown"
style="color:saddlebrown;">Saddlebrown</option>
  <option value="Salmon"
style="color:salmon;">Salmon</option>
  <option value="Sandybrown"
style="color:sandybrown;">Sandybrown</option>
  <option value="Seagreen"
style="color:seagreen;">Seagreen</option>
  <option value="Seashell"
style="color:seashell;">Seashell</option>
  <option value="Sienna"
style="color:sienna;">Sienna</option>
  <option value="Silver"
style="color:silver;">Silver</option>
  <option value="Skyblue"
style="color:skyblue;">Skyblue</option>
</select>';

            
            Remember to make an backup of the file.

Anguz

How about doing it like this?


<option value="" selected="selected">', $txt['change_color'], '</option>';

// Here go all the color options.
foreach ($txt['colors'] as $k => $v)
echo '
<option value="', $k, '" style="color: ', $k, ';">', $v, '</option>';

echo '
</select>';


In Modifications.english.php add


$txt['colors'] = array
(
'aliceblue' => 'Alice blue',
'antiquewhite' => 'Antique white',
'aqua' => 'Aqua',
'aquamarine' => 'Aquamarine',
'azure' => 'Azure',
'beige' => 'Beige',
'bisque' => 'Bisque',
'black' => 'Black',
'blanchealmond' => 'Blanche almond',
'blue' => 'Blue',
'blueviolet' => 'Blue violet',
'brown' => 'Brown',
'burlywood' => 'Burly wood',
'cadetblue' => 'Cadet blue',
'chartreuse' => 'Chart reuse',
'chocolate' => 'Chocolate',
'coral' => 'Coral',
'cornflowerblue' => 'Cornflower blue',
'cornsilk' => 'Corn silk',
'crimson' => 'Crimson',
'cyan' => 'Cyan',
'darkblue' => 'Dark blue',
'darkcyan' => 'Dark cyan',
'darkgoldenrod' => 'Dark golden rod',
'darkgray' => 'Dark gray',
'darkgreen' => 'Dark green',
'darkkhaki' => 'Dark khaki',
'darkmagenta' => 'Dark magenta',
'darkolivegreen' => 'Dark olive green',
'darkorange' => 'Dark orange',
'darkorchid' => 'Dark orchid',
'darkred' => 'Dark red',
'darksalmon' => 'Dark salmon',
'darkseagreen' => 'Dark sea green',
'darkslateblue' => 'Dark slate blue',
'darkslategray' => 'Dark slate gray',
'darkturquoise' => 'Dark turquoise',
'darkviolet' => 'Dark violet',
'deeppink' => 'Deep pink',
'deepskyblue' => 'Deep sky blue',
'dimgray' => 'Dim gray',
'dodgerblue' => 'Dodger blue',
'firebrick' => 'Fire brick',
'floralwhite' => 'Floral white',
'forestgreen' => 'Forest green',
'fuchia' => 'Fuchia',
'gainsboro' => 'Gainsboro',
'ghostwhite' => 'Ghost white',
'gold' => 'Gold',
'goldenrod' => 'Golden rod',
'gray' => 'Gray',
'green' => 'Green',
'greenyellow' => 'Green yellow',
'honeydew' => 'Honey dew',
'hotpink' => 'Hot pink',
'indianred' => 'Indian red',
'indigo' => 'Indigo',
'ivory' => 'Ivory',
'khaki' => 'Khaki',
'lavender' => 'Lavender',
'lavenderblush' => 'Lavender blush',
'lawngreen' => 'Lawn green',
'lemonchiffon' => 'Lemon chiffon',
'light blue' => 'Light blue',
'lightcoral' => 'Light coral',
'lightcyan' => 'Light cyan',
'lightgoldenrodyellow' => 'Light golden rod yellow',
'lightgreen' => 'Light green',
'lightgrey' => 'Light grey',
'lightpink' => 'Light pink',
'lightsalmon' => 'Light salmon',
'lightsea green' => 'Light sea green',
'lightsky blue' => 'Light sky blue',
'lightslate gray' => 'Light slate gray',
'lightsteel blue' => 'Light steel blue',
'lightyellow' => 'Light yellow',
'lime' => 'Lime',
'limegreen' => 'Lime green',
'linen' => 'Linen',
'magenta' => 'Magenta',
'maroon' => 'Maroon',
'mediumaquamarine' => 'Medium aquamarine',
'mediumblue' => 'Medium blue',
'mediumorchid' => 'Medium orchid',
'mediumpurple' => 'Medium purple',
'mediumseagreen' => 'Medium sea green',
'mediumslateblue' => 'Medium slate blue',
'mediumspringgreen' => 'Medium spring green',
'mediumturquoise' => 'Medium turquoise',
'mediumvioletred' => 'Medium violet red',
'midnightblue' => 'Midnight blue',
'mintcream' => 'Mint cream',
'mistyrose' => 'Misty rose',
'moccasin' => 'Moccasin',
'navajowhite' => 'Navajo white',
'navy' => 'Navy',
'oldlace' => 'Old lace',
'olive' => 'Olive',
'olivedrab' => 'Olive drab',
'orange' => 'Orange',
'orangered' => 'Orange red',
'orchid' => 'Orchid',
'palegoldenrod' => 'Pale golden rod',
'palegreen' => 'Pale green',
'paleturquoise' => 'Pale turquoise',
'palevioletred' => 'Pale violetred',
'papayawhip' => 'Papaya whip',
'peachpuff' => 'Peach puff',
'peru' => 'Peru',
'pink' => 'Pink',
'plum' => 'Plum',
'powder blue' => 'Powder blue',
'purple' => 'Purple',
'red' => 'Red',
'rosybrown' => 'Rosy brown',
'royalblue' => 'Royal blue',
'saddlebrown' => 'Saddle brown',
'salmon' => 'Salmon',
'sandybrown' => 'Sandy brown',
'seagreen' => 'Sea green',
'seashell' => 'Sea shell',
'sienna' => 'Sienna',
'silver' => 'Silver',
'skyblue' => 'Sky blue',
'slateblue' => 'Slate blue',
'slategray' => 'Slate gray',
'snow' => 'Snow',
'springgreen' => 'Spring green',
'steelblue' => 'Steel blue',
'tan' => 'Tan',
'teal' => 'Teal',
'thistle' => 'Thistle',
'tomato' => 'Tomato',
'turquoise' => 'Turquoise',
'violet' => 'Violet',
'wheat' => 'Wheat',
'white' => 'White',
'whitesmoke' => 'White smoke',
'yellow' => 'Yellow',
'yellowgreen' => 'Yellow green',
);


Haven't tested, but I think it should work like yours.
Cristián Lávaque http://cristianlavaque.com

Webby

How many colors is the limit.... :P 

Wow, this is really too much ;)

_complex

thanks Anguz ill look into that.

Quote from: Webby on January 05, 2005, 08:13:24 AM
How many colors is the limit.... :P

Wow, this is really too much ;)

lol, i don't know it maybe over ¿100.. :D

Anguz

#4
Quote from: nviceversa on January 05, 2005, 10:57:09 AM
thanks Anguz ill look into that.

No problem.
Cristián Lávaque http://cristianlavaque.com

Hellen

what the meaning of "$txt['change_color'] " ???

Hellen

#6
Does all the code in the "Modifications.english.php " just like this?  ???

<?php
// Version: 1.0 RC1; Modifications

?>


And I just need add the codes after this ?

And why there is "<br />" just after "color:lightgoldenrodyellow" ??? ??? ??? on the first post?


style="color:lightgoldenrodyellow;">Lightgoldenrodyellow</option><
br />




Quote from: Anguz on January 05, 2005, 05:03:06 AM
How about doing it like this?


<option value="" selected="selected">', $txt['change_color'], '</option>';

// Here go all the color options.
foreach ($txt['colors'] as $k => $v)
echo '
<option value="', $k, '" style="color: ', $k, ';">', $v, '</option>';

echo '
</select>';


In Modifications.english.php add


$txt['colors'] = array
(
'aliceblue' => 'Alice blue',
'antiquewhite' => 'Antique white',
'aqua' => 'Aqua',
'aquamarine' => 'Aquamarine',
'azure' => 'Azure',
'beige' => 'Beige',
'bisque' => 'Bisque',
'black' => 'Black',
'blanchealmond' => 'Blanche almond',
'blue' => 'Blue',
'blueviolet' => 'Blue violet',
'brown' => 'Brown',
'burlywood' => 'Burly wood',
'cadetblue' => 'Cadet blue',
'chartreuse' => 'Chart reuse',
'chocolate' => 'Chocolate',
'coral' => 'Coral',
'cornflowerblue' => 'Cornflower blue',
'cornsilk' => 'Corn silk',
'crimson' => 'Crimson',
'cyan' => 'Cyan',
'darkblue' => 'Dark blue',
'darkcyan' => 'Dark cyan',
'darkgoldenrod' => 'Dark golden rod',
'darkgray' => 'Dark gray',
'darkgreen' => 'Dark green',
'darkkhaki' => 'Dark khaki',
'darkmagenta' => 'Dark magenta',
'darkolivegreen' => 'Dark olive green',
'darkorange' => 'Dark orange',
'darkorchid' => 'Dark orchid',
'darkred' => 'Dark red',
'darksalmon' => 'Dark salmon',
'darkseagreen' => 'Dark sea green',
'darkslateblue' => 'Dark slate blue',
'darkslategray' => 'Dark slate gray',
'darkturquoise' => 'Dark turquoise',
'darkviolet' => 'Dark violet',
'deeppink' => 'Deep pink',
'deepskyblue' => 'Deep sky blue',
'dimgray' => 'Dim gray',
'dodgerblue' => 'Dodger blue',
'firebrick' => 'Fire brick',
'floralwhite' => 'Floral white',
'forestgreen' => 'Forest green',
'fuchia' => 'Fuchia',
'gainsboro' => 'Gainsboro',
'ghostwhite' => 'Ghost white',
'gold' => 'Gold',
'goldenrod' => 'Golden rod',
'gray' => 'Gray',
'green' => 'Green',
'greenyellow' => 'Green yellow',
'honeydew' => 'Honey dew',
'hotpink' => 'Hot pink',
'indianred' => 'Indian red',
'indigo' => 'Indigo',
'ivory' => 'Ivory',
'khaki' => 'Khaki',
'lavender' => 'Lavender',
'lavenderblush' => 'Lavender blush',
'lawngreen' => 'Lawn green',
'lemonchiffon' => 'Lemon chiffon',
'light blue' => 'Light blue',
'lightcoral' => 'Light coral',
'lightcyan' => 'Light cyan',
'lightgoldenrodyellow' => 'Light golden rod yellow',
'lightgreen' => 'Light green',
'lightgrey' => 'Light grey',
'lightpink' => 'Light pink',
'lightsalmon' => 'Light salmon',
'lightsea green' => 'Light sea green',
'lightsky blue' => 'Light sky blue',
'lightslate gray' => 'Light slate gray',
'lightsteel blue' => 'Light steel blue',
'lightyellow' => 'Light yellow',
'lime' => 'Lime',
'limegreen' => 'Lime green',
'linen' => 'Linen',
'magenta' => 'Magenta',
'maroon' => 'Maroon',
'mediumaquamarine' => 'Medium aquamarine',
'mediumblue' => 'Medium blue',
'mediumorchid' => 'Medium orchid',
'mediumpurple' => 'Medium purple',
'mediumseagreen' => 'Medium sea green',
'mediumslateblue' => 'Medium slate blue',
'mediumspringgreen' => 'Medium spring green',
'mediumturquoise' => 'Medium turquoise',
'mediumvioletred' => 'Medium violet red',
'midnightblue' => 'Midnight blue',
'mintcream' => 'Mint cream',
'mistyrose' => 'Misty rose',
'moccasin' => 'Moccasin',
'navajowhite' => 'Navajo white',
'navy' => 'Navy',
'oldlace' => 'Old lace',
'olive' => 'Olive',
'olivedrab' => 'Olive drab',
'orange' => 'Orange',
'orangered' => 'Orange red',
'orchid' => 'Orchid',
'palegoldenrod' => 'Pale golden rod',
'palegreen' => 'Pale green',
'paleturquoise' => 'Pale turquoise',
'palevioletred' => 'Pale violetred',
'papayawhip' => 'Papaya whip',
'peachpuff' => 'Peach puff',
'peru' => 'Peru',
'pink' => 'Pink',
'plum' => 'Plum',
'powder blue' => 'Powder blue',
'purple' => 'Purple',
'red' => 'Red',
'rosybrown' => 'Rosy brown',
'royalblue' => 'Royal blue',
'saddlebrown' => 'Saddle brown',
'salmon' => 'Salmon',
'sandybrown' => 'Sandy brown',
'seagreen' => 'Sea green',
'seashell' => 'Sea shell',
'sienna' => 'Sienna',
'silver' => 'Silver',
'skyblue' => 'Sky blue',
'slateblue' => 'Slate blue',
'slategray' => 'Slate gray',
'snow' => 'Snow',
'springgreen' => 'Spring green',
'steelblue' => 'Steel blue',
'tan' => 'Tan',
'teal' => 'Teal',
'thistle' => 'Thistle',
'tomato' => 'Tomato',
'turquoise' => 'Turquoise',
'violet' => 'Violet',
'wheat' => 'Wheat',
'white' => 'White',
'whitesmoke' => 'White smoke',
'yellow' => 'Yellow',
'yellowgreen' => 'Yellow green',
);


Haven't tested, but I think it should work like yours.

[Unknown]

Quote from: ruyi_forever on March 13, 2005, 01:48:21 AM
what the meaning of "$txt['change_color'] " ???

It's for internationalization.  It means "Change color".

-[Unknown]

Hellen

It Seems some colors do not work !

And I have tried them, and the colors shown below work very well......

Navy
Blue
Royalblue
Mediumblue
Dodgerblue
Steelblue
Skyblue
Deepskyblue
Lightskyblue
Aquamarine
Lightblue
Slateblue
Turquoise
Aqua
Powderblue
Cadetblue
Midnightblue
Darkblue

Orchid
Plum
Violet
Thistle
Mediumorchid
Darkorchid
Darkviolet
Blueviolet

Hotpink
Deeppink
Fuchsia
Lightpink
Magenta
Pink
Salmon
Lightcoral

Mediumpurple
Darkmagenta
Indigo
Purple

Seagreen
Darkcyan
Forestgreen
Limegreen
Darkgreen
Springgreen
Green
Lightgreen
Palegreen
Teal
Lime
Yellowgreen
Olive
Olivedrab

Darkorange
Tomato
Coral
Crimson
Indianred
Orangered
Red

Chocolate
Saddlebrown
Sienna

Slategray
Darkgray
Black

Orange
Goldenrod
Gold



clintre

It would be nice if this was something that could be setup in the admin panel as opposed to editing scripts. It is easy either way, but people who have limited scripting skills should not be going into scripts and modifying them.
The day after tomorrow is the third day of the rest of your life.

hxxp:dracosapphiri.org [nonactive]

Amacythe

There was a mod for YaBBSE to add colors... maybe someone will alter it

rojamaia



hi!

this is a good trick, but kinda confusing for beginners like me.

can someone please repost the complete code, complete with the colors that actually work?  thanks a lot in advance!   :D

shark

Im using SMF 1.1 RC1, not with the Default Theme.
My custom theme doesnt have Post.template.php, which file should i edit?
Pls guide, thanx :)

Anguz

If the template file is not in the custom theme, then it's picked from the default one. So if you want this to show just in the custom one, make a copy of that file and put it there and modify it.
Cristián Lávaque http://cristianlavaque.com

perplexed

:( I cant get this to work ie the colours dont change to the ones above, they stay with the standard names.

I went to the post template, changed 'pink' to hotpink'  and so on, didnt work, I added some new colours as per above, didnt work.

The dropdown list remains as standard

Is there another template that needs to be changed apart from the post one?

thanks

Anguz

To change the names, you go to the language file.
Cristián Lávaque http://cristianlavaque.com


Anguz

Cristián Lávaque http://cristianlavaque.com

Skipdawg

Quote from: clintre on March 14, 2005, 11:21:18 AM
It would be nice if this was something that could be setup in the admin panel as opposed to editing scripts. It is easy either way, but people who have limited scripting skills should not be going into scripts and modifying them.

This would be a good one to make a Mod for. To have a place in the Admin CP to pick and choose other color options to add to your forums colors list.  ;)
Skipdawg's Community

Powered by SMF 1.1.3

perplexed

Quote from: Skipdawg on February 08, 2006, 05:52:46 PM
Quote from: clintre on March 14, 2005, 11:21:18 AM
It would be nice if this was something that could be setup in the admin panel as opposed to editing scripts. It is easy either way, but people who have limited scripting skills should not be going into scripts and modifying them.

This would be a good one to make a Mod for. To have a place in the Admin CP to pick and choose other color options to add to your forums colors list.  ;)

yeah that would be nice, and for extra fonts too

Advertisement: