Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 28, 20214 yr Hello, how do I replace the moderator icon with a friend or add different icons?) Quote
January 28, 20214 yr 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).
January 28, 20214 yr 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.
January 29, 20214 yr Author 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?.🙂
January 29, 20214 yr 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"; }
January 29, 20214 yr 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.
January 29, 20214 yr Author it is the icons for users, so I ask where you can search in the template to add code)
January 29, 20214 yr 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)?
January 29, 20214 yr Author 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))
January 29, 20214 yr Search for cAuthorPane_badge in templates and add whatever logic you'd like for whatever condition you'd like.