Icons on Notable members page

Icons on Notable members page 2022-05-23

No permission to download
XF Compatibility
  1. 2.2.x
Short Description
Enhance your Notable members page with custom icons using our extra.less template. Customize and modify as needed based on specific routes or filters.
Would you like to have icons on Notable members page like this?
chrome_2019-02-18_11-56-43.webp

Add this to your extra.less template:
CSS:
/* Icons on Notable members page */
[data-template="member_notable"] .p-body-sideNavContent a.blockLink,
&[data-template="member_notable"] h3.block-textHeader a {
    &:before {
        .m-faBase();
        padding-right: 5px;
    }
    &[href*="members/"]:before {
        .m-faContent(@fa-var-ellipsis-h-alt);
    }
    &[href*="key=most_messages"]:before {
        .m-faContent(@fa-var-comments);
    }
    &[href*="key=highest_reaction_score"]:before {
        .m-faContent(@fa-var-thumbs-up);
    }
    &[href*="key=most_points"]:before {
        .m-faContent(@fa-var-dot-circle);
    }
    &[href*="key=xfrm_most_resources"]:before {
        .m-faContent(@fa-var-cog);
    }
    &[href*="key=xfmg_most_media_items"]:before {
        .m-faContent(@fa-var-images);
    }
    &[href*="key=xfmg_most_albums"]:before {
        .m-faContent(@fa-var-image);
    }
    &[href*="key=todays_birthdays"]:before {
        .m-faContent(@fa-var-gift);
    }
    &[href*="key=staff_members"]:before {
        .m-faContent(@fa-var-user-tie);
    }
}
/*****/

To change the icon edit value after @fa-var-.

If you are using route filters edit in the code what you've changed with filters (for example: if you're using route filter for members to users, then edit above code to suit.
Author
axtona
Views
499
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Send message to the Website Team and we will assist you quickly!
Support Developer If you are satisfied with the test or your project has earned you money, Click the More Information button to support the developer by purchasing.

More resources from axtona

Relevio.ai A
Relevio.ai 1.0.0
This is the XenForo add-on for Relevio, a unique context‑aware, rule‑driven moderation engine
AI ForumBot A
AI ForumBot 1.1.1
ForumBot gives you a bot trained on your forum's own content
Persona - Personalise Your Forum Identity A
Persona gives every member on your forum the tools to make their presence their own.

Similar resources

Back
Top