If you require for the markup to show in the Members Online Now listings you'll have to go into the the sidebar_online_users Template and make the following change. Thanks to Mental for allowing me to post the following code.
You would have to simply replace that template edit with the replace with
As for assigning specific markup images to members go to your admicp >> users >> usergroup >> click registered and add the following code ensuring the path linking to the image is correct and the icon/image is unique to that usergroup.And repeat if you want to associate specific icons for other usergroups.
Not sure where you wanted the usergroup markup to show in your profile. I just added mine under my Avatar (screenshot below) though if you would like to do the same go into your member_view template and find the following code