Jump to content
mr-pimpen

XF 2.0 Add Thread Starter Banner in Posts

Recommended Posts

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>

 

Screenshot_1.png

  • Thanks 1

Share this post


Link to post
Share on other sites

i have the addon just found it so ill share it

Share this post


Link to post
Share on other sites
What do you think? Remember the human.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

WebFlake uses cookies to ensure that you get the best experience possible within our community. More Info