XF 2 Tip Special Staff Team badge in the postbit

prvtzone

eleaks.to
Registered
Joined
Jul 29, 2019
Messages
122
Points
53

Reputation:

Untitled.png


Place this code under <xf:userbanners user="$user" tag="div" class="message-userBanner" itemprop="jobTitle" /> in message_macro

Code:
<xf:if is="{{$user.isMemberOf(3)}}">
                <div class="postbit-staff"><i class="fas fa-shield-alt"></i> Staff Team</div>
        <xf:elseif is="{{$user.isMemberOf(4)}}"/>
                <div class="postbit-staff"><i class="fas fa-shield-alt"></i> Staff Team</div>
            <xf:elseif is="{{$user.isMemberOf(4)}}"/>
                <div class="postbit-staff"><i class="fas fa-shield-alt"></i> Staff Team</div>
        </xf:if>

Place this code under extra.less
Code:
.postbit-staff {
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    color: #2be0d3;
    font-weight: bold;
    width: 150px;
    position: relative;
    overflow: hidden;
    margin-left: 25px;
    margin-top: 8px;
    margin-bottom: 8px;
}

All Code Credits Goes to : @Verss
 
Last edited:

DareSec

Inforc3r
Staff member
Administrator
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
May 25, 2019
Messages
1,372
Points
523

Reputation:

move badge left to the end
 

prvtzone

eleaks.to
Registered
Joined
Jul 29, 2019
Messages
122
Points
53

Reputation:

i set this position because i didnt liked left to the end, but people can change the position by changing the css code.
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,130
Points
823

Reputation:

He and all related are prohibited here
 
Top