changing e-mail notification content
-
my issue is that the welcome e-mail notification which does require to verify the e-mail address instead of using the full domain url it would show http://localhost:4567/?... is there any way to change that?
-
Just as an information for someone in the future who will have the same issue. You have have to edit the config.json so that instead of http://localhost:4567 to show the full domain of the forum. As example:
{ "base_url": "http://vpsie.247rack.net", "port": "4567", "secret": "somesecuresecret", "bind_address": "0.0.0.0", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "admin", "password": "somepass", "database": "0" }, "bcrypt_rounds": 12, "upload_path": "/public/uploads", "use_port": true, "relative_path": "/forum" }
This setting is also required by the Facebook, google, twitter auth.
-
@Peter-Zoltan-Keresztes You'll want to edit out the secret from your previous post.
-
done. Thanks
-
@a_5mith said:
@Peter-Zoltan-Keresztes No easy way, I'm not sure if it will allow you to edit the template files directly, not sure if it caches it or not. I believe at some point we will be able to edit templates.
This is problem for me because templates are in english language and my users don't understand this.
-
@Paweł-Nowak said:
@a_5mith said:
@Peter-Zoltan-Keresztes No easy way, I'm not sure if it will allow you to edit the template files directly, not sure if it caches it or not. I believe at some point we will be able to edit templates.
This is problem for me because templates are in english language and my users don't understand this.
Doesn't changing the language in the ACP change the language of the emails? Pretty sure transifex has the email templates too. @julian may confirm.
-
@Paweł-Nowak I think you can do it your self by edit email.json file in public/language/your_language/email.json
To translate it for temporary. -
@Hưng-Thành-Nguyễn thanks i will check this
-
@Paweł-Nowak You should update the translation in our Transifex Project and let me know, then I can pull it into the repository
-
@julian Sorry Julian i'm a beginner in nodebb and i dont know how i can update Transifex Project. I downloaded thid translation, i checked this and it works fine( pl language). Could you tell me how i can update transifex for a future?