User:Jtraulle/DiscourseMigration: Difference between revisions

Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
Tag: 2017 source edit
Line 43: Line 43:


This is a tentative custom Layout
This is a tentative custom Layout
<br />[[File:Discourse-tentative-design-1.png|none|thumb|800x800px|alt=]]<br />
 
[[File:Discourse-tentative-design-blue.png|none|thumb|300x300px|Tentative design (proposal)]]
 
<br />
====Custom Header to add====
====Custom Header to add====
Go to <code>Admin → Customize → Themes → Light → Edit CSS/HTML → Common → Header</code> and paste :
Go to <code>Admin → Customize → Themes → Light → Edit CSS/HTML → Common → Header</code> and paste :
Line 323: Line 326:
</syntaxhighlight><br />
</syntaxhighlight><br />


== Email requirements ==
==Email requirements==
Discourse '''<u>requires</u>''' connection to a valid mail server  
Discourse '''<u>requires</u>''' connection to a valid mail server  


* using SMTP protocol  
*using SMTP protocol
* accessible on a FQDN (Fully Qualified Domain Name) : for example <code>@forum.dolibarr.fr</code>
*accessible on a FQDN (Fully Qualified Domain Name) : for example <code>@forum.dolibarr.fr</code>
* with authentication (username and password)
*with authentication (username and password)


=== First choice : in house mail server like Postfix ===
===First choice : in house mail server like Postfix===
'''''Cheap but tricky to set/configure'''''
'''''Cheap but tricky to set/configure'''''


* Install Postfix mailserver
*Install Postfix mailserver
* Configure / allow / unblock port 587 for outgoing email sending by postfix in the firewall (IP table, etc.)
*Configure / allow / unblock port 587 for outgoing email sending by postfix in the firewall (IP table, etc.)
* Configure Postfix to require authentication : see https://blog.rom1v.com/2010/01/ajouter-lauthentification-smtp-sur-un-serveur-mail/
*Configure Postfix to require authentication : see https://blog.rom1v.com/2010/01/ajouter-lauthentification-smtp-sur-un-serveur-mail/


=== Second choice : external email service like [https://www.mailgun.com/ Mailgun] ===
===Second choice : external email service like [https://www.mailgun.com/ Mailgun]===
'''''Affordable, simple and easy (no configuration)'''''
'''''Affordable, simple and easy (no configuration)'''''


* For [https://www.mailgun.com/ Mailgun], [https://www.mailgun.com/pricing first 10 000 emails every month free (+5$ by 10 000 email)]  
*For [https://www.mailgun.com/ Mailgun], [https://www.mailgun.com/pricing first 10 000 emails every month free (+5$ by 10 000 email)]




Navigation menu