Hi,
unfortunately, the code for "unsubscribe by eMail" does not seem to work as it should. Here the original NAML code:
macro: unsubscribe_by_code_url (original)
<macro name="unsubscribe_by_code_url" requires="subscription">
<n.remove_spaces.>
<n.base_url/>
<n.encode_url.>
/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=<n.node.id/>&code=<n.subscription_code/>
</n.encode_url.>
</n.remove_spaces.>
</macro>
Now, when the user's eMail subscription for the respective sub forum is active ("every post"), following and confirming the url link has NO EFFECT at all. So, the user (who has previously unsubscribed) continues to receive postings for this topic. When the "only topics" notification is active, though, unsubscribing via this url link works fine.
(1) Using an URL LINK, how do I modify the user's subscription status for the entire sub forum rather than just the subscription status for a single posting?The following principal NAML code helps me determine the subscription status:
<user> . has_subscription_to_descentants_of . page_node . get_app_node
returns TRUE when the <user> has a permanent subscription for the current application (e.g. sub forum)
(2) Using NAML, how do I access the user's subscription status for a posting / thread / topic within a sub forum?