Login  Register

Re: Delete Post Permission

Posted by Harvey on Sep 28, 2012; 7:15pm
URL: https://support.nabble.com/Delete-Post-Permission-tp7581461p7581466.html

Pedro,

I'd rather just have him able to "delete this post only" but it's not a big deal if that is complicated.


On Fri, Sep 28, 2012 at 1:35 PM, Pedro <Nabble> [via Nabble Support] <[hidden email]> wrote:
Hi,
please, put your Moderator in a special group, for example, Moderators ( I guess he is already there ).
Search for the macro "can_delete" and edit it like this:
<override_macro name="can_delete" requires="user" dot_parameter="node_attr">
    <n.either>
        <condition1.both condition1="[n.not.is_banned/]" condition2="[n.owns.node_attr/]"/>
        <condition2.is_in_group group="Grupo" />
    </n.either>
</override_macro>
To delete the a single message he should use "Delete this post" or "Delete this post and replies" when he wants to delete the whole topic.


If you reply to this email, your message will be added to the discussion below:
http://support.nabble.com/Delete-Post-Permission-tp7581461p7581465.html
To unsubscribe from Delete Post Permission, click here.
NAML



--
"Like" us on Facebook: www.facebook.com/NYSkiBlog
Follow us on Twitter: http://twitter.com/nyskiblog
----------
Harvey Road: NYSkiBlog.com
NY Ski Forum: forum.NYSkiBlog.com
NY Ski Magazine: mag.NYSkiBlog.com
NY Ski Directory: directory.NYSkiBlog.com

HTTPS Please!