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

Grace period for username changes


Add links to menu bar

$
0
0

Phillip Kuoch wrote:

Hi,

I was wondering if it was possible to add links to the Discourse menu bar? This way, it would be useful to add a link back to our blog!

Thanks!

Posts: 1

Participants: 1

Read full topic

Will discourse work with only one worker?

$
0
0

Ordinary wrote:

I only wish to build a very small one for my classmates.So i'd like to built it with only 512MB RAM in order to save money.Will discourse work with only one worker?

Posts: 4

Participants: 4

Read full topic

Promise chaining problems

$
0
0

Hugo Almeida wrote:

I've started to write a plugin that extends the PostView to support translating a post content, right now using the Bing api.

I'm having a problem, not really related to Discourse but related to promise chaining. I was under the impression that if you return a promise inside the then it will chain it, so i must be doing something wrong.

The post view code:

Discourse.PostView.reopen({
  actions: {
    translate: function(post) {
      Discourse.Translator.translate(post.cooked).then(function(translation) {
        alert(translation);
      });
    }
  }
});

The translation request code:

Discourse.Translator = {
  token: null,

  getToken: function() {
    var translator = this;
    return Discourse.ajax('/translator/token', { type: 'POST' }).then(function(res){
      translator.token = res.access_token;
    });
  },

  translate: function(content) {
    var translator = this;
    return this.getToken().then(function() {
      return Discourse.ajax('http://api.microsofttranslator.com/V2/Ajax.svc/Translate', {
        type: 'POST',
        dataType: 'jsonp',
        data: {
          appid: "Bearer " + translator.token,
          to: "fr",
          text: content,
          contentType: 'text/html'
        }
      }).then(function(res) {
        return res;
      });
    });
  }
};

This code will result in an uncaught promise, the Discourse.ajax in translate function.

Posts: 1

Participants: 1

Read full topic

Allow editing of badges before they are enabled

$
0
0

probus wrote:

Currently the Badges tab is hidden from the admin settings when badges are disabled, which sort of makes sense. If you don't want to use badges you probably don't want to see the menu either.

But this also means there is no way to edit/disable individual badges or make custom badges before you enable them. So, I assume, the minute you enable them the users would start getting PM about the default badges from old posts.

There should be a way to access the badges tab before enabling them.

Posts: 1

Participants: 1

Read full topic

How do I create a plugin with autotagging/mentioning from custom source

$
0
0

Lenin Raj Rajasekaran wrote:

I have an endpoint that can get a search term and return a list of matching resources.

Currently, when I type like @Sachin, I get suggestions for users within my Discourse matching Sachin. But I need to write a plugin that can search for "Sachin" in my custom endpoint and provide the same "mentioning" feature, in this Post composer box. I can create a new end point with attributes required by Discourse (like href etc)

How do I go about approaching this feature?

Posts: 1

Participants: 1

Read full topic

How can i find for Plugins and Template for create or customize ? on Discourse Docker Guide..]

$
0
0

So Phat Va Thana wrote:

Hello, I am looking for create plugin or template .but i have install this script by used Docker guide so i can't see plugins or template public folder ..so how can i do it ?

Posts: 1

Participants: 1

Read full topic

Broken avatar uploads


Some strings of the about page are not translated

$
0
0

Camille Roux wrote:

The following strings are not translated on the about page :
- "Our Admins"
- "Our Moderators"

Posts: 3

Participants: 3

Read full topic

Viewing unanswered threads

$
0
0

Ralph Mason wrote:

Continuing the discussion from Is there a better way to handle the "Up!"/"Bump!" usecase?:

One thing I do like about vB is that it's easy to view a list of unanswered threads. Is there a way to do it in Discourse?

It's an important feature, as topics can quickly fall off the grid if there's a lot of activity going on. It's discouraging to post a question and get no reply, so I often check the unanswered threads tab on vB to check if there's anything I could answer that has dropped down the list.

This might help alleviate the need for annoying thread bumps.

Posts: 3

Participants: 2

Read full topic

Image within link breaks when downloaded by @system

Screenshots for various sections of Discourse - for reference in Transifex

$
0
0

Anton wrote:

This topic is a collection of screenshots of separate Discourse sections.
It is aimed mainly at translators.

These screenshots can be linked to from Transifex comments in order to add visual context, which should simplify the translation process.

The topic also serves as a map for quick visual reference of sections / pages in Discourse and their names.

Every little counts!

Once you insert a screenshot here and then link to it in a comment in Transifex, all translators will see it. So even a single screenshot in Transifex may simplify translation process for more than 10 people. Thank you for your contribution!

Guide

Adding screenshots

Please insert an image from your local computer or from clipboard so that it is immediately uploaded to the Discourse store and a direct link is shown, for example:

<img src="/uploads/default/33496/c1dc542866e83fdb.png" width="690" height="365">

Do not paste image urls linking to 3rd party hosting services as they won't be uploaded immediately to the Discourse store and people may get a wrong screenshot link.

NB. If a section can be in different states, please make a separate screenshot of each such a state.

Using screenshots (e.g. in Transifex)

  1. Right-click on an image in this topic and choose Copy image URL:

  2. Now a link to the image is in your clipboard. It links to the Discourse store.

  3. Insert a link to a related comment in Transifex.

Topic Map Unfolded

Topic Map Folded

Posts: 1

Participants: 1

Read full topic

How to regenerate thumbnails after changing max thumbnails size?

$
0
0

Franz wrote:

The title says it all: I just changed the max thumbnails size in the settings, and now I would like Discourse to regenerate all the thumbnails to honor the new setting. However I can't seem to find a way to do this from Discourse's UI. Maybe on the command line?

Posts: 2

Participants: 1

Read full topic

Using Discourse as a Q&A

$
0
0

harunxxl wrote:

Dear Discourse Team,

I know there were some discussions about up and down voting like on Stackoverflow. I discovered the Discourse platform yesterday and i felt in love !! Its so beautiful , but my wish is to use the discourse platform as a Q&A similar like on stackoverflow. With up and down voting smile So is there a plugin where we can install to start with this functionality or is it possible to write a plugin to add this functionality on discourse ?

Regards

Posts: 3

Participants: 3

Read full topic

Creating new categories / topics from outside of Discourse

$
0
0

Del Boy Trotter wrote:

We are going to be using Discourse as the chatter area of our site (http://alpha.sonatribe.com)

We would like to be able create new categories from our admin site - as we create new events we would like a category to be added to discourse automatically.

Is this possible? Is there an API we can POST to to add new categories? We have SSO working so we can maybe pass the correct auth.

Posts: 2

Participants: 2

Read full topic


Email Test to Some Addresses are Failing (DiscourseHosting.com)

$
0
0

Christian Simplicity wrote:

I am using DiscourseHosting.com to host Discourse. Bluehost.com is my nameserver and my main domain resolves to a wordpress site hosted at WPEngine.com. Email is handled by Google Apps.

Here are my MX Records. They are correct per Google.

Priority Host Record Points to TTL
1 @ aspmx.l.google.com 14400
5 @ alt1.aspmx.l.google.com 14400
5 @ alt2.aspmx.l.google.com 14400
10 @ aspmx2.googlemail.com 14400
10 @ aspmx3.googlemail.com 14400

Here are my TXT Records. They also seem to be fine per Google Apps.

Host Record TXT Value TT
@ v=spf1 include:_spf.google.com ~all 14400
google._domainkey v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfzlqivnu3Bf6lNqlb5iMi/bFvZJScZMQu1RSCPCg4lGel9+47abi+vXwlW1RcUK+iu3m7I0ShUx33p0ZZrfFrEd7Dz6yD9pEA35tqQaMQcmuKuu74b09602q76S4ASdGf2DwGCV5ZCZ5qzoT/Ko8t7awh3wWjz15uMzhDJXpTlQIDAQAB 14400

When I send test emails through the Discourse admin page to email addresses outside my domain, they seem to be getting through just fine. When I send a test email to myname@mydomain.com it goes through fine also. The headers shows spf=pass and dkim=pass.

However, when I send test emails to admin@mydomain.com DiscourseHosting.com tells me they are getting the following error.

They don't know how to solve it. There is nothing wrong with the email address. It exists and I get and send emails with it from and to others without issues. In fact, it is the contact email and notification email for the Discourse setup.

Also, when I send test emails to another domain managed in the same Google Apps accounts with aliased emails for myname@myotherdomain.com and admin@myotherdomain.com DiscourseHosting.com gets different errors as follows.

Does anyone have any insight into this? I need emails working if we're to use Discourse for our forum solution.

Posts: 15

Participants: 7

Read full topic

Translator: automatic post translation

$
0
0

Hugo Almeida wrote:

discourse-translator

Provides translations of post content from Bing (Microsoft Translation service). Uses the current language of the interface as a language to translate to.

Screenshot:

Setup

  • Subscribe to Microsoft Translator Service, free for 2 million characters per month
  • In Your account go to Developers and register an application.
  • In Admin -> Settings -> Translator Plugin add your client ID and client secret and enable the plugin
  • Allow user locale in Admin -> Settings -> Basic Setup

The plugin will show translations in the current interface language, if the user selects to see the Discourse forum in Japanese then the translations will be done to Japanese.

TODO

In order of priorities

For 1.0:

  • Add client_id and client_secret to settings
  • Detect user locale and use that for the translation (uses I18n.locale)
  • Handle error conditions gracefully
  • Show a loading message when getting the translation
  • Add specs
  • Cache and expire token server side
  • Cache and expire token client side

Future:
- Allow to translate the topic list titles
- Add setting to enable translation of a topic list
- Translate the topic title if requested translation of the first post
- Keep translation state on the client side
- Support Google translate
- Disable Quote Reply when selecting text from the translation
- Improve UI

License

MIT

Posts: 3

Participants: 2

Read full topic

Navigating to "about" doesn't update

$
0
0

James Milligan wrote:

Repro:

  1. Navigate to domain.tld/about
  2. Note browser title doesn't change and remains on the previous page's title.

Expecting to see "About - SiteTitle"

Posts: 2

Participants: 2

Read full topic

Unread count doesn't always update

How to clear translations cache in development?

$
0
0

probus wrote:

I was trying to troubleshoot why my translations don't show the proper names for months (they show in English for some reason) and I noticed that editing the server.xx.yml doesn't have any effect in the UI. I guess there is some kind of caching going on, even in vagrant. Changes in client.xx.yml update after page refresh. How can I get all the translations to refresh/clear the cache?

Posts: 6

Participants: 4

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images