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

LiveLeak.com embedding?

$
0
0

Piotr Z Marek wrote:

I know that there are terrible content and guts on top. But despite this we use a lot of content there. Integration of these videos, which are now displayed as a link, it would be excellent.

By the way, I wanted to point out that the idea to create thumbnails of content (photos / video) in the first post is excellent (like on reddit). Someone mentioned it - it's a good idea!

I'm currently looking for a forum for my website. Discourse is amazing and I will give you a kidney for these two functions!

Posts: 4

Participants: 4

Read full topic


Audio html5 tag

$
0
0

Martin Broerse wrote:

I just added an audio tag like this to link a podcast.

but is does not show up. How should a Podcast or other audio file be linked? It is correct in the preview.

Posts: 31

Participants: 6

Read full topic

Poll plugin negative votes

$
0
0

David wrote:

Pulled the latest release from the upstream this morning. Wanted to test the new poll plugin.

Result: it's easy to break a poll by changing your vote.

Posts: 8

Participants: 4

Read full topic

Accessibility: Improve contrast of text styling in default CSS

$
0
0

Michael Downey wrote:

As a user with less-than-perfect eyesight, I want to be able to read text and links on Discourse with a contrast ratio that allows me to differentiate types of text, so that I can better understand the purpose of that text.

i.e., Discourse should support Web Content Accessibility Guidelines (WCAG) 2.0 to at least level AA. Level AA requires a contrast ratio of 4.5:1 for normal text, and 3:1 for large text.

If it was desirable to reach to an even higher level of accessibility, level AAA requires a contrast ratio of 7:1 for normal text and 4.5:1 for large text.

Here are some current examples contrast ratios for the home page against the white #ffffff background:

  • "Dark grey" #333333 un-visited topic titles: 12.6:1 (passes)
  • "Light grey" #8c8c8c visited topic titles : 3.4:1 (fails)
  • "Light blue" #33bbff cold map dates: 2.2:1 (fails)

A few resources (many others exist):

Posts: 1

Participants: 1

Read full topic

Transifex generates invalid YML

$
0
0

Neil wrote:

Continuing the discussion from German Translation Sync between GH and Transifex:

I hit a snag during this work to integrate Transifex. The file I get when I download server.en.yml from fr_FR has invalid yml.

for_translation_discourse-pt-br_serverenyml_fr_FR.yml.txt (95.6 KB)

These keys are all on one line: dominating_topic, too_many_replies, reviving_old_topic

  dominating_topic: "### ...snip... de vue ? \n"    too_many_replies:

This happens whether I use the download link in a browser or the command line tool. It breaks the entire app because the rails server fails to start.

If I get the "Download for use" file, it is valid, but will be missing untranslated keys (the empty string problem).

Anyone have any ideas what's going on? I think it's a Transifex bug, so I'll contact their support. cc @glezos

Posts: 2

Participants: 1

Read full topic

Docker: 3,100 commits behind?

Transifex UI changed?

$
0
0

Neil wrote:

I'm suddenly lost in Transifex. What happened since yesterday? This is all I can see when trying to view translations:

There used to be panes where I could see tags, comments, history, etc. I'm trying to see what is presented in zh_CN for keys like this:

    in_n_seconds:
      one: "in 1 second"
      other: "in {{count}} seconds"

So confused.

Posts: 3

Participants: 3

Read full topic

Hot off the presses, automated backup support!

$
0
0

Robin Ward wrote:

If you are on the latest version of Discourse, you can now enable automated daily backups, with support for uploading them offsite to S3!

I'm super proud of this feature because in my opinion not enough software (and certainly no forum software I am aware of) encourages users to create offsite backups of their data. The last thing you want in the event of a server failure is to lose all the awesome content your forum users have created.

Enabling this feature is easy! First go to the admin section and find backups under site settings. You'll see the following options:

Note that for the uploading to S3 support you'll need to have defined your s3 credentials as well. If you don't upload to S3 the backups will be left on the server filesystem.

Once you enable this, you can go to the backups tab in admin to view a list of backups that were performed with links to download or restore any images.

Let us know what you think of the feature and please help us try it out by enabling backups for your forums!

Posts: 17

Participants: 7

Read full topic


Breadcrumbs microformat for SEO

$
0
0

Alexandre Angelim wrote:

Given the url structure Discourse uses, Google has little hints about the hierarchy of the forum. How about adopting the microdata for breadcrumbs? Discourse already has the categories in the right order rendered in the posts page.

I don't have any articles to indicate if ranking improves. One of the advantages is to allow the user to get to a particular category from the search results. The breadcrumbs replace the link, just bellow the title.

Implementation with microdata is trivial:

<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
  <a href="http://www.example.com/dresses" itemprop="url">
    <span itemprop="title">Dresses</span>
  </a> ›
</div>

`

My fork points to a private repo out of Github so I don't know how to send a pull request. Is anyone interested in implementing this?

Posts: 2

Participants: 2

Read full topic

Given User Name after responding to Invite Friend invitation

$
0
0

Neil wrote:

I really like the feature which gives invited people the ability to post immediately they have visit a Discourse forum.

Would it be possible to incorporate a step in the process so they get to choose their own user name before submitting their post rather than have one allocated to them on the basis of their email address?

Many people wouldn't want to use their email address as the basis of a forum user name.

Posts: 5

Participants: 5

Read full topic

Closed Poll: How do you close a poll?

$
0
0

Burke wrote:

  • Duh. Use the button/link on the ______ screen that you overlooked.
  • Change the title from "Poll: Foobar" to "Closed Poll: Foobar"
  • Close the topic.
  • I dunno. Good question.

I love the simplicity of the poll feature (start title with "Poll: " and include a list), but it's not clear to me how to close the poll. I searched meta.discourse.org and looked at the poll plugin, but didn't see an answer. I was assuming that I could click on something or make an edit that would show the poll with results in read-only form. It would be nice to be able to close the poll for voting without having to close the topic, since valuable discussion on the topic might continue beyond the time allotted for voting. I know the plugin is early in development, so this feature might not exist yet... or maybe I just missed it.

Update: You can now close a poll by changing the start of the title from "Poll: " to "Closed Poll: " and discussion can continue after voting has ended. smiley

Posts: 23

Participants: 8

Read full topic

What is the best way to set the discourse hostname?

$
0
0

Cyril Rohr wrote:

Hello, I'm the maintainer of the discourse debian/ubuntu packages (hosted at https://pkgr.io/apps/pkgr/discourse). I can get Discourse up and running easily, but can't figure out how to properly set the discourse hostname.

Based on the official discourse docker documentation, I should be able to set a DISCOURSE_HOSTNAME environment variable to something such as www.example.com, restart everything, and be done with it.

However, it does not seem to work (while other env variables such as DISCOURSE_DEVELOPER_EMAILS, and smtp stuff are correctly picked up), and I'm forced to set the force_hostname setting in the admin settings, as per the unofficial how to install on heroku documentation (in docs/install-HEROKU.md -- sorry, can't post the full link as it seems I'm limited to two links only...).

What is the correct way to do this?
Also, I must be blind, but I can't see where all those environment variables are picked up in the code. Any pointers?

Thanks!

Posts: 4

Participants: 2

Read full topic

Conditional link behaviour on comments button: direct to thread vs. comments page

$
0
0

James Croft wrote:

Hiya! Long time lurker, first time poster. smile

I'm looking into adding a forum for our Australian tech blog (which runs on Wordpress), and so far the setup has been pretty smooth using the WP-Discourse plugin.

I've noticed two divergent behaviours, and I'm hoping someone can help me either decide between them, or (ideally), find a way to switch between them.

Right now, blogs with a Discourse integration seem to either 1) link directly to the topic thread from their index page (like Boing Boing), or 2) link to a Wordpress comment page from their index page (like the Discourse Blog), which then leads off to the thread via the 'continue the discussion' button.

I prefer 2) the way that the Discourse blog does it -- a page of Notable Replies, with a button at the bottom to jump to the thread. However, I think the only weakness of this approach is when there are no comments.

A good example on the Discourse blog is here, if you navigate to the post entitled 'Improved Image Handling' you can see it is uncommented. Right now, it has a button that says 'Leave a reply', indicating no comments.

When you click this, it jumps to the bottom of the post's page (presumably, where there would be 'notable replies' if there were any), but you can't actually comment on it until you click the 'Continue the discussion' button of this page. It's a little redundant to do go the notable replies page when there's nothing there.

What I'd love to be able to do is combine the best of both worlds, and have the 'notable replies' comments page, but only link to it when there are notable replies to see.

Essentially do something like this:

 if (discourse_comments == 0) {
    comment_btn = "Leave a reply"
    comment_link = "forum.mysite.com/t/topic/1
 } else if (discourse_comments == 1) {
    comment_btn = "1 reply"
    comment_link = "wordpress.mysite.com/topic#comments"
} else {
    comment_btn = "[x] replies"
    comment_link = "wordpress.mysite.com/topic#comments"
}

Hope that makes sense! I also made a simple diagram explaining what I mean.

I thought maybe I could do this in Wordpress by using comments_count(), but because Discourse doesn't report back a comment count to WP I don't think it's possible that way. Maybe the plugin could to be extended somehow to include a discourse comment count function that can be accessed from within the Wordpress loop? Any ideas?

Posts: 3

Participants: 3

Read full topic

Domain specific google apps login

$
0
0

Lloyd Philbrook wrote:

One of our discourse installs is for internal use only. In addition to setting the login_required, invite_only and disabling enable_local_logins. It would be great to only allow logins from a specific google apps domain.

Posts: 9

Participants: 5

Read full topic

Pinned topics shoud be un-pinnable using the pin

$
0
0

Jens wrote:

The star icon beside the title can be used to star or unstar a topic, so I expected the pin to duplicate the role of the "Clear pin" button at the bottom.

Currently, it does not do anything, though.

Posts: 3

Participants: 3

Read full topic


Pin-cleared topics should still have an icon

$
0
0

Kane York wrote:

After clearing a pin from a topic, I think that a greyed-out "cleared pin" icon should be shown - to visually show that although it's not pinned for you, it's still pinned globally, and offer the chance to re-pin it.

The icon should also show up in the topic list. In some communities, pinned topics still get action, and currently if you cleared the pin, it would show up in latest with no special indication that it is still pinned.

This would also solve the moderator confusion when they clear a pin that I've seen some discussion about.

I made a quick mockup in paint:

As you can see, I'm not that great at visual design, and merely okay at writing words with a touchscreen wink

This feels to me like a pretty clean solution to one of the 'stickler' problems that's been hanging around.

Posts: 7

Participants: 4

Read full topic

Click on pin icon to un-pin

$
0
0

Tim Radnidge wrote:

Call me insane, but I clicked 20 times on the pin icon in both the topic list (after reading the item) and also next to the title when opened to try and un-pin the item.

I know this is a low-priority type of thing, but it would be good to be able to click on a pin to un-pin it.

Here is a reasonable case:

  • I notice there is an outage this Thursday
  • I want to keep this Thursday in mind so I don't want to un-pin today (Monday)
  • Come Thursday evening when things are back to normal I can simply click on the pin in the topic list to un-pin the item, removing it from the top of the page

Posts: 10

Participants: 5

Read full topic

Chinese translations with counts

$
0
0

Neil wrote:

Continuing the discussion from German Translation Sync between GH and Transifex:

I see your problem now. In our client.zh_TW.yml file, we have translations for things like less_than_x_seconds:

    dates:
      tiny:
        half_a_minute: "< 1 分鐘"
        less_than_x_seconds:
          one:   "< 1 秒鐘"
          other: "< %{count} 秒鐘"

But they're missing from Transifex.

So I tried pushing our client.zh_TW.yml file to Transifex, which was successful, but those translations are still missing.

@samuelchan22 Any idea what's wrong?

EDIT: It seems like Transifex has these translations, but isn't displaying them. I pushed them, and when I pull from Transifex, they come back.

Posts: 1

Participants: 1

Read full topic

Transifex integration progress

$
0
0

Neil wrote:

Progress on integrating with Transifex today!

All config/locales/client.*.yml and config/locales/server.*.yml files are now in sync between Transifex and the Discourse repo. So now everyone can work on translations at Transifex and we can pull them in without the need for pull requests.

https://www.transifex.com/projects/p/discourse-pt-br/

There's still some work to do, and some issues are bound to come up, but this is the way to a less painful process to get Discourse localized and keep it up-to-date.

Next Steps

I'll write a script to help do the pulling. It needs these things:

  • Transifex's "download for use" files remove all comments. Add the comment at the top of every file, as a minimum. I'll open a support ticket with Transifex to see if there's a way to keep the comments instead.
  • Rename the root elements of the fr, es, ko, and pt files. On Transifex, they are fr_FR, es_ES, ko_KR, and pt_PT, and that's what Transifex sends back as the root element in the yml, which breaks things. I18n in Rails doesn't recognize those as valid locales.

Files to add to Transifex next:

  • yml files in plugins/poll/config/locales
  • yml files in vendor/gems/discourse_imgur/locale

Files to sync with Transifex and start pulling:

  • all public/*.html

To investigate:

  • html.erb files in app/views/static. Transifex treats .html.erb files as html, breaking the erb. Maybe we won't integrate these files with Transifex at all. They very rarely change.

Posts: 1

Participants: 1

Read full topic

Local vs. S3 storage for images/attachments

$
0
0

William Gross wrote:

Continuing the discussion from Setting up uploads to S3:

What are the pros and cons of storing images/attachments in S3 vs. locally?

Also, for people who started forums with local files but want to switch to S3, are there any plans to build a migration tool that would move all existing files to S3?

Posts: 2

Participants: 2

Read full topic

Viewing all 60613 articles
Browse latest View live




Latest Images