Recipe - User Logins Badge
Skill level: Beginner
Organization: The Crossing - Chesterfield
Requires Rock: 1.7.0
{# strip images & classes from the HTML but otherwise leave structure #}
What
A simple Person Profile Badge that shows all logins for the person as well as the last time they used that login.
Why
Because it's useful to see when someone logged-in, and what login name they used.
How
- Go to
Admin | General Settings | Person Profile Badges and add a new badge with the following settings:
- Save the badge.
- Go to any Person Profile page and edit the
Badges1, Badges2, or Badges3 block, depending on where you want this badge to show up.
- Select your
User Logins badge in the list of available badges.
- Refresh the page and you should now see a User Logins (purple key) badge, which you can hover-over to see the details.
You can of course change the FontAwesome icon and its color to something else if you don't like purple keys.
As this is mainly a troubleshooting tool, you may want to set the security on this badge so it's only visible to certain roles. In our org it is only visible to Rock Admin role since normal Staff don't need that info and it would just clutter their profile page.
Screenshots
- /GetImage.ashx?guid=7323a5eb-a213-46f8-a9ad-7c03a38318cd