XF 1.4 Hide all conversation with zero reply

bloh

Active member
I'm trying to hide all conversations with zero reply.

Code:
        <xen:if is="{$conversations}">
            <xen:foreach loop="$conversations" value="$conversation">
                <xen:if is="{$conversation.reply_count}>0">
                    <xen:include template="conversation_list_item" />
                </xen:if>
            </xen:foreach>
        <xen:else />

But then, the first page only show 5 conversations (15 hidden due to zero reply).
**I want to show 20 conversations on the first page without zero reply.

The "Showing conversations 1 to 20 of 41" doesn't minus those with zero reply.

Any help would be appreciated.
 
This would require custom development/an add-on/code modifications. You need to edit the underlying query and not just the template.
What about adding 5 latest conversation replies to the email notification for new conversation replies?
Can I do that by editing the email template?
 
What about adding 5 latest conversation replies to the email notification for new conversation replies?
Can I do that by editing the email template?
I don't think that information is available to the email templates. It would also require custom development.
 
Top Bottom