user_response

NAML documentation   Watch a video
   Usages of this macro
... in post_limit.naml
47
48
49
50
51
52
53
<macro name="user_response">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.user_from_get
Macro
Parameters: do
.is_in_group
Binary
Namespace: UserNamespace
Parameters: group
 group="Spam" >
        <then>
            <n.user_from_get
Macro
Parameters: do
.node_count
Binary
Namespace: UserNamespace
Parameters: filter
 filter ="date_part('day',now() - when_created) = 0 "/>
        </then>            
    </n.if.user_from_get.is_in_group>       
</macro>