For anyone who wants to use this a little easier, then you can use this quick mod I did, which enables you to use Jaxels user ribbons and control them via the style properties. I included the ability to have four controlled... not sure anyone would want that many, but four nonetheless.
Still have to do template edit in message_user_info, add:
This won't matter what XF version you run, as its styled uniquely using its own templates, so upgrades won't affect it other than the template edit above, which I find easier to manage than dumping lots of code into a template directly.
I did try to achieve this using the hook system, but couldn't work out how to parse the correct parameters when using hooks, which aren't otherwise required using template edit directly.
Well, that can be done, but if you wanted to do that through this method it would be impracticable, because every userid would require an entire field component for "active" "userid" & "rank title".
If you had specific users you wanted to add, then you're either better off to add them to the template directly, or if you had a small group of users, put them into their own usergroup and assign.
Getting specific with userid's is really outside the scope of use for style properties, and more you're heading down the road of a much further indepth addon that links directly into user permissions, allowing you to just check a box beside a user to use a specific userrank you have created through the system, assignable on a per user basis.
This edit of Jaxels never really accounts for such in-depth requirements, nor style properties system.
I think that is more something that needs to be included in XF itself... then the rank styling is modified.
Leave it with me and I will add a further 4 to the above. Just need a few days though, as I literally just got off a 24hr flight from NYC to Melbourne and have a tonne of things to do, and get sleep... as I had a technology break during our holiday.