clearFusionCMS Community
Newsletter Subscriber Benefits - Printable Version

+- clearFusionCMS Community (
+-- Forum: Resources (/forum-5.html)
+--- Forum: Tips and Tutorials (/forum-6.html)
+--- Thread: Newsletter Subscriber Benefits (/thread-162.html)

Newsletter Subscriber Benefits - paul - 07-29-2013 10:17 AM

If you need to offer additional content to users that have subscribed to your newsletter then it's easy when you're using Camapign Montior or our own TOLRA Mail.

If the additional content is in the chunk subscriberContent then you can use the following to display it to users that are subscribed to your newsletter. While if the users are not subscribed then they are shown the newsletter subscription form.

Campaign Monitor
[[!camapignmonitor.ifSubscribed &email=`[[!members.useremail]]` &listId=`the list id` &then=`[[$subscriberContent]]` &else=`[[!camapignmonitor.subscribe &listId=`the list id`]]`]]

[[!tolramail.ifSubscribed &email=`[[!members.useremail]]` &listId=`the list id` &then=`[[$subscriberContent]]` &else=`[[!tolramail.subscribe &listId=`the list id`]]`]]

You need to replace `the list id` with the ID of the mailing list that you're checking against.

Note: Users do have to be logged in for the above to work as their email address is required.

RE: Newsletter Subscriber Benefits - Michelline_N - 10-10-2017 08:01 PM

Hey, just wanted to let you know that this code is still viable. I tried it out a few weeks ago and it works like a charm Smile Have a nice day - Michelline.