Announcement

Collapse
No announcement yet.

Finding background color of post...

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

  • Finding background color of post...

    I'm working on a custom vB Code and I'm needing a variable that I can pass in a font color string that will make text in a post the same as the background colour of that post. Because there's two possible background colours for a given post, I need it to match the colour of the post that this new vB Code is being used in.

    Can anyone help?
    Eric J. Moreels
    ComiX-Fan Owner/Administrator
    e-mail: [email protected]
    Web: http://www.comixfan.com/xfan/

  • #2
    That's not possible without hacking.

    You can however use {firstaltcolor} and {secondaltcolor} in your posts, like this:

    [color={firstaltcolor}]Blabla[/color]

    [color={firstaltcolor}]Blabla[/color]

    The only problem is that if a post is deleted, the color you used in your post won't match anymore.
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

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

    Comment


    • #3
      Originally posted by FireFly
      The only problem is that if a post is deleted, the color you used in your post won't match anymore.
      Yeah, that's what I've been doing and that's the result I've been getting. I need it so that the text inbetween the custom vB Code tags matches the background of the post, no matter if its first or second alt colour.

      Is there a hack that does this or could someone create one, please?
      Eric J. Moreels
      ComiX-Fan Owner/Administrator
      e-mail: [email protected]
      Web: http://www.comixfan.com/xfan/

      Comment


      • #4
        Try this:
        http://vbulletin.com/forum/showthrea...threadid=16306
        Chen Avinadav
        Better to remain silent and be thought a fool than to speak out and remove all doubt.

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

        Comment


        • #5
          Perfect! Just what I needed, thanks for pointing me in the right direction FF!
          Eric J. Moreels
          ComiX-Fan Owner/Administrator
          e-mail: [email protected]
          Web: http://www.comixfan.com/xfan/

          Comment

          Related Topics

          Collapse

          Working...
          X