XF 2.2 User Group Banners

mle

New member
Hi,

i want to display the moderator or administrator banner instead of the normal staff member banner for admins or mods. I dont find this option in admin panel.

For example:

1668155974852.webp

Thank you
 
Screen Shot 2022-11-11 at 4.53.45 AM.png
If you don't want to show staff banner at all, turn it off. Otherwise, it's going to show...... as you can see, it's listed as the HIGHEST priority banner, so it trumps ANY others that you have, unless you check Show staff & group banner
Setup->Options->User Options
 
View attachment 276290
If you don't want to show staff banner at all, turn it off. Otherwise, it's going to show...... as you can see, it's listed as the HIGHEST priority banner, so it trumps ANY others that you have, unless you check Show staff & group banner
Setup->Options->User Options

I followed your instructions:

1668166752994.png

Now the staff banner is disabled. Unfortunately, the group banner is still not displayed.

1668166812667.png

1668166848440.webp
 
This is what works for me in a user group to use banners

Screen Shot 2022-11-11 at 5.47.04 AM.png
Screen Shot 2022-11-11 at 5.47.58 AM.png

and it results in this for the user

Screen Shot 2022-11-11 at 5.49.08 AM.png

Similar for mine as "founder"

Screen Shot 2022-11-11 at 5.54.27 AM.webp
 
Last edited:
can you share the css you used? What is the size of the banner?
It's basically some modification on the resource that was posted here that I found.
As for the "size" of the banner... it's not an image.... it's created by CSS and uses a fontawesome icon in it.

Screen Shot 2022-11-24 at 9.43.15 PM.webpScreen Shot 2022-11-24 at 9.43.37 PM.webp

Screen Shot 2022-11-24 at 9.29.38 PM.webp

Code:
.label
{  
    &:after
    {
        padding-left: 4px;
        .m-faBase();
    }    
    &:before
    {
        padding-right: 4px;
        .m-faBase();
    }

    &.label--
    {        
/* User Banner custom configs */
        
        &site_founding_member:before
        {
            .m-faContent(@fa-var-galaxy);
            color: #872402;
            font-size:15px;
        }
        
    }
}

/* User Banner modifications */
.label.label--site_founding_member {
    background: #7eb5e8;
    color: #35354b;
    border-color: #140f66;
}
/* End User Banner modifications */
 
Now the banner for the administrator is disappeared again. Only when i select a secound usergroup, e.g. moderator, the banner appeared. i didnt change anything.

Config:
 

Attachments

  • Screenshot 2022-11-30 091624.webp
    Screenshot 2022-11-30 091624.webp
    12.9 KB · Views: 16
  • Screenshot 2022-11-30 091558.webp
    Screenshot 2022-11-30 091558.webp
    24.6 KB · Views: 18
  • Screenshot 2022-11-30 091515.webp
    Screenshot 2022-11-30 091515.webp
    42.7 KB · Views: 18
Top Bottom