• 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

cyry

Active member
#1
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. :)
 

Optic

Well-known member
#3
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.
 

Optic

Well-known member
#5
Sounds like you added your rank CSS to the default Xenforo style's EXTRA.CSS instead of your custom style's EXTRA.CSS ?
 

Craig

Active member
#6
Sounds like you added your rank CSS to the default Xenforo style's EXTRA.CSS instead of your custom style's EXTRA.CSS ?
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.