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

Audio/video uploads return wrong url when assets are stored on S3

0
0

@Simon_Cossar wrote:

When assets are stored on S3 without a CDN, audio and video uploads are returning the wrong url.

http://tests.testeleven.com//testeleven-forum-assets.s3-us-west-1.amazonaws.com/original/1X/06c34a2cb749a93f3551224a283080483cb417d4.wav

The Discourse.BaseUrl is being added to the upload url without first checking if S3 is being used.

Posts: 1

Participants: 1

Read full topic


Read All New button

0
0

@hellekin wrote:

I miss a feature from Caucus is the ability to read all new since last visit. This is a usual and convenient way to catch up with your current readings.

Maybe the feature exists and I missed it, but I don't think so.

When you click read all new, you go through the list of topics with unread messages, until you come back to "the center" (Caucus center is kind of the list of conferences [categories in Discourse speak, aka the dashboard]).

Posts: 20

Participants: 6

Read full topic

Randomly timing out in our forum

0
0

@SnowGirl_Studios wrote:

Hi, i come from the Hopscotch Forum.. i have noticed that went i went onto the drawing topic http://forum.gethopscotch.com/t/drawing-on-paper-compared-to-an-ipad-shading-shaping-etc/3208
sometimes when im scrolling down it just turns white. The screen will turn white and if im on a ipad it restarts my ipad and if im on a laptop it closes out all my tabs.. im not too sure if anybody else on my forum has this happen to them as well. I was thinking it was because of how many replies? (this topic has the most replies by like 11,000)

Posts: 4

Participants: 2

Read full topic

Topics automatically closing due to flags?

0
0

@figlet wrote:

"This topic is temporarily closed due to a large number of community flags." temporarily_closed_due_to_flags

How is the threshold by which this event happens set? How can I change that threshold or disable this completely?

Posts: 3

Participants: 2

Read full topic

Not able to upload our own videos

0
0

@SnowGirl_Studios wrote:

I'm from the Hopscotch forum and it doesn't allows to upload our own videos.. it says "this file could not be opened because we can not open it" or something like that..is their a reason for it? I'm sure a bunch of people on our forums would love to post a tutorial or something. @sam @codinghorror

Posts: 3

Participants: 2

Read full topic

Help debugging replaceBlock usage

0
0

@nskerl wrote:

I am trying to cobble together a plugin that will support simple sequence diagrams in posts.

For example, this:

[seqdiagram]
A->B:one
B->A:two
[/seqdiagram]

Would result in this:

The JS Sequence Diagram library handles the text-->svg function, so my first attempt is to simply wrap that library within Discourse.

Based on examples found here I put together this plugin: https://github.com/nskerl/discourse-sequence-diagram

Here I am using replaceBlock() to find the [seqdiagram] tag and push its contents into the div needed by the diagram lib.

    //assets/javascripts/sequence_diagram_dialect.js
    (function() {
      Discourse.Dialect.replaceBlock({
        start: /(\[seqdiagram\])([\s\S]*)/igm,
        stop: '[/seqdiagram]',
        rawContents: true,
        emitter: function(contents) {
    		return ['p', ['div', { class: 'discourse-sequence-diagram'}].concat(contents)];
        }
      });
      Discourse.Markdown.whiteListTag('div', 'class', /^discourse-sequence-diagram$/igm);
    })();

Then, in my initializer I am calling the lib to do the text to diagram transform:

import { withPluginApi } from 'discourse/lib/plugin-api';

    export default {
    	name: 'discourse-sequence-diagram',
    	initialize() {
    		withPluginApi('0.1', api => {
    			api.decorateCooked($elem => $elem.find("div.discourse-sequence-diagram").sequenceDiagram({theme: 'hand'}));
    		});
    	}
    }

When I type in the opening [seqdiagram] tag I see the following error thrown in the console: "Uncaught TypeError: e.stop.exec is not a function"

It appears its coming from this section of code in replaceBlock():

Any help in debugging this in much appreciated! I'd also like to know how others would implement this feature; perhaps a plugin is not the place?

I am confident the other areas of the plugin are setup ok-- if I swap the call from replaceBlock to inlineBetween I can get svg output, but only on a single line and its a bit wonky with spaces.

Posts: 1

Participants: 1

Read full topic

Where to suggest changes to the English strings?

0
0

@RalfJung wrote:

I noticed a few places where I find the English "translation" confusing, or where it is inconsistent:

  • In the user profile https://meta.discourse.org/users/USER/preferences, many settings say something like "Notify me", "send me a mail", etc. - but the very last one says "Automatically unpin topics when you reach the bottom.". For consistency, this should be "Automatically unpin topics when I reach the bottom.".
  • Furthermore, for the description of a staged user, it is unclear to me whether "can only post via email in specific topics" means that in the other topics, the user can not post at all, or whether in the other topics, she can post normally through the web-interface, but not via e-mail. Also, how are these "specific" topics determined?

What is the procedure to suggest changes to these strings? It seems Transifex treats English as source language, so do I just make a pull request with a changed {client,server}.en.yml?

Posts: 5

Participants: 2

Read full topic

Apply custom CSS except to category page

0
0

@figlet wrote:

So on the "Latest" and "New" views I apply the following CSS:

.topic-list .category {
display: none;
}

having the Category shown there seems visually cluttered to me.

However now when I visit the "Categories" section I see the lists of Categories on the left side of the page and the topics that are in those categories.

Right now on my forum if I visit the categories page I see the topics sorted by category, but it does not state which topics are in which category.

How can I get it to not show categories on most of the views but still show on the category page?

Posts: 2

Participants: 2

Read full topic


Missing avatars from twitter onebox?

0
0

@steko wrote:

As you can see here and here my Discourse forum seems to have a problem with tweets, since all avatars are missing from the onebox despite pointing to an existing https image URL e.g.:

Actually, while I'm posting this here on meta, I see the very same issue :frowning:

Posts: 5

Participants: 4

Read full topic

Firefox shows "spinning wheel" for >20sec

0
0

@RalfJung wrote:

When I go to a Discourse page (both here on meta.d.o, and on my own site), Firefox shows the "spinning wheel" icon (indicating that the page is still loading) for more than 20sec, even though the actual page builds completely within the first 1-5sec. This is rather irritating, and it makes the page look much slower than it is.

When I enable the "Network" debugger, I can see why this is happening: There is a request to poll which only comes back after 25sec. Firefox waits until this is done before stopping the spinning wheel. The next poll follows immediately, but now Firefox recognizes that this is some background stuff and stops the wheel. Maybe this is related to the observation that there are sometimes two poll requests that are made when the page is re-loaded with F5. I don't know if there is a way to tell Firefox that these poll requests are background stuff that it should not keep the wheel spinning for.

This is with a clean profile with Firefox 44 on Linux.

Posts: 3

Participants: 2

Read full topic

Editing Titles in Discourse

0
0

@ChizbeJoe wrote:

What's the deal with people being able to edit titles? Can only Regulars do this? I ask because on another forum, we are having some issues with people editing topic titles.

Posts: 3

Participants: 3

Read full topic

Encoding issue with incoming email

0
0

@RalfJung wrote:

While testing "email in" functionality, I ran into the problem that the "pop3 poll" job in sidekiq would show status "FAILED", and the log view would show

      Job exception: incompatible character encodings: UTF-8 and ASCII-8BIT

/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:33:in `handle_failure'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:28:in `rescue in process_popmail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:24:in `process_popmail'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:82:in `block (2 levels) in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:688:in `block in delete_all'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `each'
/usr/local/lib/ruby/2.0.0/net/pop.rb:687:in `delete_all'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:81:in `block in poll_pop3'
/usr/local/lib/ruby/2.0.0/net/pop.rb:531:in `start'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:80:in `poll_pop3'
/var/www/discourse/app/jobs/scheduled/poll_mailbox.rb:15:in `execute'
/var/www/discourse/app/jobs/base.rb:154:in `block (2 levels) in perform'

I had to manually delete a mail from the mailbox (on the file system) to un-stuck the pop3 poller, so this is a fairly serious problem. Here's the mail I had to delete:

Return-Path: <post@DOMAIN1>
Delivered-To: <forum@DOMAIN2>
Received: from core.DOMAIN2
    by DOMAIN2 (Dovecot) with LMTP id 1vtoH6UK01Y+QwAAekeSQw
    for <forum@DOMAIN2>; Sun, 28 Feb 2016 15:57:32 +0100
Received: from zwei.DOMAIN1 (zwei.DOMAIN1 [XXX])
    by core.DOMAIN2 (Postfix) with ESMTPS id 9AAF01E1301
    for <forum-verein@DOMAIN2>; Sun, 28 Feb 2016 15:57:32 +0100 (CET)
Received: from [192.168.1.100] (XXX [XXX])
    by mx.DOMAIN1 (Postfix) with ESMTPSA id 24EDC17D020E
    for <forum-verein@DOMAIN2>; Sun, 28 Feb 2016 15:57:32 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=DOMAIN1; s=mail;
    t=1456671452; bh=IIcHITLcb/Z4uWxM/pr96CGIKH6/X/MkxXW3pS5JjDo=;
    h=From:Subject:To:Date;
    b=u9ydRg+p/I9WKzjDT+jxgWynyNUj6rQyotU8tkO+5ox0atynNrXnXllOZ6c39HY+N
     bsjx0Lt9RVqhL+djY/5SCPwonEpAnMWgTNkJXn+NYfYwZGIz6XmsjZq2UVpuZ7hCyM
     m7giRwYZ3DgcIsWvz3yLhyCnhuHHchent7MzInQk=
From: Ralf Jung <post@DOMAIN1>
Subject: =?UTF-8?B?w4TDlsOc?=
To: forum-verein@DOMAIN2
Message-ID: <56D30ADA.1010704@DOMAIN1>
Date: Sun, 28 Feb 2016 15:57:30 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Icedove/38.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Gänz vühlen Ümläutenß

Posts: 2

Participants: 2

Read full topic

Middle-click on "Users" admin panel fails

Scrolling Bug in Chrome Latest

0
0

@Alankrit_Choudh wrote:

How to Repo.

  1. Visit a topic of 25 posts.
  2. Manually scroll using mouse wheel up and down till the last post 4-5 times.
  3. Click the post number bar or what ever it is called to "Top" and "Bottom"
    a. You dont get to the First/Bottom post.

Still dont get what i am saying
Here a gif.

http://gfycat.com/SkeletalCrazyEgg

Posts: 3

Participants: 3

Read full topic

Import data from Phorum

0
0

@fra wrote:

Hi,
I am trying to import data from Phorum database. I have filled db data to the phorum.rb script (mysql name, pass, db name) and tried to run the script with: ruby script/import_scripts/phorum.rb

but it failed with this error:
/var/discourse/script/import_scripts/base.rb:14:in require_relative': cannot load such file -- /var/discourse/config/environment (LoadError)
from /var/discourse/script/import_scripts/base.rb:14:in
'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in require'
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in
require'
from script/import_scripts/phorum.rb:3:in `'

Have you any idea what am I doing wrong?

Thanks so much!

Posts: 1

Participants: 1

Read full topic


Score. Score for a Post. How is this calculated?

0
0

@ivanrlio wrote:

Just curious what the 'Score' attribute on a user post indicates, and/or how it's calculated. Thanks!

Posts: 2

Participants: 2

Read full topic

Show badges on topics that earn them

0
0

@pfaffman wrote:

In my quest to make Discourse a first rate learning platform, I use badges to let learners know that they have submitted something and to show that they have successfully completed the challenge. It would be cool if a topic that had earned a badge had the badge prominently displayed at the top of the post, like the top where the subject is.

Is that possible with just CSS, or would that take a plugin?

Posts: 3

Participants: 3

Read full topic

Mailjet email STMP not working

0
0

@noahw wrote:

Myself and a friend have spent the whole evening into the morning trying to diagnose a problem with our STMP . . we've tried every port, turned the TLS to true and false and ran every possible variable [we're testing port 25 with TLS on one more time.]

I'm hoping someone can point us in the right direction, otherwise, we can't really use Discourse since it relies on emails.

Thanks,
^Noah

Posts: 2

Participants: 2

Read full topic

Viewing Privacy Policy Without Logging In?

0
0

@Safa_Faheem wrote:

I currently have a footer on my home page that links to the Terms and Privacy Policy. The Terms link works okay whether or not the user is signed in, but the Privacy Policy only appears once the user logs in. Is there a way to get around this? I want the user to be able to see the privacy policy even when they are signed in.

Let me know if you need any other details. Appreciate the help.

Posts: 1

Participants: 1

Read full topic

Create a "community management" category

0
0

@riking wrote:

Continuing the discussion from Books on community building:

I've seen several topics about community building, and they've all been placed in uncategorized (and a portion have the #community-management tag).

I think these posts are common enough, and there are enough existing topics, that they should get their own category.

Posts: 3

Participants: 2

Read full topic

Viewing all 60279 articles
Browse latest View live




Latest Images