XF 2.2 Custom User Title Badges


Site Link: www.nsxprime.com

I am one of the site admins for NSX Prime and we just migrated our forum from VBB to Xenforo Cloud. Before we go live, I'm trying to clean up the look of the forum. One key area is the avatar and user badges. I searched many support threads on this issue and got it to work. However, the user title badges only work for one group: admins. Here is how it looks:


Here is the code I used to get the admin badge to display:

And here is the setting in the user group:
On NSX Prime, we also use the user title ladder, with levels based on post count. To use custom badges, I created new user groups to match each title ladder level. Even though I repeated the exact same code and settings for these badges, the user title ladder simply displays the text version of the title instead of the custom badge. Ideally, I'd like the staff badge to appear above the user title ladder badge. Using my own profile as an example, I should be displaying the "Legendary Member" badge because my post count is > 2000. Xenforo appears to be performing that function because it displays "Legendary Member" under my avatar picture. But, it's not using the custom badge.

Here is the code and setting for that user group.


What am I doing wrong? Thanks!
Last edited:
Top Bottom