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

    Users Viewing This Page

    Collapse

    There is 1 user viewing this forum topic.

    • Guest Guest

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"