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

XF 1.5 Formatting a Custom User Title

Discussion in 'XenForo Questions and Support' started by Steve Freides, Nov 3, 2015.

  1. Steve Freides

    Steve Freides Active Member

    If a Custom User Title is long enough, it wraps to a second line. My concern here is purely selfish - this is for my own title on the forum.

    I want to display both my jobs, which are

    Forum Administrator

    and

    Senior SFG

    in my custom title. If I do that in the above order, I'm good because "forum administrator" seems to be about the correct length; if I reverse the order, the word "forum" appears on the first line. Adding blank spaces doesn't change the formatting. I'm looking for something like "<br>" to create a multi-line custom title, or at least some way to achieve this functionality.

    Any way to do this?

    Thanks in advance.

    -S-
     
  2. Mike

    Mike XenForo Developer Staff Member

    We don't allow HTML within titles, so this isn't an option. You'd need to look at doing it with something like a user banner or a direct template edit (with a conditional).
     
  3. Steve Freides

    Steve Freides Active Member

    I don't really know what either of those things means - we have a developer who I can ask, but are you saying we'd have to add a User Banner, as opposed to a Title, as a custom option via a template or something like that?

    Thanks.

    -S-
     
  4. Mike

    Mike XenForo Developer Staff Member

    You'd need to look at using the banner options provided via user groups (adding yourself to a user group to do it). Otherwise, it's going to require custom changes to implement.
     
  5. Steve Freides

    Steve Freides Active Member

    Yes, I guess I'm going to have to play around with banner stacking and other things. Alright, thanks.

    -S-
     
  6. Steve Freides

    Steve Freides Active Member

    I thought I'd post a follow-up. I solved this problem to my satisfaction by restructuring groups and rights, then enabling banner stacking.

    -S-
     
  7. Kintaro

    Kintaro Well-Known Member

Share This Page