@Codejet I'm making kinda similar plugin right now.
The plugin's goal is to show only one badge with a "most high priority".
Let's say a user is in three groups:
"Officer" (group's weight: 60)
"Recruiter" (group's weight: 55)
"Regular" (group's weight: 50)
Regardless of what was choosen in UserSettings as a badge, only "Officer" badge will be shown, 'cuz that group has higher priority than others.
And the question "Why users are in multiple groups?": Because of ability to manage those groups' membership.
what code would I add to the template if I wanted at least 2 badge's displayed in my posts.
You need to make and register a new template helper, for both clientside & serversde, and execute some magic inside.
I can help you via Teamviewer, if you please ^.^