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

User with iphone 4s, latest IOS, can't Reply

0
0

4 posts

Briancguy (BCHK) wrote:

We have a user on our forums that can't reply to messages from his iphone 4S with latest IOS upgrade.

Is anyone else seeing this?


Allow different locale to be set for front-end and back-end, also personally for users and admins/staff

0
0

7 posts

Anton (meglio) wrote:

This may be strange, but I personally love everything to be on English, while I need the front to be on Russian for our end users.

Actually, some of our staff will also prefer English language for back-end, but not everyone, so probably personal configuration for admins/staff in addition to global one would make sense, too.

Finally, because our country speaks both Russian and Ukrainian, I would like to make it possible for every forum user to be able to select which one fits better. And for this to work well, I'd be extremely happy to be able to select which languages are allowed to switch between for the end users (one setting) and for admins/staff (another setting).

If implemented like described above, I believe it will cover every possible scenario and preference.

RSS support for categories/topics?

0
0

69 posts

Simon (simonlmn) wrote:

As there already is some discussion about NNTP support?, what about RSS feeds for categories or single topics? As far as I know it is currently not supported.

It would be nice to subscribe to some category, especially when categories are used like here on meta. So for example a dev could subscribe to the "bug" category and can use his/her own reader to get notified of any activity.

It could also be used to integrate forum discussions into other websites without needing a special Discourse integration "plugin" in the CMS/Blog/whatever (most platforms have an RSS plugin already available).

How to set up image uploads to S3?

0
0

10 posts

Régis Hanol (zogstrip) wrote:

So, you want to use S3 to handle image uploads? Here's the definitive guide:

S3 registration

Head over to http://aws.amazon.com/s3/ and click on .

During the create account process, make sure you provide payment information, otherwise you won't be able to use S3. There's no registration fee, you will only be charged for what you use, if you exceed the free usage tier.

User creation

Creating a user account

Sign in to AWS Management Console and click on to access the AWS Identity and Access Management (IAM) console which enables you to manage access to your AWS resources.

We need to create a user account, so click on the Users link on the left handside and then the button. Type in a descriptive user name and make sure the "Generate an access key for each User" checkbox is checked.

Here's the critical step: make sure you either download the credentials or you copy and paste somewhere safe both Access Key ID and Secret Access Key values. We will need them later.

Setting permissions

Once the user is created, we need to set him permission. Select the user you've just created in the upper panel, click on the Permissions tab in the lower panel and then click the button.

In the "Manage User Permissions" popup, select the radio button and click the select button to manually enter the permission.

Type in a descriptive name for the policy and use the following piece of code as a template for your policy document:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::name-of-your-bucket",
        "arn:aws:s3:::name-of-your-bucket/*"
      ]
    }
  ]
}

Make sure you change both references to "name-of-your-bucket" with the name of the bucket you will use for your Discourse instance before applying the policy.

Discourse configuration

Now that you've properly set up S3, the final step is to configure your Discourse forum. Make sure you're logged in with an administrator account and go the Settings section in the admin panel.

Type in "S3" in the textbox on the right to display only the relevant settings:

You will need to:

  • Check the "enable_s3_uploads" checkbox to activate the feature
  • Paste in both "Access Key Id" and "Secret Access Key" in their respective text fields
  • Enter the name of the bucket you've authorized in the "s3_upload_bucket"

The "region" setting is optional and defaults to "us-east-1". You should enter the location (eg. eu-west-1, sa-east-1, etc...) that is nearest to your users for better performances.

Enjoy

That's it. From now on, all your images will be uploaded to and served from S3.

Note how you did not have to create your S3 bucket? That's because Discourse will automagically create it for you if it doesn't already exists. wink

"Mark all read" button on all New and Unread topics

0
0

11 posts

André Mestre (frag971) wrote:

Really need this button, i actively use forums.inovaestudios.com and when i go check for New or Unread topics i get dozens of topics i already read or know/visited that i have no way to get rid off that list.

So when i click on Unread i get more than 30 topics, i need to have a "Mark all read" button to mark them all as read so next time i click Unread it will show up as "Unread (0)" and have no unread topics (unless new topics are added since).

Right now i can't use that forum and have no way of finding the topics i am interested to participate in.

Chrome Javascript Error

0
0

3 posts

thepractice wrote:

Upon inspection in Chrome, I always get this javascript error whenever browsing through a Discourse site: "Error in event handler for extension.onRequest: Error: Error calling method on NPObject."

As far as I can tell, the error does not affect the front end of using the site at all. It just is a little disconcerting to "inspect" the page and see a bunch of errors in red.

Does anyone know what's causing this and if it's a problem?

Using < followed by a character hides remaining text on that line

0
0

2 posts

Vikhyat Korrapati (radq) wrote:

It looks like the HTML sanitizer interprets < followed by any non-whitespace character as an HTML tag, causing the remainder of the line to be stripped out.

This causes problems when users enter smiley faces like <_< or <3. I think it would be a good idea to replace <s with &lt; when the next character is not an alphabet before passing it to the sanitizer?

New: Attachments!

0
0

22 posts

Régis Hanol (zogstrip) wrote:

Alongside its awesome image handling, Discourse now supports attachments.

You can already try it out on try where you can upload .txt, .csv and .log files.

If you want to enable attachments on your instance, you have to update the "authorized_extensions" setting. It's pipe-separated list of all the extensions you want to allow.

For example, here's the setting used on try: .jpg|.jpeg|.png|.gif|.txt|.csv|.log.

Sidenote: the check is only done on the extension of the file. Checking the actual content/encoding/mime-type of the uploaded file will be added later.

There's 2 other settings you can customize:

  • max_attachment_size_kb: the maximum allowed size for attachments, independently of images (defaults to 1024 kB)
  • newuser_max_attachments: how many attachments a new user can add to a post (defaults to 0)

WARNING: if you change the max_attachment_size_kb, make sure you also update your web server's request limit.

On the client-side, attachments work pretty much the same as images. You can use the upload button in the composer toolbar or drag & drop multiples files in the composer to attach them to your post.

The result will be inlined in your post like so: discourse.txt(10 Bytes)

Discourse will automatically add the size of the attachment and track all the clicks.

Enjoy!


Subcategories in /categories.json

0
0

2 posts

Davd Liaw (lonehangman) wrote:

I'm not sure if this is the right category, so feel free to close/move as needed.

As per the title, it would be rather helpful for subcategory details to come in /categories.json rather than going to each categories' /show.json to fetch simple details like the category name and its text/background colour.
I'm thinking of a similar method to how relevant users can be found in a JSON Array like in /latest.json.

The reason for doing so (as sort of mentioned above) is to cut down the need to call and parse /show.json to fetch the category name and the colours. I've included a short video which demonstrates the difference between just using /categories.json and /show.json (the last post is posted in a subcategory (Video Downloads) and hence it's the example being used).

In the video the subcategory details loaded slightly faster than normal (which is strange, recorder probably skipped a few frames?) but normally it takes quite a number of seconds (enough for it to be annoyingly noticeable).

Now, this is just one post so it's not a big thing, but in the future there will be a lot more posts and scrolling through them with quite a number 'loading' categories would seem rather annoying.

Of course this is probably a bit nit-picky and is probably on the roadmap already (since it sort of already looks like it'll be added in the future), but it'll be really helpful to both myself and anyone else facing a similar sort of thing when dealing with subcategories.

Moved posts should link back to the original thread

0
0

2 posts

Rikki Tooley (haiku) wrote:

When I move posts to another thread I get this:

But on the posts I moved there's no link-back... making it look like (to the untrained user) posts are out of order due to the post times. A link back would clarify that these posts were moved in.

How to delete a user?

0
0

22 posts

Nowindlee (nowindlee) wrote:

How to delete a user completely? There are some testing users who registered, and I want to remove them.

What to do with the forumadmin account

0
0

3 posts

Jonathan Allard (joallard) wrote:

I've just installed Discourse in production and I don't really know what to do with the forumadmin account. Is this more like a system account that's used eg. for announcements and publically, auto-message new members, or is this just a regular account meant to rename?

In practical terms, should I rename the account to myself and start using it, or should I give it a password and leave it there for administration purposes? I'm not sure.

Parsing issues when using GitHub style markdown for code blocks

0
0

3 posts

Aahan Krish (aahank) wrote:

I'll let this example speak for itself. When wrapping code blocks with a pair of 3 backticks:

 in a comment
Blah, Blah, Blah!
Blah, Blah, Blah!

When using 4-space indentation for code blocks:

# Here's `something between backticks` in a comment
Blah, Blah, Blah!
Blah, Blah, Blah!

The latter is the way the code block is supposed to look like. Isn't this a bug @eviltrout?

Discourse, Ember & SEO

0
0

3 posts

pergunta wrote:

Hi,

I'm wondering how does Discourse handles/plans to handle the SEO problem, since you're building on top of a fully(?) ajax interface?

cheers!

Blank white page after Discourse upgrade

0
0

16 posts

Danielle Jenkins (mynt1011) wrote:

I tried upgrading discourse using this guide. However, I after I finished I couldn't get anything to load. Nginx is running and everything configured properly as far as I can see, but when I try to load the page it is just blank white. I really don't know what to do. I've been messing with it for hours. I tried restoring by copying a backup of the discourse directory and a backup of the postgres db, but I still get the same blank screen. Please help.


Attachments saved in Amazon S3 broken in 0.9.7.5

0
0

17 posts

Steve Baer (stevebaer) wrote:

I just updated our discourse from 0.9.7.2 to 0.9.7.5 at http://discourse.mcneel.com and now all attachments are not working. We are getting the following error message


(hmm... at least attachments are currently working at meta.discourse smile

Should I update to HEAD on git or is there a configuration setting I need to change. Attachments have been working for months for us and I haven't really changed anything with respect to our discourse configuration; only updating when a new release is available.

Losing assets(pictures)

0
0

megas wrote:

When I deploying new version to server I'm losing pictures that were added after previous deploy, the assets pipeline removing them like it expired pictures.

I'm assuming that's because of local assets tag, while deploying it sets to that tag and removing everything else.

How to fix this situation? Thanks

Posts: 1

Participants: 1

Read full topic

How to add custom code between 'head' (HTML) tags?

0
0

Aahan Krish wrote:

From this document it's clear that the "Customize" section in the Administrative console allows for inserting custom HTML header into the "Header" section.

But I noticed that the code is being added after the <body> tag and not between the <head> tags, which is what I am looking to do.

So, what would be a good way to add custom code between the <head> tags? To give you a perspective, this is the code I am trying to add:

<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro:400,700|Source+Sans+Pro:400,400italic,700,700italic' rel='stylesheet' type='text/css'>

Posts: 10

Participants: 5

Read full topic

Log in or Log out and discourse just hangs and is unavailable for about 5 minutes

0
0

Jim Effinger wrote:

I have the Linux Discourse Stack on Ubuntu 12 desktop 64 bit
if a user logs in or logs out or creates a new account, everything just hangs for a while.
This doesn't seem to be a problem if you disable cookies in the browser.

commentsdisabled is my dot-com if you want to see what I'm talking about.

Any server side ideas?

Jim

Posts: 1

Participants: 1

Read full topic

How to change date and time format?

0
0

raly wrote:

In China, we'd like to put YEAR first, MONTH second, and DAY last, for example: 2013 年 11 月 1 日.

I tried modifying the server.zh_CN.yml, recompiling the assets and restarting the forum, but there was no difference. Is there anything else I should do?

The modified server.zh_CN.yml:

zh_CN:
  dates:
    short_date_no_year: "MMM D日"
    short_date: "YYYY年 MMM D日"
    long_date: "YYYY年 MMM D日 h:mma"
  time:
    formats:
      short: "%m-%d-%Y"
      short_no_year: "%B %-d"
      date_only: "%b %-d, %Y"
...

Posts: 8

Participants: 5

Read full topic

Viewing all 60309 articles
Browse latest View live




Latest Images