Disable reply by email

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable reply by email

cheviron
Hugo, it seems the option to disable people from replying by email messages (making the forum extremely cluttered with appended and duplicate replies) was in the works per this thread:

http://support.nabble.com/Forum-Wish-List-td5633307.html#a5636546

Did it ever get implemented?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Disable reply by email

Pedro
Hi,
1- At the bottom of your app->See how NAML generates this page.
2- At the engine wheel -> "go to advanced editor" .
3-Paste this Code in your tweaks:
<override_macro name="post by email" requires="post_by_email" unindent="true">
    <n.send_failure_mail. from="Your Forum's Name">
        Sorry, but you can't post new messages by email to the "Your Forum's Name". 
        Please post your message directly on the website:
        "Your Forum's Link"
    </n.send_failure_mail.>
</override_macro>
<override_macro name="menu_post_by_email" requires="node">
</override_macro>
<override_macro name="send_subscription_email" parameters="node_attr,text_part,html_part" requires="subscription">
    <n.set_local_subscription.this_subscription/>
    <n.set_local_node.node_attr/>
    <n.block.>
        <n.new_email.>
            <n.send>
                <to.local_subscription.user.user_email/>
                <to_name.local_subscription.user.name/>                
                <from_name><n.local_node.owner.name/> [via <n.root_node.subject/>]</from_name>
                <subject.local_node.subject/>
                <text_part.text_part/>
                <html_part.html_part/>
                <set_headers_for.local_node/>
                <bounce_to.local_subscription.user.bounces_address/>
            </n.send>
        </n.new_email.>
    </n.block.>
</override_macro>
see the lines 2, 3 and 5. Replace with your forum's name and address. Please, try to reply a topic using your email to see and understad what happens.
My test forum.