I've just installed Discourse by following the 30-minute Docker guide. Pretty painless.
While configuring the site, the first thing that I had to change was the maximum image and attachment size. Turns out that the "nginx/apache" config file had to be modified.
While the Docker install boasts that you can install Discourse while inebriated and need as much Linux knowledge as your mom (barring the implicit political incorrectness in that statement), when it comes to changing the attachment size, you suddenly are left hanging.
As a first-time Docker user, it took me about 15 minutes to realize what web server was used (is Apached used in any installation guide?), figure out why there's no /etc/nginx, realize the going into the Docker instance isn't a permanent solution, then trawl through various topics on the subject until I found this one, advising to change app.yml:
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
from: /client_max_body_size.+$/
to: client_max_body_size XXm;
There's no need to let users waste time like this. Adding a link to that post in the Docker install guide would save everyone time and frustration.
Suddenly while looking at my own post, the page became empty. I can't find my post via my profile. I've exported my posts, and the URL for that post leads to a page saying it doesn't exist or is private.
What happened? Did I do something wrong? I don't see any PMs from a moderator or anything.
Clicking on the Self-hosted one does nothing and there is no click counter Clicking on the Imgur-hosted one opens the image in the current tab and a click is registered/counted
Thought I'd dive straight into Ruby for the first time and have a crack at implementing a feature me and some others would like to see in Discourse, a user option to force context in notification emails.
I've added the user option, that persists and is working fine.
I've modified a unit test to include a new parameter that I've added, that passes the same as it did before.
I've added a unit test to cater for the new parameter being set to true, that passes fine.
However, it doesn't work on my development system. The emails in mailcatcher still only have the latest reply in there, even when another 'user' has replied.
I am wondering if we can add/save some fields after parsing the return of a particular Oauth mechanism like Facebook.
We can get values like profile_url or profile_pic from the service and save it to show on a user's profile. Is it possible we save data after_authenticate or after_create_account ?
Currently the topic details show links to the physical filename, which are kind of useless. Ideally the real filenames as used in the posts should be shown:
BTW: Can't we store uploaded files with their real filenames? How about creating a directory with the hash of the file and storing it there with its real filename? In case of multiple uploads of the same file a symlink could be used. So, /uploads/try2_discourse/102/ec5829847a91b748.log would become /uploads/try2_discourse/102/ec5829847a91b748/mysqld.log. I guess that could solve lots of problems like
So I have modified the pups files for web_only.yml to create and share multisite.yml in /var/shared so that i can access it in the container created by data.yml. My idea is to have the bootstrap in data.yml create missing databases in in multisite.yml to make adding more sites in the container in created by web_only.yml.
So my question is it possible to do this with pups or should I add a small script to do this work?
Hello, I have discourse installed but its on a subdomain, I would like the logo to return the user to the original website, how might I do this? - Is there a snippet I can use or maybe a plugin?
This is a hole I've dug myself into and I'm wondering if there's a way out.
I have a thread where there's a lot of people mentioned. Deliberately. It's a contact list of sorts, an organisation chart. We've mentioned people in their positions so it's easy for others to private message them about issues. I'm quite happy with this setup.
With one exception. Whenever any edits or replies to the post, 40 people get a notification email. So far this has happened once a day for the past week, which is less than ideal.
Is there any way, as an Admin or author of the thread, that I can turn off notifications for mentioned people for a particular thread?
Alternatively, anybody have any suggestions how I could achieve the same thing without spamming everyone?
I apologize if there is an easy solution to this problem but I have searched this forum to no avail. I am trying to optimize our new Discourse forum for SEO, and it seems that multiple pages containing duplicate content can be accessed at different URLs, thus hurting search engine ranking by "splitting" the traffic for each duplicated page. So imagine we have some content at:
forum.foo.com/c/uncategorized
The issue is that this same exact page can also be accessed at:
This means we need to add a canonical redirect from the second URL to the first by putting the tag ' link rel="canonical" href="http://forum.foo.com/c/uncategorized" ' in the page header when ever the URL "forum.foo.com/c/uncategorized/l/latest?category_id=1&page=1" gets loaded.
Is there any built-in support to do this in Discourse? This issue seems to really be hurting our search engine rankings as just about every category page has duplicate URLs at something like */l/latest?category_id=1&page=1. I do not mind doing some minor tinkering in the ruby-rails backend to get this done, but we would prefer not to dive into any complex hacks.
I'm getting a lot of 403 errors when doing anything - replying to posts, changing settings etc. This happened right after adding a bit of JS to the header, so I'm trying to remove it as step 1. Problem is, the errors prevent me from saving the changed header.
So that I can delete it manually, where are site customizations like this kept?
So I've just installed Discourse using Finnish locale and tagging plugin. Seems that latter isn't (fully?) translated yet, and the placeholder strings aren't very friendly. I assume you'd wanna show default (English) strings when something is not translated?
A couple of examples;
In the hamburger menu the "tags" string shows as: [fi.tagging.tags],
In post creation form instead of "choose optional tags for this topic" [fi.tagging.choose_for_topic] is shown,
Forgive me if this is really juvenile. I'm new to ruby dev.
So I have a beautiful installation of discourse up and running on digitalocean. I am waiting for my DNS servers to propogate now that I've directed them at my discourse IP on digitalocean.
The forum is working beautifully.
How and where can I build static content of the website around discourse? E.g., I want someone to hit a static page prior to going to discourse, and then click "forum' in the nav.
Normally I would just open up the host and add the pages there, but I'm unsure how to do that on digitalocean.