Guys, did you find a solution for images in email notifications?
email notification
Is it related to this?
The newsletter plugin allows NodeBB forum administrators to send e-mail newsletters to all users or groups of users.
Latest version v0.7.x is compatible with NodeBB v1.5.0 and up.
Before using this plugin you will need to install an emailer plugin. I recommend nodebb-plugin-emailer-mailgun, but any plugin with nodebb-plugin-emailer-* should work.
This plugin uses a WYSIWYG editor tinyMCE located within the admin panel plugins menu.
Newsletters can be sent to multiple user groups. Options are also given for subscription overrides and blacklists.
Users can unsubscribe from newsletters via the user settings menu. New users will automatically receive newsletters.
In addition to using the WYSIWYG editor, admins can also send newsletters directly from the composer when creating a new topic.
Thank you yariplus for being adorable.
Nice plugin!
@zack Try clearing your browser cache. If that doesn't work try deleting and reinstalling it.
What is your browser and what version of nodebb?
@zack Strange, I just tried on a fresh install and it works.
Could you post your logs when you start up nodebb and access this page?
@zack Can you let me know what commit you are on so I can try to reproduce?
I need the server log when nodebb first starts up.
It looks like something in the less or js isn't minifying, nothing is minified in dev mode which might explain why it works then.
@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.