I'm trying to hide 2 of 4 custom thread fields from showing in the post. I only want all 4 to show to the admin usergroup. I'm in the thread_view template but I'm not 100% on how to do it.
<xf:macro name="thread_custom_fields_status" arg-thread="!" arg-forum="!" arg-wrapperClass="">
<xf:if is="conditional here ????">
<div class="{$wrapperClass} js-threadStatusField"><xf:trim>
<xf:if contentcheck="true">
<div class="blockStatus blockStatus--info">ss
<xf:contentcheck>
<xf:macro template="custom_fields_macros" name="custom_fields_view"
arg-type="threads"
arg-group="thread_status"
arg-onlyInclude="{$forum.field_cache}"
arg-set="{$thread.custom_fields}"
arg-wrapperClass="blockStatus-message" />
</xf:contentcheck>
</div>
</xf:if>
</xf:trim></div></xf:if>
</xf:macro>
Last edited: