• You need 5 posts to download resources. You can only download 2 resources per day. To remove these limits consider upgrading.

XF Thread starter message in the topics

one_finger_man

Verified
LV
0
 
Joined
Mar 23, 2023
Messages
28
Reaction score
16
Awards
3
In your post_macros template find:



HTML:
<ul class="message-attribution-opposite message-attribution-opposite--list">

-1-this-topic-is-only-a-test-SocomCa-Forums-U-S-Navy-SEALs.png

CSS:
 <xf:if is="$post.user_id == $thread.user_id">
                                <li><span class="message-newIndicator message-threadStarter" style="background: #46a751;">{{ phrase('thread_starter') }}</span></li>
                            </xf:if>
                            <xf:if is="$post.User.is_admin">
                                <li><span class="message-newIndicator message-adminIndicator" style="background: #bd1919;">{{ phrase('admin') }}</span></li>
                            <xf:elseif is="$post.User.is_moderator" />
                                <li><span class="message-newIndicator message-moderatorIndicator" style="background: #3c57bd;">{{ phrase('moderator') }}</span></li>
                            <xf:elseif is="$post.User.is_staff" />
                                <li><span class="message-newIndicator message-staffIndicator" style="background: #3c57bd;">{{ phrase('admin_navigation.usersStaff') }}</span></li>
                            <xf:elseif is="$post.User.is_banned" />
                                <li><span class="message-newIndicator message-bannedIndicator" style="background: #fba406;">{{ phrase('banned') }}</span></li>
                            </xf:if>
 
Top