• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 How to add a conditional to User Titles

Vicki

Active member
#1
I'd like to give our site users' a little unique user titles based on their gender. I'm wondering if anyone could give some advice about how to implement it. I guess some template edits shall take care of it ...

Say, I'd like to do it based on the default XF Trophy User Titles.

The defaults are:
- New Member
- Member
- Active Member
- Well-Known Member

For simplicity, just assume I'd like to name the female member as "F", and the male member as "M".

So, if the user is a new female member, her title would then be: "New F" ;
If the user is a new male member, his title would then be: "New M";

By same logic,
female member -> "F" ;
female active member -> "Active F";
female well-known member -> "Well-Known F";

male member -> "M";
male active member -> "Active M";
male well-known member -> "Well-Known M";


How to implement something like this?

Thanks so much in advance!
 

Vicki

Active member
#3
I took a look at the user group promotions, still not sure how it is related to Trophy User Titles?

Which template takes care of the Trophy User Titles?
 

Brogan

XenForo moderator
Staff member
#4
Create the user group promotions based on your criteria and set a title for the user group, checking the user title override radio button.