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

Can't run my Discourse locally

$
0
0

@stevenpslade wrote:

I go rails c then I get this...

URGENT: could not connect to server: No such file or directory
	Is the server running locally and accepting
	connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
 Failed to initialize site default

And then opening localhost:3000 I see:

PG::ConnectionBad at /
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

The problem is new and I have run my local Discourse fine before.

Posts: 18

Participants: 4

Read full topic


Heart badge icons on user profiles shouldn't be pink

$
0
0

@gerhard wrote:

Steps to reproduce
Visit the profile of a user who earned one of the new Like-related badges and take a look at the Badges section (e.g. sam's badges)

Expected result
The icon color of all the new badges should be bronze, silver or gold.

Actual result
All the new badge icons are pink. :heart_eyes:

Posts: 10

Participants: 6

Read full topic

SEO - Google optimisation through webmaster

$
0
0

@Ben_Hodgson wrote:

Hi guys,

So I'm used to working with the apache web server layout, but this is new to me!

I'd like to optimize my community by complying with Google's checklist on google/webmasters.
This includes:

  • Adding a site map

  • Providing structured data by adding HTML markup to my site's pages

If anyone has already done this, or is able to help me with this - I'd appreciate it!

One last thing.. I also want to edit the .htaccess file, if there is one! I want to make it so that my site complies with SSL connections, so that chrome stops moaning at potential visitors and scaring them away due to "not being secure".

Cheers, people!

Posts: 6

Participants: 3

Read full topic

post_timings is how long people spent "reading" a post?

$
0
0

@pfaffman wrote:

I'm a college professor working on a script to grade student's contributions to discussions. I see that avg_time is the logarithmic mean of post_timings.msec. When I look at data in post_timings.msec, I see that sometimes read times are on the order of 15 minutes. I guess that means that someone opened the page and went and did something else for a while? And I guess this is why we take the geometric mean.

I also wonder what effect it might have to publish post scores would be. If anyone's interested, here's how they are calculated.

Posts: 1

Participants: 1

Read full topic

Pinned & Unpinned Topics

$
0
0

@Swang007 wrote:

Our instance currently has many pinned topics, but I've unpinned some of them for myself, meaning they're still pinned for others. Is there a quick and easy way to re-pin every topic that I've unpinned under my account to see which topics are currently pinned for everyone?

Posts: 5

Participants: 4

Read full topic

Updating Discourse Plugins, taking the first step

$
0
0

@stevenpslade wrote:

I have to fully read the new plugin api format but my first problem actually has to do with this error:

The discourse/components/post-menu object has been removed from Discourse and your plugin needs to be updated.

PostMenu is a pretty important one and as far as I can tell does exist upon searching the Discourse repo on github. This is what is in the plugin:

import PostMenu from 'discourse/components/post-menu';
import StringBuffer from 'discourse/mixins/string-buffer';
import { iconHTML } from 'discourse/helpers/fa-icon';
import ComposerController from 'discourse/controllers/composer';

...some code inbetween....

  PostMenu.reopen({
    buttonForLike() {
      const likeAction = this.get('post.likeAction');
      if (!likeAction) { return; }
      var className = likeAction.get('acted') ? 'has-like fade-out' : 'like';
      var uId = Discourse.User.current().id;

      if (uId%2 == 0) className+= " custom-like"

      const opts = {className: className};

      if (likeAction.get('canToggle')) {
        const descKey = likeAction.get('acted') ? 'post.controls.undo_like' : 'post.controls.like';
        return new Button('like', descKey, 'heart', opts);
      } else if (likeAction.get('acted')) {
        opts.disabled = true;
        return new Button('like', 'post.controls.has_liked', 'heart', opts);
      }
    }
  });

Is there no more PostMenu component?

Posts: 4

Participants: 2

Read full topic

Suggestion: look at openshift free tier

$
0
0

@Fabio_Machado_de_Oli wrote:

I know it's been mentioned before, but I think it was not discussed on enough detail.

While openshift free tier doesn't offer Docker, they give 3 "gears" in their free plan, and each one of them has 512MB of memory.

It should be possible to make Discourse run distributing it's components between these 3 gears, like one for each database and another for rails, or something like that. It wouldn't be easy to do, because it's "cartridges" for rails and the databases are probably not the correct version asked by Discourse, and you can't install arbitrary stuff on the server, that is also redhat based.

If anyone with much more time than money available is looking for a free way to host a small Discourse instance, I think it's worth looking further. Did anyone try it?

Posts: 1

Participants: 1

Read full topic

Header bar got drunk on Firefox


What are the risks of enabling Cross-origin resource sharing (DISCOURSE_ENABLE_CORS)

$
0
0

@meglio wrote:

So, there is a way to allow JS API requests from domains other than where you Discourse is hosted.

For example, you'd like to embed a topic list that is a result of search by some criteria - and you want to do it with JavaScript only, making it call your Discourse's API.

For this to work, you'll need to enable Cross-origin resource sharing:

For a multi-site setup, you can also use a per-instance setting:

(...see more here)


Now The Question

Are there ANY risks by enabling it?

Be it tiny, small, medium or large, may you elaborate please - which are the risks, drawbacks or other negative sides of enabling cross-origins for a particular domain.

Posts: 5

Participants: 2

Read full topic

Broken links in categories page

$
0
0

@Hector wrote:

In the categories page, the time of the last post is a link but it's broken. On mobile the number of replies is shown and is a link and is also broken.

Posts: 5

Participants: 3

Read full topic

Discourse with Otaku :heart:

$
0
0

@Alankrit_Choudh wrote:

So I came to know about discourse around 2013 end. There is a saying that first impression is always important. Without a doubt I loved the simplicity of discourse, yet so versatile!
At first I was eager to try it so I launched a gaming community without much planning and thinking. Unfortunately didn't work out that well, so had move ahead with the closure. Later on after deep thinking and planning I got this idea of starting an otaku community. As I have some buddies who where interested in it.
I moved ahead with discourse again. Here is why.

  • Simplicity
  • highly customizable
  • up to date with cool features.
  • mobile friendly.
  • super fast.
    .... 20 points more ( typing this with a mobile :frowning: )


Thanks to the #howto I was able to migrate to
.MOE DOMAIN without any issue. Plus add letsencrypt SSL.

https://discuss.moe

Thanks to the contributors and the discourse team for this awesome community Platform.

Posts: 1

Participants: 1

Read full topic

User blocked for no apparent reason

$
0
0

@jomaxro wrote:

So..the other day (well, 14 days ago, but I forgot...) we noticed that a user on Stonehearth was blocked, and we can't figure out why! For the Discourse devs, here is the PM where we discussed the randomly blocked user:
http://discourse.stonehearth.net/t/did-anyone-block-a-user-lately/20556?u=jomaxro

Both moderators (myself and @8bitcrab) and admins (@sdee and @brad) on the site checked the logs, and we confirmed on Slack that no-one initiated the block manually. No posts appeared for approval or in Akismet. Can you check why the user was blocked please?

Posts: 5

Participants: 4

Read full topic

Forum view changes

Mark Rosewater's 20 lessons from 20 years of MtG

$
0
0

@riking wrote:

I think that these 20 lessons are quite relevant to Discourse's design and development.

  1. Fighting against human nature is a losing battle
  2. Aesthetics matter
  3. Resonance is important
  4. Make use of piggybacking
  5. Don't confuse 'interesting' with 'fun'
  6. Understand what emotion your game is trying to invoke
  7. Allow the player the ability to make the game personal
  8. The details are where the players fall in love with the game
  9. Allow your players to have a sense of ownership
  10. Leave room for the player to explore
  11. If everyone likes your game, but no one loves it, it will fail
  12. Don't design to prove you can do something
  13. Make the fun part also the correct strategy to win
  14. Don't be afraid to be blunt
  15. Design the component for the audience it's intended for
  16. Be afraid of boring your players more than challenging them
  17. You don't have to change much to change everything
  18. Restrictions breed creativity
  19. Your audience is good at recognizing problems and bad at solving them
  20. All the lessons connect

There were several times when transcribing that list that I wanted to bold an item, but I restrained myself. #20 really says all that's needed in that respect.


In the realm of Discourse-specific, many of these just straight-out work if you replace "game" with "product" and "player" with "user".

Number 7 - with trust levels, the forum participants are allowed to take a moderate role in the moderation of the forum, which helps instill a sense of ownership, of "our" community.

Number 19 - the first post's recommended solution on Meta is pretty much always not the correct route, but there is a real problem there

Number 5, Number 18 - freeform tagging.

There are more parallels, but I'll let you think about them on your own :slight_smile:

Posts: 5

Participants: 5

Read full topic

`vagrant up` not from command line?

$
0
0

@GaurangTandon wrote:

So, I have to download, as per official discourse development guide, vagrant software and then, run vagrant up in the git shell opened from the github desktop client for dicourse's master branch. My question is I get something like this:

The problem is that my internet connection is not very good and it automatically reboots every 2 hours or so. It's speed is also not very fast. So, trying to download vagrant through cmd is hopeless. I have already failed a dozen times. That's why I use Free Download Manager for big downloads like this one.

My question is: How can I download that .box file and complete all tasks that vagrant up does without using cmd?

I looked at https://meta.discourse.org/t/solved-the-connection-was-reset-with-discourse-vagrant/34284 but it was about some bundle exec rails s command (and it's closed so I can't respond there) and I looked at https://github.com/discourse/discourse/blob/master/docs/VAGRANT.md#using-vagrant but it too provided no help.

I can download the discourse-vms.s3.amazonaws.com/discourse-1.3.0.box using FDM but I don't know which folder to put it inside and what else to do (which vagrant up does), for which I need guidance.

Posts: 7

Participants: 2

Read full topic


Flag Immunity for Pinned or Leader topics?

$
0
0

@Sixaxis wrote:

Hello!

First I'd like to say I love the way Discourse is set up; a forum that's both advanced in features/design and simplistic for its users. I lurked around here for quite awhile before laziness stopped preventing me from making an account.

Now, with that said, the forum isn't without its faults. I looked around, and unless I'm missing something, there doesn't seem to be a way to prevent a thread from being closed down from hitting the flag threshold-- even if the thread is made by a TL4/Leader user. This is really inconvenient for large communities where 'disagreements' are more likely to occur.

This is a recent example (And not the only instance of it):

^A poll was made to vote on 3 options, and gamers being typical gamers, look at "opinions" as something offensive which eventually results in users flagging posts. That in turn resulted in the thread being locked 3 times from community flags, which in turn actually prevented the Poll in the first post from even being voted on until it was re-opened by Staff.

If there was an option for TL4+ users to give a thread 'flag immunity' when creating/editing it, this could prevent a lot of headache.

Thank you for the forum, and thank you for your time.

Posts: 1

Participants: 1

Read full topic

Feasible to move autosize library to 'discourse/lib'?

$
0
0

@angus wrote:

@eviltrout Would it be feasible to move the useful autosize library you wrote from admin/lib to discourse/lib? I've come across it working on Quick Messages and would prefer to use a working existing solution in the project over a 3rd party, or my own, solution. DivResizer doesn't quite fit the purposes of a smaller chat textarea that does not occupy most of the composer.

The problem is that admin code is not available to clients where the user is not an admin (i.e. if a non-admin user's client tries to import a module from admin/lib, it is unable to find it; I'm assuming this is by design for security purposes). The desire to autosize a textarea is relatively common, so it's possible others may find it useful in the future as well.

Posts: 1

Participants: 1

Read full topic

Some plugins not working after upgrade

$
0
0

@Kovah wrote:

I recently updated Discourse from 1.4.3 to 1.4.5 and the tagging plugin stopped working. I disabled the plugin.

Now I wanted to try the Feature Voting plugin. Unfortunately I didn't know it only works with Discourse 1.5 beta. I also disabled the plugin after errors showed up.

Now I updated my Discourse instance from 1.4.7 to 1.5.0.beta13b and re-enabled the two plugins.

The problem: both plugins show up in the plugin settings and I can configure them but it seems the plugins are only loaded for the admin section.
Whenever I want to add tags to a topic the tag bar does not show up and I also can't enable the feature voting for categories because the option is simply missing. It's like the plugins are not enabled.

Is there something like a plugin cache that got corrupted while trying both plugins with 1.4.5? Or any other cache that may lead to this weird behaviour?


Steps I already tried:

  • Rebuilding the app (maybe 10 times or more with different settings in the app.yaml)
  • Deleting the plugin directories from /var/www/discourse/plugins and rebuilding the app
  • Turning the plugins off and on again in the settings

Other activated plugins:

  • discourse/discourse-solved
  • ligthyear/discourse-plugin-checklist
  • Jake-Shadle/discourse_jira

Posts: 4

Participants: 2

Read full topic

A way to set trust level for invites

$
0
0

@ArviChan wrote:

Am wondering if there's a way to set trust level for sending invites. My discourse instance is small, private and I would like people to invite others to topics even if their trust level is 1 but currently I am unable to find a way to let them do that. Only trust level 2 and above are able to invite. In the initial stages would like let trust level 1 to invite too and then later when there are sufficient members would like to bump up the trust level to 2 to invite others to topics and site.

Posts: 3

Participants: 2

Read full topic

/search returns 500 error

$
0
0

@ErikV wrote:

On my forum and on this forum, if I go to http:// forum address /search I get a 500 error.

Any known workarounds?

Thanks!

Posts: 19

Participants: 6

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images