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

XF 1.4 Rank in postbit depending of messages number

Discussion in 'Styling and Customization Questions' started by cyry, Jan 6, 2015.

  1. cyry

    cyry Active Member

    Hello,

    How can i show in the postbit the rank , depending of messages number ?

    Example :
    100 messages - Member
    200 messages - Good member ...etc

    I have already add the ranks with this in extra.css :

    Code:
    .admin {
    background: url("styles/ranks/administrator.png") no-repeat;
    height: 50px;
    width: 130px;
    text-indent: -10000em;
    display: block;
    }
    
    .mod {
    background: url("styles/ranks/moderator.png") no-repeat;
    height: 35px;
    width: 145px;
    text-indent: -10000em;
    display: block;
    }
    
    
    .....etc
    
    But i want to showing also depending of messages number .
    Thanks in advance. :)
     
  2. cyry

    cyry Active Member

    Anyone? i want the css modification if is posible.
     
  3. Optic

    Optic Well-Known Member

    Hello @cyry,

    All you need to do is reference your custom rank styles in Admin CP --> Users Tab --> User Title Ladder.

    1. Set User Title Ladder Field to Messages.

    2. Input your ranks. Style each user rank/level. As you're using images and already defined the width/height then, an empty div should work:
    Code:
    <div class="admin"></div>
    3. Set your user group to follow your User Title Ladder system. Go to Admin CP --> Users Tab --> User Groups --> Registered (as an example). Set option User Title Override: to Use the default user title ladder.
     
    Canonistas Argentina and cyry like this.
  4. cyry

    cyry Active Member

    In the default xenforo style is showing the title ladder (default settings) , but in other not :(
     
  5. Optic

    Optic Well-Known Member

    Sounds like you added your rank CSS to the default Xenforo style's EXTRA.CSS instead of your custom style's EXTRA.CSS ?
     
  6. Craig

    Craig Active Member

    I saw on your site the "Rank Bars" for your members I have a set I would like to use but haven't a clue as to how to get them to show up, as I am tired of the ribbon look.
    I do not know how to write code.

    thanks you in advance for any assistance.
     
  7. Optic

    Optic Well-Known Member

    Craig likes this.

Share This Page