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

Updating or rebuilding Discourse disables read-only mode?

$
0
0

@ljpp wrote:

When I do server or Discourse maintenance, I always enable read-only mode. It is a good UX practice, so that I don't bring the site down while someone is composing a forum post.

However I've noticed that Discourse pops out of read-only mode after upgrade or launcher rebuild. This is undesirable. I obviously wan't do all maintenance duties at hand, incl. server updates & potential reboot, and only after enable the site again for discussion.

Is this a bug?

P.S. A proper maintenance mode with an announcement page would a nice feature.

Posts: 6

Participants: 2

Read full topic


Discoure with Amazon ses

$
0
0

@eldy wrote:

I've installed discoure as a standalone app in my own vps. But later on I realised I have to configure my email server. Instead of using an local mail server, I chose AWS SES. So here's what I did

After I got my ses setup on aws,
In app.yml I do

DISCOURSE_SMTP_ADDRESS: email-smtp.eu-west-1.amazonaws.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: fdgdfgdfg
DISCOURSE_SMTP_PASSWORD: dffdgdfgdfgdfgdfgG
DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_AUTHENTICATION: "login"

But l not able to receive anything yet of course. How do I receive email of noreply@mydomain.com? which is the default mail for Discoure ?

Posts: 2

Participants: 2

Read full topic

Who/howmany copied a code snippet?

$
0
0

@gingerling wrote:

Hi

So maybe this is impossible, maybe not. I like in discourse how when you post a link, anyone who clicks it is "logged" and next to the link you get the click counter etc. I wonder if this could also be added for the code snippets, maybe it could say how many/who has copied the snippet.

A
x

Posts: 1

Participants: 1

Read full topic

Incoming mirror change from Taobao to RubyChina for web.china.template.yml

$
0
0

@fantasticfears wrote:

web.china.template.yml is a template to switch default gem sources to mirror server in China which helps various of connectivity problems. It's hosted by Taobao currently. However, more and more users are reporting connectivity issues even using Taobao mirror.

The troubles come from security policies that only employees can access servers which is needed for maintenance work at Taobao. Core maintainers left Taobao recent years which cause all kinds of troubles.

Therefore, a new mirror is considered to operate separately under control of serveral core members at Ruby China. QCloud will sponsor servers and CDN from Tencent. It's going to offer "realtime" synchronization, 400+ global CDNs and two servers operated outside China which ensures CDN server can query the data.

I'll look into the details and fill in a PR soon.

Related links (Chinese)

Issues: https://ruby-china.org/topics/29250
Github: https://github.com/ruby-china/rubygems-mirror
Mirror site: http://gems.ruby-china.org/

Posts: 1

Participants: 1

Read full topic

Event Signup Sheet Plugin

$
0
0

@lackstein wrote:

This is a modified polls plugin that shows the usernames of everyone that selected each option.

You can install it by adding git clone https://github.com/lackstein/discourse_signups.git to your app.yml file then running ./launcher rebuild app

It has all the same basic features that are included in the default poll plugin, such as single
and multiple choice signups, and min/max number of selections for multiple signups.

There are also some additional goodies, like the ability to remove your vote and unsignup for
an event. There's also a button to automatically start a private message with everyone that
has signed up, visible only to users that have edit permissions for that post.

It also adds a calendar button to the text editor that automatically adds the markup for a
signup sheet to the post you're editing.

Usage

Pretty much identical to the official polls plugin, just with 'signup' substituted for 'poll'

Example:

[signup type=multiple min=2 max=3]
- option 1
- option 2
- option 3
- option 4
[/signup]

Type, min, and max can all be ommitted, and you'll get a signup sheet that only allows one
option to be selected. Min and max are both optional for type=multiple.

Configuration

There are three Configuration options that can be changed from the admin settings page.

  1. You can enable or disable the signups plugin (default enabled).
  2. You can limit the maximum number of options in each signup sheet (default 4).
  3. You can change the noun used to describe the people that have signed up for the event.

There are options for the singular and plural version of the noun, which will be used
for the English translations, which are the only ones included. The default is person/people,
but you can see that it has been changed to rider/riders in the screenshots above.

Posts: 6

Participants: 6

Read full topic

Details tags munged

$
0
0

@pfaffman wrote:

Click this to see the bug

this text is hidden:

  1. this one is hidden

  • this should be hidden, but </details> got moved above it

    Raw

    <details><summary>Click this to see the bug</summary>
    <h3>this text is hidden:</h3>
    <ol>
    
    <li>this one is hidden
    
    <li>this should be hidden, but `</details>` got moved above it
    </ol>
    </details>

    Renders as

    <p><details><summary>Click this to see the bug</summary>
    
    <h3>this text is hidden:</h3>
    <ol>
    
    <p></p>
    <li>this one is hidden</li>
    </ol></details></p>
    
    <p></p><li>this should be hidden, but <code>&lt;/details&gt;</code> got moved above it<br>
    
    <p></p>

    Solution

    This seems to be caused by the blank line between <ol> and <li>.

    This seems related to this:

  • Posts: 2

    Participants: 1

    Read full topic

    Page "'Users" : same number for "❤ given" and "Entered"

    Putting discourse behind proxy seems to mess up quote avatars

    $
    0
    0

    @ryantm wrote:

    I'm running nginx in front of Discourse with

    upstream discourse {
      server localhost:3000;
    }
    
    server {
      listen 80 default_server;
    
      location / {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_pass http://discourse;
      }
    
    }

    The avatar that appears to the left of the post has a url like:

    http://192.168.1.23/letter_avatar/ryantm/90/5_a4c6c7825becdf9b31d9ea60fd0b5bf6.png

    but the avatar that appears in quotes in posts is a url like:

    http://localhost:3000/letter_avatar_proxy/v2/letter/r/9fc29f/40.png

    It seems like the URLs for the quote avatars are being generated in a different way than the other avatars.

    Posts: 10

    Participants: 5

    Read full topic


    What to do when a TL0 mail gets moved to another category?

    $
    0
    0

    @Sander78 wrote:

    • Someone (not a user) sends a mail to a category address.
    • A moderator moves that message to another category.
    • He then replies.
    • The original sender receives a mail
    • The original sender replies
    • The original sender gets a notification with an error about the topic being locked or removed

    What if you need to move an incoming mail to another category/department?

    Solution: always accept discourse+{key}@domain.ext mails if the original topic exists and is not locked. Even when it is moved to another category. That way the conversation can continue.

    Things to consider:

    • Should the new category be set to accept anonymous mails?
    • Does it matter if the new category has an incoming mail address or not?
    • If it has an incoming mail address, the new category will have a different address of course, will that be a problem?

    Posts: 3

    Participants: 2

    Read full topic

    Comment Embed Duplicating

    $
    0
    0

    @neoian wrote:

    I am having a strange issue with the Discourse embed. Right now the embed section is showing up twice and is rendering duplicate iframes. Here is the code:

    <div id="discourse-comments"></div>
    <script type="text/javascript">
    	DiscourseEmbed = { discourseUrl: 'http://forums.MYSITE.io/',
    	topicId: 23 };
    
    	(function() {
    		var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
    		d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
    		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
    	 })();
    </script>

    Any insight as to why this may be happening would be awesome. Thanks.

    Posts: 1

    Participants: 1

    Read full topic

    Do moderators see the latest version of a flagged post when reviewing reports or the post as it was when it was flagged?

    $
    0
    0

    @Drew_Warwick wrote:

    Someone posted a personal attack in one of their posts on the Discourse forum I'm using, and I flagged it as "Inappropriate" a minute after it was posted. The post was edited shortly after and the personal attack was removed -- there is no edited pencil icon for the post since it was edited so quickly. When the moderators notice the flag in whatever backend moderation queue there is, will they see the post as it was when I flagged it, or the latest, edited version? I'm trying to figure out if I need to undo the flag (will be awkward if the moderators don't see the post as it was when I flagged it) or not.

    Posts: 3

    Participants: 3

    Read full topic

    Specialized Timeline?

    $
    0
    0

    @kegurler wrote:

    Hello everyone,

    This is my first post on Discourse.

    I want to know If it is possible to have specialized timeline for users. For instance as a user can I choose to have topics from only Feature, Howto and Plugin in my homepage, both in "latest" and "popular" sections?

    Thank you

    Posts: 2

    Participants: 2

    Read full topic

    2+ years using Discourse as an internal social network, experience coming from Socialcast

    $
    0
    0

    @DavidGNavas wrote:

    Table of contents:

    1. Discourse for our organization
    2. Discourse vs Socialcast
    3. Discourse and chat apps

    In the rainbow of Discourse :discourse: , one colour is definetly for internal network organization.

    At the beginning, it seemed difficult to adapt a "forum software" to serve the needs of an organization, but we try it and time has showed us that this software is unvaluable.

    Territorio creativo is an hybrid between consulting services and creative agency company, we help big brands on their process of digital trabsformation and we think about creative campaigns that boost their brand awareness. So we were used to traditional social network software such as Yammer or Socialcast, and it was difficult to convince our entire org. to the advantages of Discourse.

    But we analyze and discovered that information inside the org is not about profiles posting in walls to obtain likes, but creating discussion topics around which people show their interest. More about "this week we talk about this interesting threads" than posting updates in a chaotic timeline without categories.
    Too better organizing content about categories in wich some groups could be interested and give freedom to each person to choose it than divide everything in groups. Why force anybody to be in a separated place? Let it choose their interests! A consultant could be interested in the best ads of the month and a copywriter may read about analytics web tools.

    Now we can say that we have the best tool to communicate internally. Notifications, integrated emails, emedded content, fast interaction...
    In fact we have written a bunch of posts in our blog about the advantages of Discourse :slight_smile:

    :arrow_up:

    Discourse vs Socialcast

    If someone is curious about how was our thinking about pros & cons between Discourse and Socialcast, here we go:

    As mentioned above, Socialcast it's like a Facebook for work collaboration, this means that it replicates the "timeline" paradigm. What's the problem with "timeline paradigm"?

    We tested it and verified that it's inefficient managing conversations for four reasons:

    • Reading
      • In a unique view, the volume of posts and open threads results difficult to attend.
      • The divergence of interest to the first posts only for be recent generates an unsatisfying experience for users in terms of lack of control about what's important for them.
    • Posting
      The user by his doubts about if share or not share some info because it doesn't know if will be interesting for his coworkers, is in a dilemma with two options:

      • He shares it and contribute to a chaotic volume of posts without category
      • He doesn't share it for fear to mess the timeline and the organization lose the info.

    So, it's critical to organize conversations around categories in order to facilitate the info flow between users, coworkers more engaged and incentive participation:

    • Categories empower users to decide what they want to read first and to what pay attention depend on the topic and his level of notification.
    • Categories increase participation because topics are more specific and it someone want to post some that he doesn't know what category it belongs, he can post in Offtopic category until some other admin or power user categorize the topic.

    You can say, ok, we can use "tags" but "tags" are horrible for users to categorize. In addition, Socialcast doesn't offer the great features of notification levels Discourse have (unread tab, new tab, unread count, notifications...). Categories for the win! (and tags plugin to complement the info :wink:

    At this point, we can agree that all we need for social internal network is a forum... but what is the best forum software in the world, ever? We have already mentioned :wink:

    :arrow_up:

    Discourse and chat apps like Slack or Skype

    We already know that Discourse is our best choice since late 2013, but it doesn't mean that sometimes we have some problems in our internal communication. One of this problems is the abuse of chat apps like Slack (nowadays we use Skype but some groups are already trying Slack). Why do our coworkers sometings writing too many in chat apps instead in our great Discourse instance for internal communication?

    They felt conversation there more "real time", "instant", ok. But when someone use this argument to use chat when the topic should go to the forum it's because he doesn't realize that it will be a perjuice in the long term. If another person (or the same that created the conversation) wants to search or continue the conversation another day, it will find many difficulties.

    So even now we have to teach the concept of asynchrony to understand that in chat apps you almost require the attention of some people at the moment, and perhaps disturbing them because is a conversation near synchrony on time; but in our social network the conversation will be asynchronus, mean that anyone can responde/continue/search the conversation when they want, better for the org. in the long term.

    We can use both of tools, but we have to aware about the cases in which it's better to use what of them.

    :arrow_up:

    Posts: 1

    Participants: 1

    Read full topic

    Changing discourse route

    $
    0
    0

    @Steve_Ng wrote:

    Hi,

    By default /latest goes to the latest discussion forum.

    Is there any chance that I could set /discussions and it goes to /latest route too?

    Regards,
    Steve

    Posts: 2

    Participants: 2

    Read full topic

    Notify me of likes received starting from N likes, or switch off entirely (personal user setting)

    $
    0
    0

    @meglio wrote:

    These "received like" notifications are sometimes tiring.

    Currently, I only get a notification upon receiving a first like. Achieving a single like for a message is not really interesting. It is often given by the same person with which you're talking in the topic, and you just ping-pong likes to each other, sometimes without thinking too much whether you should click the heart icon really or not.

    It might be interesting to try out a personal setting that would allow me to switch off "received like" notifications entirely, or show them to me starting from N likes. I'd try N = 2 or 3 to improve my experience.

    Getting a notification for a single like is pretty engaging for novices, but when you live with the forum for a year or two, you may lose your interest in seeing those "first like" notifications. It means, well, not so much anymore. That's why the proposed way to do it is via personal settings rather than a site-wide setting.

    ... and if you're a really great write and often receive multiple likes, more then 10, then you'd probably switch this notification at all and just get notified upon receiving a "good topic" or a "good post" badge (10x likes).

    Posts: 6

    Participants: 4

    Read full topic


    Unable to delete spammer

    $
    0
    0

    @jomaxro wrote:

    Both myself and another moderator at Stonehearth are unable to delete a spammer from the flag interface. Received the following two errors in console:

    PUT http://discourse.stonehearth.net/users/clian/emails.json 403 (Forbidden)
    ne.cors.t.crossDomain.send @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:5
    ae.extend.ajax @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:5
    s @ _application-7ead19090cda39d75136d3f9b0417b96.js:112
    _ @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:43741
    h @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:45369
    Discourse.Ajax.Em.Mixin.create.ajax @ _application-7ead19090cda39d75136d3f9b0417b96.js:128
    v.extend.m.value @ _application-7ead19090cda39d75136d3f9b0417b96.js:26362
    Discourse.User.extend.deleteAsSpammer @ _admin-da96adc86fa1f553a72fe031124130c8.js:2225
    Discourse.Route.extend.actions.deleteSpammer @ _application-7ead19090cda39d75136d3f9b0417b96.js:89002
    C @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:23031
    u @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:43252
    l.trigger @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:41976
    c.default.extend.send @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:22529
    r.Mixin.create.send @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:26446
    (anonymous function) @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:17662
    a.run @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:231
    u @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:15102
    s.default.registeredActions.(anonymous function).handler @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:17660
    (anonymous function) @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:34998
    ae.event.dispatch @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:4
    v.handle @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:4

    Error: Forbidden
        at s (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:25982)
        at Object.e.default.trigger (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:44371)
        at h._onerror (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:45385)
        at f (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:43616)
        at _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:25967
        at r.invoke (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:885)
        at Object.r.flush (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:950)
        at Object.n.flush (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:755)
        at Object.a.end (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:180)
        at Object.a.run (_ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:235)
    s @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:26005
    e.default.trigger @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:44371
    h._onerror @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:45385
    f @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:43616
    (anonymous function) @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:25967
    r.invoke @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:885
    r.flush @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:950
    n.flush @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:755
    a.end @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:180
    a.run @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:235
    u @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:15102
    n.error @ _application-7ead19090cda39d75136d3f9b0417b96.js:92
    l @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
    c.fireWith @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:3
    n @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:5
    (anonymous function) @ _ember_jquery-37c15254b70c40ceb7888cb7248c79d6.js:5

    Posts: 6

    Participants: 2

    Read full topic

    No activation email - Digitalocean + Amazon SES

    $
    0
    0

    @raman2572 wrote:

    Hi all,
    I just installed Discourse on DigitalOcean (2GB) using their one click install stack. I provided Amazon SES SMTP credentials during installation. Am I doing anything wrong, as Amazon SES is working fine on another project that too on DigitalOcean (Sendy).

    Am I missing something ?

    Help

    Posts: 2

    Participants: 2

    Read full topic

    The ideal GSoC applicant

    $
    0
    0

    @erlend_sh wrote:

    This is our first year participating in Google Summer of Code. In short, if you're a student with some Rails & Ember skills, you should check out our GSoC profile and consider applying for a chance to do paid work on Discourse under the mentorship of the core team this summer. We’ll be taking applications during 14. – 25. of March. With that out of the way, we’d like to take a moment to explain what we’re looking for in a GSoC student.


    This topic is for comments on the original blog entry at: http://blog.discourse.org/2016/03/the-ideal-gsoc-applicant/

    Posts: 3

    Participants: 3

    Read full topic

    Post.where() causing 500 error

    $
    0
    0

    @Andrew_Byrne wrote:

    Noooob question (2 days ruby experience :wink:
    I have a plugin almost doing what I want but have a hang up here:

     posts = Post.where('user_id = ? and post_number = ?', params["uid"], params["tid"])
    		      .order(created_at: :desc)
    		      .limit(params["total"])

    I've tried a number of versions. but they all case errors .
    It feels more like a query issues than syntax but I bow before the experts edu-mecate me.

    Posts: 8

    Participants: 3

    Read full topic

    Extended / dependent drop-down list for sign-up?

    $
    0
    0

    @terraboss wrote:

    I'm looking for something like this:

    Otherwise, I won't read such gigantic list, to provide additional information of myself as a new user.

    Another – better way – would be, to work with conditional drop-down lists: The first choice inside the first field would limit the entries to the relevant ones at the second field.

    Is something like that possible for customized user fields?

    Thank yo all in advance

    Posts: 1

    Participants: 1

    Read full topic

    Viewing all 60739 articles
    Browse latest View live




    Latest Images