[nodebb-plugin-newsletter] Send e-mail newsletters to your users.
-
@zack I haven't been able to figure out exactly what the problem is with the commit your using, but I think it has something to do with templates.js
A fresh install with your commit 518aec6e76180078269bb17ffb56af880d58f9bd gives me an invalid templates.js,
├── [email protected] invalid
and I get this on every page, without any plugins installed:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
the offending code:
app.user = JSON.parse('{"username":"yariplus","userslug":"yariplus","email":"[email protected]","picture":"https://secure.gravatar.com/avatar/f206761be43ad77375e6c30dfbffe3bb?size=128&default=identicon&rating=pg","email:confirmed":false,"uid":"1"}');
and none of the pages load correctly after that.
If you want to stay at the commit you are on, installing an older version fixed it for me.
npm install [email protected]
Maybe @psychobunny has some insight on the problem?
-
Yeah tjs 0.2x now escapes code by default, so you need to have latest themes installed (or if you have a custom theme, use double curly brackets to include scripts)
Otherwise 0.1x should be okay until NodeBB 0.7x
-
I am having trouble accessing the newsletter plugin page.
I installed the plugin from ACP, reloaded and restarted the forum.
Logged out and back in
It says plugin-newsletter installed and active but I cannot access the plugin page where I can send the emails.Same topic different question:
How could I send out newsletters there the content is the top posts. Is there a plugin which does it automatically for example every week send out top posts to all users?Thanks
-
Thanks, I'm in the process of updating all my plugins, this one will be coming soon.
Could you post any errors that show in the logs? (advanced=>logs)
@KasparTr said:
Same topic different question:
How could I send out newsletters there the content is the top posts. Is there a plugin which does it automatically for example every week send out top posts to all users?I think that functionality could be added to the existing digest. I'll take a look at it once I get this plugin patched.
-
Can I get some people to try this out on 0.9.3 stable?
I've had a few people tell me it isn't working, but I can't reproduce the problem and I'm not getting any errors on any of my installs.
The problem seems to be the client script isn't loading on the admin page.
-
@yariplus said:
The problem seems to be the client script isn't loading on the admin page.
That would only occur on master (as of the writing of this post), as it is a v1.0.0 breaking change. v0.9.3 should be fine.
Fixed here yariplus/nodebb-plugin-newsletter#4
-
-
@yariplus Hi thanks for this plugin! I am having an issue with only sending broken images when I upload something. Can you advise me on how to fix? Thanks
-
@MassivelyIndie what do you have for url in config.json?
-
@pichalite Looks like he made a new topic here
-
@pichalite said:
@MassivelyIndie what do you have for url in config.json?
Yes sorry was just in a rush and wasn't sure if @yariplus would answer back so I created a new post in case another community member knew. They did reply, but still looking for a fix.
Could it be a problem with the Imgbed plugin?
To be honest I'm not sure how to answer your question @pichalite as I'm not familiar with the config.json lol Can you advise me on how to find it your answer?
Thanks
-
@nhl.pl said:
pichalite asked for
config.json
file generated during NodeBB initial setup. IP/domain and port.If you have an error in
config.json
file it'll break images.@nhl-pl Thanks for the response. I'll get our admin to look into it as I don't want to break anything lol.
-
Has anyone tested this on master lately? Emails aren't rendering a preview or sending from my test forum.
-
Updated to v0.5.0
- Fixed compatibility with NodeBB v1.0.0
- Added an option to use raw HTML in your newsletter instead of parsing as a post.
- Fixed relative paths for uploaded images and files.
- No longer requires Markdown.
- No longer loads composer add-ons, only basic buttons.
-
Updated to v0.6.0
- Fixed some more issues when using relative urls.
- Removed dependency on the default composer.
- Changed the ACP newsletter form to be HTML only.
- Preview now displays in a modal, for a better idea of what it will look like when sent.
- Admins can now send a newsletter when making a new topic.
- Parses the newsletter as a post.
- Shows a preview in a modal just like in the ACP.