Categories

Add Thread Starter Banner in Posts

You are here:
< All Topics

Do you want to add some text to thread starter in post like this?

Go to “Template Modification” (development mode must be enabled to access this admin menu).

Click “Add Template Modification”

Template: message_macros

Search type: simple replacement

Find:

<div class="message-userExtras">

Replace:
(you can change your styling too)

 <div class="message-userExtras">
    <xf:if is="{$__globals.thread} AND {$__globals.thread.user_id} == {$user.user_id}">
        <div style="background-color:#FFF;color:#F00;font-weight:900;text-align:center;">
            Thread Starter
        </div>
    </xf:if>
Table of Contents