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

User Styling

Discussion in 'Styling and Customization Questions' started by DigitalForgeOnline, Feb 13, 2012.

  1. Hello I am wondering how to do the following:

    I want a css title to be displayed under the username but ALSO allowing the user to have a personal message that will not override the style. I also want to have the written title displayed in the Staff Online Now section, along with the Members Online Section.


    Thanks!
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. I tried that but that doesnt prevent the title from being displayed in Staff Online Now and it infact overrides the personal message field so if one of my staff have a custom message set, their title does not appear.
     
  4. So basically i just want to have the regular text title displayed in Staff Online Now , and also allow personal messages AND title ranks at the same time, without them overriding eachother
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The title can be set for the group or user:

    Admin CP -> Users -> List User Groups -> [click a group] -> User Title Override

    Admin CP -> Users -> Search for Users -> [find the user] -> Profile Info: Custom Title

    The custom text can be setup as a custom field:

    Admin CP -> Users -> Custom User Fields

    When adding or editing a field there is this option you need to enable if you want it to show in posts:

    General Options: Viewable in message user info

    In addition, make sure this is enabled in your style:

    Admin CP -> Appearance -> Style Properties -> Message Elements -> Show custom user fields

    As for the "Staff Online Now" area... the title is automatically displayed there. But custom fields are not prepared in those user records so they can't be displayed without custom code.

    Here is a guide for rank images:

    http://xenforo.com/community/threads/user-ranks-in-css-no-images-required.7731/
     

Share This Page