Announcement

Collapse
No announcement yet.

bbcode_quote for specific usergroups

Collapse
X
Collapse
First Prev Next Last
  • Filter
  • Time
  • Show
Clear All
new posts

    bbcode_quote for specific usergroups

    How would I go about adding a specific background color on the quote box based off the usergroupid of the person quoted?

    In example a regular user quoting an admin it would show up as yellow instead of the traditional alt2 background?

    #2
    The stylvar for that is .bbcode_container .bbcode_quote

    Go to AdminCP and look at usergroups to see which usergroup your regular users are. In my site, they are usergroup 2. Find yours and replace the 2 with whatever group they are to have the same effect. Change the color and usergroup id for a similar effect for other usergroups on your site.

    so you would add this in additional css:

    Code:
    .bbcode_container .bbcode_quote[data-usergroupid='2'] {
    background-color: none 0 0, yellow;
    }

    Comment

    Working...
    X