HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Newsletters - help

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#101010 (In Topic #19814)
Avatar

Community saint

Hi,
So I thought that I would get a bit better with newsletters and give my site members a better choice of what they can subscribe to.

I must admit I found the tutorial not clear on what needs to be configured to make this work, for example:
(1) Add Newsletter and Edit Newsletter in the tools area are not actually adding or editing a Newsletter, they are placeholders used to hold subscribers that would like Newsletters that fulfil the description.
(2) Unless you have one or more subscribers to a placeholder in (1) they do not show up in the target list when you come to send out a new issue - which leads to compete confusion !!
(3) I pasted the example code into the template, I could not find the one mentioned in the tutorial, but it is now called NEWSLETTER_DEFAULT_FCOMCODE.tpl
However using this on a preview did not generate the email expected:

Code

[semihtml]Dear },

Your text goes here.

}
You're receiving this newsletter because you subscribed at some point. Not interested anymore? [url="http://vwgolfmk1.org.uk/index.php?page=members&type=view#tab__edit"]Unsubscribe[/url].

[/semihtml]

Stray characters and semihtml's - I thought that they would get processed out ?

Also I picked a user that is in one of my placeholder newsletters and the unsubscribe url just pointed me at an edit version of my profile and not the newsletter subscription page - is that correct behaviour ? I was hoping that unsub_url would get resolved to the placeholder newsletter of the target of the send.

The profile does not even have anything about newsletters in it - what am I missing ?

Any pointers ?

Cheers
Ade


Last edit: by Lhasadreams
Back to the top
 
Posted
Rating:
#101011
Avatar

Community saint

Also, I meant to add. The default mail template has CONTENT in curly braces at the top, from this I think we get our top logo banner at the top of the email page - where does the CONTENT get specified ?

Cheers
Ade
Back to the top
 
Posted
Item has a rating of 5 (Liked by Robbie Goacher)  
Rating:
#101015
Avatar

I will make some tweaks / doc improvements, bear with me.

(I am hoping the bear will not prevent me working)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101016
Avatar

1– We will add a note onto the add newsletter screen clarifying what it does.

2– We will remove this little feature, as I appreciate it serves little need yet can be confusing.

3– Sorry, about this, our example was very poor and broken. This is my updated example:

Code

[semihtml]<html lang="{$LANG*}" dir="{!dir}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={!charset}" />
<title>{title*}</title>
</head>
<body>
   {$,Try and figure out the best greeting from the data available - we prefer to welcome people by forename but we might not have it}
   <p>Dear \{+START,IF_NON_EMPTY,{forename}\}{forename}\{+END\}\{+START,IF_EMPTY,{forename}\}{name}\{+END\},</p>

   {$PARAGRAPH,{$?,{$IS_EMPTY,{CONTENT}},Your text goes here.,{CONTENT}}}

   \{+START,IF_NON_EMPTY,{unsub_url}\}
   <p>You're receiving this newsletter because you subscribed at some point. Not interested anymore? <a href="{unsub_url*}">Unsubscribe</a>.</p>
   \{+END\}
   \{+START,IF_EMPTY,{unsub_url}\}
   <p>You're receiving this e-mail because you are a member on {$SITE_NAME*}.</p>
   \{+END\}
</body>
</html>[/semihtml]

4– Unsubscribe links. It should provide a newsletter link if it's a newsletter subscriber, and a profile link if it's a member. I'll run some tests.

5– {CONTENT} is mainly used by the "What's new" newsletters. Ones that are typed out manually have nothing placed here. I have updated my example so it does include a 'CONTENT' parameter.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101017
Avatar

Also I picked a user that is in one of my placeholder newsletters and the unsubscribe url just pointed me at an edit version of my profile and not the newsletter subscription page - is that correct behaviour ? I was hoping that unsub_url would get resolved to the placeholder newsletter of the target of the send.

I just tested and it seemed okay. My guess is that the preview e-mail you looked at had it to your profile, because it sent one to you in the context of you being a member. The actual e-mails that went out should use an appropriate URL, on a case by case basis (you can send a newsletter to actual newsletters and usergroups at once, so you'd get a mix of unsubscribe URL styles).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101063
Avatar

Community saint

Hi Chris,

Can you straighten a couple of things out for me please:

(1) Why would the unsubscribe link take some back to their profile ? There are no newsletter settings in your profile ? What is the design thought behind this ?

(2) When I added your revised email template suggestion to my email template, the email sent in html shows some tags:

Code

[semihtml]
Dear The Mk1 Golf Owners Club subscriber,

Your text goes here.


You're receiving this newsletter because you subscribed at some point. Not interested anymore? [url="http://vwgolfmk1.org.uk/index.php<link removed because public forum>"]Unsubscribe[/url].

[/semihtml]

Would you of expected to of seen the tags in the output ?

Cheers
Ade
Back to the top
 
Posted
Rating:
#101066
Avatar

Why would the unsubscribe link take some back to their profile ? There are no newsletter settings in your profile ? What is the design thought behind this ?

The newsletter can be sent to members, not just newsletter subscribers. Members have a setting that specifies whether they are happy to receive staff communications. There is no association between members and subscribers (i.e. if some human is a member and also subscribes to a newsletter, that newsletter system is not associated with their member account, and vice-versa) - so if a member target is chosen, it has to point to the member profile, as that is where the communication options are.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101067
Avatar

When I added your revised email template suggestion to my email template, the email sent in html shows some tags:

Ah sorry, I think I was supposed to not include those semihtml tags. Did I just fix it for you (I edited your template on your site)?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101069
Avatar

Community saint

Hi Chris,

Thanks for the edit - that is perfect now.

I think I am just being blind - I cannot see "Members have a setting that specifies whether they are happy to receive staff communications"

I have looked all over my profile and another simple user one and I just cannot see it - is it something that I have turned off ?

Sorry to be a pain !

Cheers
Ade
Back to the top
 
Posted
Rating:
#101070
Avatar

Ah, the "Allow members to opt-out of staff e-mails" option needs to be enabled (OTTOMH… Admin Zone > Setup > Configuration > Forum and member options).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101079
Avatar

Community saint

Hi Chris,

That now all fits together properly and makes sense - thanks.

What I would like to do now is tick that box for every profile that I have so that I can email every member one last time to allow them to make a decision on future email updates - is that something that you can show me how to do or would you like a feature request raised ?

Cheers
Ade
Back to the top
 
Posted
Rating:
#101080
Avatar

Community saint

Hi Chris,

I worked it out !!

Cheers
Ade
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: