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

Can I hide a category from the Latest page?

$
0
0

Lowell Heddings wrote:

I would like to hide my Computer Help category from the Latest page, and add an option to the navigation menu to quickly jump straight to that category.

At some point on some topic I remember hearing that we can hide Meta posts this way, so I'm wondering if we can do this with another category.

Posts: 21

Participants: 9

Read full topic


How to set up image uploads to S3?

$
0
0

Régis Hanol 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

Posts: 15

Participants: 6

Read full topic

Store secret token in redis

$
0
0

Michael Brown wrote:

Continuing the discussion from Custom change can't update forum?:

I tossed an idea around internally a little while ago. Rather than having the token in an external file it should be in redis.

When an app server starts up:

  • if not running in production
    • use the predetermined secret
  • else we are in production
    • get secret key from redis
    • if no secret key in redis, generate and store in redis

That REMOVES steps from installation and makes synchronization of the secret automatic across app servers. Yay for simpler installation.

If the secret is somehow leaked, it can be regenerated by a rake task / message bus notication / manually.

Posts: 14

Participants: 5

Read full topic

Mail settings in aws/bitnami

$
0
0

Erwin NH wrote:

I'm following the the mandrill/discourse instructions to set up the mail settings for my bitnami/aws instance. I'm not having much luck. I'm trying to put the etc/postfix/sasl password file into the folder with my mandrill smtp information but filezilla is telling me

Error:	/etc/postfix/sasl/sasl_password.txt: open for write: permission denied
Error:	File transfer failed.

What did I miss?

Posts: 1

Participants: 1

Read full topic

Link and stats to see all posts in Categories page

Discourse user "birthday"

$
0
0

Ronteras wrote:

Continuing the discussion from It there user's birthday in user profile?:

What about having an option to show the "birthday" of the user which counts year(s) from the registration date and sends the automated happy discourse birthday message to the user?

Posts: 2

Participants: 2

Read full topic

Invite Limiting

$
0
0

Google Warriors wrote:

Would be nice if the invite system was a bit more flexible. The ability to adjust amount of invites available to users maybe per trust level would be awesome. Similar to the way some of the private trackers handle things.

As it stands right now I don't see any way to limit the invites a person can send once they are a member.

Posts: 2

Participants: 2

Read full topic

Help text on num_flags_to_block_new_user settings seems little ambiguous


Integrate Olark into Discourse (How to - Solved)

$
0
0

Watchman Monitoring wrote:

Continuing the discussion from How to get current user?:

Not entirely sure where this goes, but here it is:

I was able to get Olark running on our site with the following steps:

I went to https://[my_discourse_url]/admin/site_contents/head and pasted in the stock Olark code.

That worked fine, and if I wasn't interested in more, I could stop there.

However, I wanted to know who I might be chatting with in our forum. The .
I went to https://[my_discourse_url]/admin/site_contents//bottom

and added this snippet which allows me to see who I might be chatting with:

<script type="text/javascript">

if (Discourse.User.currentProp != "")  {
    olark('api.visitor.updateFullName', {
        fullName: Discourse.User.currentProp("username")
    });
    }
</script>

This is working for me, I wanted to post it for others to potentially use.

Posts: 3

Participants: 2

Read full topic

Markdown swallowing first leading spaces in preformatted block

Discourse should render LaTeX

$
0
0

Why not? wrote:

LaTeX support should be easy to implement using MathJax.

IMHO this should be an official plugin (but maybe disabled by default).

If you agree, Like this post.

Posts: 28

Participants: 11

Read full topic

Invite existing user to a topic

$
0
0

Watchman Monitoring wrote:

I'd like to be able to point out a current member to a forum post. I assumed that "Invite Friends to Reply" would be a good way to do this, but apparently I can't enter an existing forum members address.

Is there a better way? Could the Invite Friends button be relaxed a bit?

Posts: 5

Participants: 3

Read full topic

Email settings in admin panel not accessible

$
0
0

Erwin NH wrote:

I've just activated an instance on AWS / Bitnami, but when I log into the admin panel, the email settings are fixed. Are those supposed to be editable? It is an older version (0.9.6.3) so I'll attempt to update it tomorrow, is that the issue?

Posts: 5

Participants: 3

Read full topic

In FF 26.0, horizontal scrollbar appears when scrolled to the top

$
0
0

Anton wrote:

  1. Navigate to the home page and scroll bottom a little.

  2. Enter into Create New Topic mode. Don't input any text.

  3. Hide composer panel.

  4. Navigate to the top of the page with using the vertical scrollbar.

  5. At the very top, the horizontal scrollbar unexpectedly appears: http://imageshack.us/a/img850/7540/4aur.png - It scrolls just for 5-10 pixels.

Environment: Win x64 8.1, Firefox 26.0 (zoom = 100%), Dell 2209WA 1680x1050

Posts: 3

Participants: 3

Read full topic

LDAP login into Discourse

$
0
0

Roni Baby wrote:

Can you possible to integrate LDAP login into Discourse? If possible let me know the steps
We are using Discourse in Ubuntu 12.04LTS server

Thanks
Roni

Posts: 11

Participants: 7

Read full topic


Is "Activity" too ambiguous?

Why do I need to specify a password if I register with Twitter?

$
0
0

ABiS wrote:

HI all,

first of all: discourse rocks! smile I've been running it for a few days and really liking it.

Today I noticed a friend had registered but wasn't active, I thought the email had simply gone into his spam folder and so I pinged him directly.

Indeed it was among his spam but he also raised a point I hadn't considered (since I hadn't tried logging in via twitter as he did): he told me he wasn't even expecting an email since he registered using twitter and "in general if I sign in via twitter or gapps I dont want to set a password with you too"

Thoughts? Thanks!

Posts: 6

Participants: 3

Read full topic

Bluepill not working 100%

$
0
0

Brentley Jones wrote:

Usually when I run "bluepill stop", but sometimes "bluepill start" (if stop works), I get the following hang/output:

discourse@test:~/discourse$ bluepill start
Retry 1 of 5
Retry 2 of 5
Retry 3 of 5
Retry 4 of 5
Socket Timeout: Server may not be responding

The server starts for bluepill start, but bluepill stop does not end up stopping the server. I usually have to kill all the processes instead cry

If I interrupt it I usually get output similar to the following:

discourse@test:~/discourse/config$ bluepill stop
^C/usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:22:in `read': Interrupt
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:22:in `block (3 levels) in client_command'
	from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:20:in `block (2 levels) in client_command'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:12:in `open'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:12:in `client'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:19:in `block in client_command'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:17:in `times'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/socket.rb:17:in `client_command'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/controller.rb:113:in `verify_version!'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/controller.rb:64:in `send_to_daemon'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/lib/bluepill/controller.rb:29:in `handle_command'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.64/bin/bluepill:123:in `<top (required)>'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `load'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `<main>'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
	from /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'

This makes it quite difficult to update from git on a daily basis.

Posts: 43

Participants: 23

Read full topic

Sending emails each time there's a new notification

$
0
0

Tiffany Stelman wrote:

Is that an option?

Right now I know that users receive email notification each time a user replied to their thread.
However, if someone tags their name in an unrelated thread (@name) they receive notification ONLY in the forum. Also, the welcoming message is only through the website-- how do I send it via email?

Thanks!

Posts: 2

Participants: 2

Read full topic

Can't SSH in as 'discourse' user

$
0
0

Paul Apostolos wrote:

I had this all up and running fine, following the Install docs. I can log in via ssh as root and as other users, but when I log in via the 'discourse' user (I created it following the instructions in the install docs) via ssh, I don't get a bash prompt. I enter my username and password I get the welcome message and then no prompt.

I'm a bit of a newbie on Linux, but I had it all set right and I am able to access the web site created by the install just fine. That all works.

I just can't access bash as 'discourse' after successfully logging in. Any ideas on this?

Thanks!

Posts: 3

Participants: 2

Read full topic

Viewing all 60565 articles
Browse latest View live




Latest Images