Xenforo 2.1 postbit like this

Samuel

Well-known member
Registered
Joined
May 13, 2021
Messages
91
Points
28

Reputation:

What about for this one (xenforo forum)!

index2.jpg


Expanded!

index.jpg
 
View previous replies…

Shubnam

Member
Registered
Joined
Mar 22, 2022
Messages
6
Points
11

Reputation:

View previous replies…

Suphawat

Well-known member
Registered
Joined
Mar 15, 2019
Messages
64
Points
28

Reputation:

What about for this one (xenforo forum)!

View attachment 32422

Expanded!

View attachment 32421
Samuel1. Go to message_macros add postbit-extra after pairs pairs--justified see pic
1.png

2. add this code for icon
Code:
<div class="postbit-extra-icon">
<dt>
    <span data-xf-init="tooltip" title="{{ phrase('messages')|for_attr }}">
        <xf:fa icon="fa-comment-lines" />
    </span>
</dt>
</div>
see pic
2.png

3. add class="postbit-extra-dd" in dd see pic
3.png

4.add css to extra.less
Code:
.postbit-extra {
    display: flex;
    background: #40495f;
    align-items: center;
    margin: 5px 0;
    border-radius: 5px;
    height: 30px;
    padding-left: 4px;
    box-shadow: 0 1px 3px #141921;
}
.postbit-extra-icon {
    padding: 10px;
    background: #4d5871;
    margin-right: 0.4rem;
    margin-left: -4px;
    width: 35px;
}
.postbit-extra-dd {
    margin: 0 7px 0 auto !important;
}
 
View previous replies…

jhoancito

Well-known member
Registered
Joined
Mar 23, 2021
Messages
76
Points
18

Reputation:

1. Go to message_macros add postbit-extra after pairs pairs--justified see pic
View attachment 32424
2. add this code for icon
Code:
<div class="postbit-extra-icon">
<dt>
    <span data-xf-init="tooltip" title="{{ phrase('messages')|for_attr }}">
        <xf:fa icon="fa-comment-lines" />
    </span>
</dt>
</div>
see pic
View attachment 32425
3. add class="postbit-extra-dd" in dd see pic
View attachment 32426
4.add css to extra.less
Code:
.postbit-extra {
    display: flex;
    background: #40495f;
    align-items: center;
    margin: 5px 0;
    border-radius: 5px;
    height: 30px;
    padding-left: 4px;
    box-shadow: 0 1px 3px #141921;
}
.postbit-extra-icon {
    padding: 10px;
    background: #4d5871;
    margin-right: 0.4rem;
    margin-left: -4px;
    width: 35px;
}
.postbit-extra-dd {
    margin: 0 7px 0 auto !important;
}
SuphawatIt didn't work out for me. I did it like your tutorial. It didn't come out like you see in the photo.

Captura.PNG


Here is what I made from your tutorial


Captura.PNG
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
720
Points
253

Reputation:

ForumFlake

Well-known member
Registered
Joined
Feb 8, 2023
Messages
79
Points
8

Reputation:

Last edited:

XenFrodo

Well-known member
Registered
Joined
Dec 28, 2023
Messages
119
Points
28

Reputation:

Can someone help me to realize this postbit style?
[v2.2.15] [Default Style]
A-F

PostbitQ.jpg


ThxInAdvance.gif
 

Splicho

Emudevs.gg Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
789
Points
153

Reputation:

Can someone help me to realize this postbit style?
[v2.2.15] [Default Style]
A-F

View attachment 40306

View attachment 40307
XenFrodoC and F is AddonFlare Awards Addon
D is quite easy to do, ill do a tutorial soon.
A is something else, probably another badge system.
B seems to be a badge with conditional statement ($user.is_admin)
E Is also probably a png or svg with if user is online satement

Oh and it seems that xreactor uses iO style as default (I may be wrong)
 
Top