Blog Post
StephenB
4 years agoExecutive
FWIW here's the code with the "Author" text string:
<#if (env.context.message.author.id)?? && (env.context.message.parent)?? && (page.context.thread.topicMessage.author.id)??>
<#assign userId = env.context.message.author.id />
<#assign topicMessageId = page.context.thread.topicMessage.author.id/>
<#if (userId)?? && (topicMessageId)?? >
<#if (topicMessageId)?? && userId == topicMessageId>
<div class="author.badge">
<span class="badge1" data-badge="${text.format("custom.author-badge")}"></span>
</div>
</#if>
</#if>
</#if>