Login  Register

Re: Forcing Subscriber on Digest

Posted by Hugo <Nabble> on Jun 22, 2015; 3:57am
URL: https://support.nabble.com/Forcing-Subscriber-on-Digest-tp7595086p7595202.html

No digest is sent when the forum hasn't received new posts.
GregChapman wrote
Could you post the code that would allow me to add a column that would report the Format on the "Manage Subscribers" screen - possibly a better idea would be a "[D]" to indicate digest in the "Subscription Type" column?
Please edit this macro: list_subscribers
At the bottom of that macro you will find a HTML table that you should replace with this one:
                <table class="subscriptions">
                    <tr class="shaded-bg-color">
                        <th class="medium-border-color"></th>
                        <th class="medium-border-color"><t>Name</t></th>
                        <th class="medium-border-color"><t>Email</t></th>
                        <th class="medium-border-color"><t>Subscription Type</t></th>
                        <th class="medium-border-color"><t>Format</t></th>
                        <th class="medium-border-color"></th>
                    </tr>
                    <n.loop.>
                        <tr>
                            <td style="width:30px;padding:0"><n.subscription.user.avatar/></td>
                            <td class="nowrap"><n.subscription.user.user_link/></td>
                            <td class="nowrap"><n.subscription.user.user_email/></td>
                            <td class="nowrap"><n.subscription.type_label/></td>
                            <td class="nowrap"><n.subscription.type/></td>
                            <td class="nowrap"><n.subscription.unsubscribe_button/></td>
                        </tr>
                    </n.loop.>
                </table>
The "Format" column will display either INSTANT or DAILY_DIGEST.
Please let me know if you have questions.