XF 1.1 Is it possible to create a second (hidden) custom user title?

Lone Wolf

Well-known member
Users already have a user title displayed under their name.

I was wondering if it's possible to add a second user title which would be hidden unless explicitly displayed. So it would only be visible in certain forums or places where it's specified to appear.
 
Users already have a user title displayed under their name.

I was wondering if it's possible to add a second user title which would be hidden unless explicitly displayed. So it would only be visible in certain forums or places where it's specified to appear.
Through custom fields, template edits, and conditionals, I do not see why not. However, it'll be user editable.
 
Sorry, I forgot about the "User Editable" option. If you don't want it to be user editable, it wouldn't be. You'd only need one template edit. You'll need to edit message_user_info, you'll want to use the following code:
HTML:
{$user.customFields.ID}

With that, you'll want to surround a conditional to test node IDs to limit display, Brogan has a solid resource on conditionals.
 
Back
Top Bottom