I was thinking about how to show the users if they were ignoring any prefixes.
I am no developer so this could probably be done much better and I still think it would be better to be able to choose more than one prefix in the forum or if that is hard, ignore prefixes in the forum and not in the preferences.
In the template "prefixess_thread_list_prefix_list" just before the last
</xf:if>
paste the following:
Code:
<xf:set var="$allPrefixHTML" value="" />
<xf:foreach loop="$forum.prefixes" value="$prefix">
<xf:if is="$xf.visitor.canIgnorePrefix($prefix.prefix_id)">
<xf:set var="$prefixUsageCount" value="{$prefixCounts.{$prefix.prefix_id}.total_count}" />
<xf:set var="$prefixHTML"><li>{{ prefix('thread', $prefix.prefix_id, 'html') }}</li></xf:set>
<xf:set var="$allPrefixHTML" value="{$allPrefixHTML}{$prefixHTML}" />
</xf:if>
</xf:foreach>
<xf:if is="{$allPrefixHTML}">
<xf:css src="prefixess_thread_list_prefix_list.less" />
<h3 class="block-formSectionHeader prefixFilterContainer">
<span class="is-active">{{ phrase('prefixes_ignored_prefixes:') }}</span>
<span class="block-desc prefixList">
<ul class="filterBar-byPrefix">
{$allPrefixHTML|preEscaped} <a href="/account/preferences#ignore_prefixes">{{ phrase('change') }} {{ phrase('prefixes_ignored_prefixes') }}</a>
</ul>
</span>
</h3>
</xf:if>
And in template "prefixess_ignored_prefixes_preference" insert:
after the first
<h2