Jump to content
  • This database is read only. Information may not be accurate. For up to date information, please join our Main Discord and ask: Click to join.
  • Group Colors Not Working In Reacted Chain


    Roy
    • Group: IPS 4
    The Issue

    Group colors are not displaying when looking at the "<userName> reacted to this" post text. Instead, it shows white text.


    Example(s)

    25401ad412210d.png

     

    The first two users are in the Moderation group but it isn't displaying as the group's color.




    Cause(s)

    In the AdminCP, you are using:

     

    <span style="color: #<6DigitColor>;">{$username}</span>

    Using:

     

    color: #xxxxxx;

     

    Does not work properly at the moment.




    Solution(s)

    At the moment, in order for everything to work properly, you have to use rgb(r, g, b); instead of color: #xxxxxx;

     

    For example, the Moderator group's prefix should actually be:

     

    <span style='color: rgb(114,137,218);'>

     

    And the suffix should be:

     

    </span>

     

    You can find the RGB values of a color using a color picker such as this.




    Additional Information

    This is more of a work-around than solution. In the future we should find a way to fully support the color CSS attribute.


    Edited by Roy




    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...