Announcement

Collapse
No announcement yet.

How do you create custom colors for vB code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do you create custom colors for vB code?

    I'm sure this has been asked and answered 1000 times, sorry But please point me to the answer or tell me here, thank you.
    Last edited by theflow; Sun 26 Aug '01, 10:33pm.
    .

  • #2
    look at your default replacement variable set for examples
    :: Always Back Up Forum Database + Attachments BEFORE upgrading !
    :: Nginx SPDY SSL - World Flags Demo [video results]
    :: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]

    Comment


    • #3
      If that's too hard, in the control panel, go to Styles and click Modify and just change colors there.

      Comment


      • #4
        Originally posted by eva2000
        look at your default replacement variable set for examples
        I looked there and didn;t find what I was looking for. Same with
        buddhist_88's reply. I don't think I communicated my question well.

        I meant the color choices in vB code "Color" pulldown at the Reply and Start new Thread compose screens. The pulldown has:

        skyblue
        royalblue
        blue
        darkblue
        orange
        orangered
        crimson
        red"
        firebrick
        darkred
        green
        limegreen
        seagreen
        deeppink
        tomato
        coral
        purple
        indigo
        burlywood
        sandybrown
        sienna
        chocolate
        teal
        silver

        Where would I change these and specify their color values?
        .

        Comment


        • #5
          template:
          vbcode_colorbits

          Comment


          • #6
            Originally posted by tubedogg
            template:
            vbcode_colorbits
            Okay I see that now, thanks. But I only see that you can delete the colors you don't want. How do I add colors, based on hex values, and how do I then name those colors? Where would that go? Is this colorbits template calling another file elsewhere, maybe a PHP file? Or am I missing the boat?
            .

            Comment


            • #7
              Just add this code:
              Code:
              <option value="#xxxxxx" style="color:#xxxxxx">xxxxxx</option>
              The value is used for the Javascript, the style is for making the text the same color, and the last one is what will show up on the list.
              Last edited by Chen; Sun 26 Aug '01, 11:02pm.
              Chen Avinadav
              Better to remain silent and be thought a fool than to speak out and remove all doubt.

              גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

              Comment


              • #8
                Originally posted by FireFly
                Just add this code:
                Code:
                <option value="#xxxxxx" style="color:#xxxxxx">xxxxxx</option>
                The value is used for the Javascript, the style is for making the text the same color, and the last one is what will show up on the list.
                gracias. looks like you've getting great usage out of crimson, red, darkred, firebrick et al. I'm not sure if you have broken yet another record here: # of sigfile changes per 24 hour period
                .

                Comment


                • #9
                  Originally posted by eva2000
                  look at your default replacement variable set for examples
                  Okay, I was clueless. Maybe this would help clear it up for me: when the list says:
                  PHP Code:
                  <option value="skyblue" style="color:skyblue">sky blue</option>

                  <
                  option value="royalblue" style="color:royalblue">royal blue</option
                  Those colors there -- are they standard html conventions, thus no hex value need be specified? Ashamed to admit, but I don't know html... just starting to pick it up a bit.
                  .

                  Comment


                  • #10
                    Yes, there are some colors that are coded in HTML (I really don't know how that stuff work, so excuse my language), so no need in hex values.
                    I once saw a complete list of these colors, if I find it I'll let you know.
                    http://www.pgpl.co.nz/presource.html
                    Last edited by Chen; Sun 26 Aug '01, 11:30pm.
                    Chen Avinadav
                    Better to remain silent and be thought a fool than to speak out and remove all doubt.

                    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X