Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60613 articles
Browse latest View live

PM from your user profile tries to send PM to you

$
0
0

Accalia++ wrote:

Trying to send a PM from anywhere in your user profile tries to send the PM to you, unsuccessfully.

Repos on:

Steps to reproduce:

  1. Visit one of the links above to view your profile
  2. Click an avatar (that isn't you) to open their user card
  3. Click Private Message to start composing a private message to that user.

Expected Results

The PM composer would open on clicking private message in an open user card with the PM addressed to that user.

Actual results

On click the PM composer opens addressed to you, the active user, not the user whose usercard you had open and clicked private message.

Posts: 6

Participants: 5

Read full topic


Is there any reason use "no-reply@example.com" for author tag in rss?

$
0
0

Jong Eun Lee wrote:

Look below code, line number 17.
Is there any reason use "no-reply@example.com"?

How about remove "no-reply@example.com" on list.rss.erb?

Posts: 2

Participants: 2

Read full topic

Category with first letter view

$
0
0

Tomo Vukasović wrote:

We have a forum with lots of subcategories. It is hard to memorize all the category colors at all times.

I was thinking of adding the first letter of category before the subcategory name. Something like this where E stands for Extensibility:

Posts: 2

Participants: 2

Read full topic

What is the better workflow to extract data from Discourse 0.9.8 and import it in 1.1.1?

$
0
0

Stéphane Klein wrote:

Hi,

I've a Discourse instance 0.9.8 in Debian LXC Container.

I would like to upgrade it to Discourse 1.1.1. What is the better workflow ?

In 0.9.8, I don't have backup/export data button frowning then I need to upgarde Discourse to export my datas ?

I try to :

  • git pull 1.1.1 version => success
  • update bundle => success
  • upgrade database => success
  • recompile assets => success

but now, when I restart bluepill, no service start frowning

Have you some tips ?

Posts: 4

Participants: 3

Read full topic

Add a "New Private Message" button to the inbox

$
0
0

Stefan Tatschner wrote:

I often use private messages on my discourse board. It annoys me that there is no "New Private Message" button on my "Messages" (/users/rumpelsepp/private-messages) page. If I want to send a message to several users I always have to do it like this:

  • Go to the profile of one user.
  • Click Private Message.
  • Add the others.

I would be happy to be able to do it like this (similar to creating a new topic on the latest page):

  • Go to my Inbox
  • Click new message.
  • Add the others.

Here is what I mean:

Posts: 4

Participants: 3

Read full topic

Vagrant setup questions

$
0
0

Del Boy Trotter wrote:

Hi, just a general question about Discourses Vagrant setup:

I can see in the Vagrant script that Discourse pulls an image with Redis, Postgre, Node, Ember etc all pre-installed.

Why then is Chef also being used to add apt, build-essential etc after the point?

Is there a reason for this?

Posts: 1

Participants: 1

Read full topic

Discourse is not Google Translate friendly

$
0
0

Wout Mertens wrote:

I encountered this Discourse installation: http://forum.kodujdlapolski.pl/

Unfortunately, it's in Polish. Chrome doesn't offer me to translate it and giving the URL to the translator doesn't work either.

Most sites seem to work with Google Translate, so I'm thinking that there may be a small change to be done so it works?

The feature at https://meta.discourse.org/t/translator-automatic-post-translation/18756 is not a solution because only the browser knows if the user is interested in translations.

Posts: 6

Participants: 5

Read full topic

When is the digest sent? How to prevent sending until spam is removed?

$
0
0

Tobias Eigen wrote:

My forum is new, and I am getting some instances of spam content not being identified quickly enough so it is being distributed by email in the forum of notifications. This is annoying, obviously. Is there a way to know when digests will be sent, and if it's possible to prevent sending until spam is removed?

Posts: 4

Participants: 3

Read full topic


Github boxes should be truncated

$
0
0

Failed bootstrapping web container (data successfully done)

$
0
0

Helmi wrote:

After a bit of fiddling around with the data container i finally got it running. Unfortunately i'm stuck with the web container in my multisite installation.

Here's the error i get:

FAILED
--------------------
RuntimeError: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate failed with return #<Process::Status: pid 164 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params "cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate"
$longnumber
FAILED TO BOOTSTRAP

and here's my cleaned up web.yml

templates:
  - "templates/sshd.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"

expose:
  - "80:80"
  - "2222:22"

params:
  version: tests-passed

env:
  LANG: en_US.UTF-8
  UNICORN_WORKERS: 4

  DISCOURSE_DB_SOCKET: ''
  DISCOURSE_DB_USER: discourse
  DISCOURSE_DB_PASSWORD: 'mypw'
  DISCOURSE_DB_HOST: 172.17.0.74
  DISCOURSE_REDIS_HOST: 172.17.0.74
  DISCOURSE_DEVELOPER_EMAILS: 'my@adminemail.com'
  DISCOURSE_HOSTNAME: 'first.discourse.org'
  DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com            # (mandatory)
  DISCOURSE_SMTP_PORT: 587                                # (optional)
  DISCOURSE_SMTP_USER_NAME: mandrill@adminemail.com             # (optional)
  DISCOURSE_SMTP_PASSWORD: mandrillkey         # (optional)
  #DISCOURSE_CDN_URL: //discourse-cdn.example.com

volumes:
  - volume:
      host: /var/discourse/shared/webonly
      guest: /shared
  - volume:
      host: /var/discourse/shared/web/log/var-log
      guest: /var/log

hooks:
  after_code:
    - file:
        path: /var/www/discourse/config/multisite.yml
        contents: |
          secondsite:
            adapter: postgresql
            database: second_db
            username: discourse
            password: mypw
            pool: 25
            timeout: 5000
            host: 172.17.0.74
            db_id: 2
            host_names:
              - second.discourse.org

  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git

  after_web:
    - exec: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate

## Remember, this is YAML syntax - you can only have one block with a name
run:
  - exec: echo "Beginning of custom commands"

  - exec: echo "End of custom commands"
  - exec: awk -F\# '{print $1;}' ~/.ssh/authorized_keys | awk 'BEGIN { print "Authorized SSH keys for this container:"; } NF>=2 {print $NF;}'

Probably i'm just overseeing anything easy but i'm just stuck and hope someone can help here.

Thanks,
Frank

Posts: 5

Participants: 3

Read full topic

Help: Uploaded Image URLs are Bad

$
0
0

Rmwtoyon wrote:

I have deployed discourse as a bitnami stack on an Ubuntu 14.04 LTS VM. I originally played around with this on a development machine that had another apache server listening on port 80 and 443. When I configured this bitnami stack I used alternative ports (8080 and 8443). We played around and liked it.

I have now deployed the forum to a new dedictated VM where ports 80 and 443 are open to me. As a result, the new bitnami stack was configured to use those ports. I then exported by database and uploads from the original stack and imported them into the new stack.

Everything is working fine, but now I am seeing uploaded images being served with the old port numbers in the topic view. For example, https://myserver.com:8080/uploads/default/26/f12adb5d3b810913.jpg for an image that was really uploaded to https://myserver.com/uploads/default/26/f12adb5d3b810913.jpg

I don't see the old port number lingering in any of the site setting at /admin/site_settings. Any idea how I fix this?

Thanks.

Posts: 4

Participants: 2

Read full topic

Deleted post sent as notification

$
0
0

James Milligan wrote:

If a post has been deleted on the forum, a notification is still sent out for it to users which reads, rather confusingly:

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

This generated quite a few replies asking what it all meant.

Can this be fixed so that deleted posts don't get sent out as notifications?

Posts: 3

Participants: 3

Read full topic

Option to force email context

$
0
0

James Milligan wrote:

Some users on our forum would like the option to force an amount of context in the notification emails.

I suggest this is implemented as a user-configurable option with a site default (shipped as 0).

The current situation as I understand it is that context is included if the user hasn't received that post in an email yet. Therefore, if they receive every email (mailing list mode), they'll never get context. This can be confusing if they delete emails after they've read them, because there's nothing to refer back to if the new post references something in that previous post.

This is also related to the Reply by email requires reply at top feature request, if users include quotes to provide some context, then the email processing breaks.

The option would force Discourse to include the previous # of posts made in the topic.

Posts: 1

Participants: 1

Read full topic

High CPU Usage After Upgrade

$
0
0

Kirupa Chinnathambi wrote:

Hi, everyone!
After running the (very easy-to-use) upgrade via the Admin panel, the CPU usage for the forums spiked and never went down. It killed the droplet a few times overnight, so I had to manually restart it.

Here is the chart of the before/after:

From looking at my processes, I'm seeing this:

postgres   100 94.7 13.2 398800 272268 ?       Rs   19:23  21:33 postgres: discourse discourse [local] DELETE

I did create a backup before the upgrade, so I'm OK with going back to an earlier state, but that isn't a good long-term solution stuck_out_tongue

What may be causing this? Would it be related to @krilnon's emoji plug-in? (I did disable and enable it to via the Admin panel's Plugins section to see if it was related, but it didn't affect the high CPU usage at all.)

Thanks,
Kirupa

Posts: 7

Participants: 4

Read full topic

Does discourseEmbedUrl have to be a URL?

$
0
0

Kirupa Chinnathambi wrote:

Hello, everybody!
I'm planning on replacing disqus comments with a discourse embed instead. As part of this, the script requires us to specify a discourseEmbedUrl that should be the URL of the page the comments will live on:

<script>
	var foo = 100;
  var discourseUrl = "http://forum.kirupa.com/",
      discourseEmbedUrl = window.location.href;

  (function() {
    var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
      d.src = discourseUrl + 'javascripts/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
  })();
</script>

From my limited testing, it seems like this discourseEmbedUrl value is what associates a forum entry as well. If this URL value were to ever change, the association with the corresponding discourse topic is lost. A new topic needs to be created instead.

Is there a way for me to make the association more generic and not be associated with the page URL? For example, it would be great to specify a GUID that will be unique for each page.

I am thinking about a future where I might rewrite my URLs to be different, change domain names, etc. If this isn't particularly appealing as a feature, is there an alternate mechanism by which I can re-map the association between pages on the site and the forum topics?

Thanks,
Kirupa

Posts: 1

Participants: 1

Read full topic


JSON vs URL Encoded API Calls - JSON returns BAD CSRF

$
0
0

Spero Koulouras wrote:

Is there possibly a difference in the handling of JSON and formencoded data by the REST API?

If I create a topic it works with Content-Type: application/x-www-formencoded:

POST /posts HTTP/1.1
Content-Type: application/x-www-form-urlencoded

api_key=8d3ca248f3e30e5985a11344568b4ec52a599533f46878bea96f5c5d868abd4f&api_username=spero&raw=http://www.youtube.com/watch?v=05zrCwLDkVQ&title=What's Good About Compassion&is_warning=false&category=33&archetype=regular

but not for JSON, returning 403 Forbidden BAD CSRF which makes me think the api key and username are not being pulled from the JSON data the same way they are from the form encoded above. Or did I screw up something in the JSON? Changing the URL to end in .json has no impact.

POST /posts HTTP/1.1
Content-Type: application/json

{ "api_key":"8d3ca248f3e30e5985a11344568b4ec52a599533f46878bea96f5c5d868abd4f", "api_username":"spero", "raw":"http://www.youtube.com/watch?v=05zrCwLDkVQ", "title":"What's Good About Compassion", "is_warning":"false", "category":"33", "archetype":"regular" }

My guess is that as soon as I hit enter whatever silly mistake I made jumps off the page.

Posts: 1

Participants: 1

Read full topic

How to change database encoding

$
0
0

Wuchong wrote:

Actually it's a Chinese search issue. As I followed @sam 's suggestion in the post bellow.However , it didn't work . And I checked my discourse database encoding .It still shows SQL_ASCII . If I change it to UTF-8,the Chinese search may work. So How can I change the database encoding?

Continuing the discussion from Chinese search issues:

Posts: 1

Participants: 1

Read full topic

Remove the date bit from the digest emails subject line

$
0
0

Daniel Hollands wrote:

I've had a request from one of my forum users:

Is this something which can be done? I'm not sure that I want to turn it off for everyone, as I personally think the date in the subject line is a good thing, but there seems to be a use case for allowing something like this on a per-user basis.

Thank you.

Posts: 1

Participants: 1

Read full topic

Digest not being sent to particular member

$
0
0

James Milligan wrote:

Hi folks,

I have a particular member that isn't receiving the digest despite being registered for the daily version. He hasn't visited the forum for over a day, he receives other email notifications fine, and other members receive the digest just fine.

I've tried triggering the job that sends out the digest, which didn't send anything out to him.

Any suggestions where to start troubleshooting or to understand why he isn't having one sent out? Mandrill doesn't show any digests sent to him at all, but it does show digests sent to other members, including a member that was "last seen" more recently.

Does it take into account whether the member has posted to the forum and reset the "not seen for [x]" timer? The other member who was "last seen" more recently hasn't posted for 4 days, whether this other member has within the last 24hrs.

Posts: 1

Participants: 1

Read full topic

Wiki-topic with censored words

$
0
0

Anton wrote:

Does anyone like an idea of having a publicly editable list of stop words so that entries can be added only (removed by staff only). Probably a good idea for plugin?

Current stop words list is useless especially when you have to put there ~1k words.

Also, I'd like to be able to just copy-paste a comma-separate list of such stop-words instead of pressing Enter after entering every word in the settings panel.

Any ideas?

Posts: 7

Participants: 6

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images