Alexandr.P Posted January 28, 2021 Share Posted January 28, 2021 Hello, how do I replace the moderator icon with a friend or add different icons?) Quote Link to comment Share on other sites More sharing options...
Ryan Ashbrook Posted January 28, 2021 Share Posted January 28, 2021 Custom CSS: .cAuthorPane_badge--moderator::before { content: "\f132"; } Change f132 to any FontAwesome icon (you can find the appropriate replacement by clicking on the icon on that page, and look next to the Unicode label). Alexandr.P 1 Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 28, 2021 Share Posted January 28, 2021 You can adjust it via custom CSS. /* Change the icon for moderators */ .cAuthorPane_badge--moderator::before { content: "\f2c2"; } Use the unicode value of the fontawesome 4 icon you'd like to replace it with. I used id-card as an example above. Alright, Ryan. Time to arm wrestle. Alexandr.P 1 Link to comment Share on other sites More sharing options...
Alexandr.P Posted January 29, 2021 Author Share Posted January 29, 2021 Thank you very much) And how to add different icons to different users, in the code it turns out we edit who is the moderator. Use this icon for a regular account?.🙂 Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 29, 2021 Share Posted January 29, 2021 The only other badge is for new members (registered within the last 30 days). /* Change the icon for new members */ .cAuthorPane_badge--new::before { content: "\f2c2"; } Link to comment Share on other sites More sharing options...
Alexandr.P Posted January 29, 2021 Author Share Posted January 29, 2021 so you can't add new icons(( Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 29, 2021 Share Posted January 29, 2021 What do you mean by "new" icons? Do you mean badges for groups other than moderators/administrators and new members? If so, that would require a template/css customization. Link to comment Share on other sites More sharing options...
Alexandr.P Posted January 29, 2021 Author Share Posted January 29, 2021 it is the icons for users, so I ask where you can search in the template to add code) Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 29, 2021 Share Posted January 29, 2021 Can you provide a screenshot showing what you'd like to do? There are icons per usergroup that you can set out of the box, but these aren't badges. You do this in the group settings: Are you wanting to add a badge (the little blue circle that appears here in the bottom of a member's avatar) to all members (those that aren't "new" or moderators)? Link to comment Share on other sites More sharing options...
Alexandr.P Posted January 29, 2021 Author Share Posted January 29, 2021 4 minutes ago, Paul E. said: Are you wanting to add a badge (the little blue circle that appears here in the bottom of a member's avatar) to all members (those that aren't "new" or moderators)? Yes, yes)) Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 29, 2021 Share Posted January 29, 2021 Search for cAuthorPane_badge in templates and add whatever logic you'd like for whatever condition you'd like. Alexandr.P 1 Link to comment Share on other sites More sharing options...
Solution Alexandr.P Posted January 29, 2021 Author Solution Share Posted January 29, 2021 Thank you very much)) Link to comment Share on other sites More sharing options...
CoffeeCake Posted January 29, 2021 Share Posted January 29, 2021 Link to comment Share on other sites More sharing options...
Recommended Posts