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

Using the profile picture from twitter

$
0
0

@Alex_Flom wrote:

Hello,

When a new user signs up with twitter/facebook is there a way to use his profile photo by default from the social network(without the need to upload the photo into discourse) ?

Thanks

Posts: 4

Participants: 3

Read full topic


How do I pass a variable from my server to the custom header?

$
0
0

@chenny408 wrote:

I am trying to replicate the header from my site into Discourse's custom header. There is a dropdown menu that requires an variable. Can I pass this variable to Discourse during SSO sign-in? if so, how do I do it?

Also, what is the best way to implement the dropdown menu in Bootstrap?

Posts: 1

Participants: 1

Read full topic

Script to increase levels is possible?

$
0
0

@Ayer31 wrote:

So I understand how discourse works because of the forum im on currently... I would really appreciate a script that allows you to level up trust levels. Do you have a resident expert I can talk to. I have the know how..im a regular user on another forum...
Ive become aware its possible and I thought it would be cool to make a sample... i know im basic here but on my home forum im regular and have no use for it. I just want to learn.
Any help would be very much appreciated. Thank You so much .

By increasing levels i mean full filling the flags and attributes of that level... To do it /crawl the forum automatically?

Maybe a tombstone that hijacks my account and goes to fullfill the reqs.. I am completely serious about seeing if this is possible.. It will not be used for trolling purposes I dislike people who do that alot

Posts: 11

Participants: 6

Read full topic

'Notify Me When' Granular User Pref Settings (for @mentions, pokes, ect)

$
0
0

@purldator wrote:

Both @mentions and pokes give a notification to someone when they are used.

However, I just had this fridge-horror realization that all the times I @mentioned Jeff or Sam, they've been getting a poke-like notification. That wasn't my intention. I am guessing that is why Sam felt he had to say something when I actually made use of @mentions to 'poke' him and Jeff to a topic before pokes became a finished feature.

I use @mentions exactly as it sounds: I want to mention them and have a dynamic http link to the user's profile in my post so others have context. It wasn't to necessarily 'poke' them too.

My only suggestion is to have @mentions be just that: a mention for context and not alert the one @mentioned with a notification. Or perhaps make it a setting in user preferences to not have notifications when one is @mentioned, but use poke instead. Or have a new feature that allows the same functions as a @mention but the only difference is it doesn't throw an immediate in-your-face notification as it does now. Or edit the notifications of a @mention to be a passive notification.

Because not everyone who sees this post isn't going to immediately know who 'Jeff and Sam' is. Even if I said codinghorror and sam, there's no link unless I manually fetched profile links that may or may-not change in the future for whatever reason and that they would have to be rebaked manually. I realized now on some level using a @mention for context all the time will only earn ire and a Mute.

EDIT: This is what I think would work to solve what I speak about:

Posts: 13

Participants: 4

Read full topic

Using Single sign-on & wp-discourse plugin

$
0
0

@franwess wrote:

Hi there, just checking if someone is using Primetime Single Sign-on (https://wordpress.org/plugins/pt-wp-discourse-sso/) with the wp-discourse plugin? Can these two co-exist happily with one another?
Thanks

Posts: 1

Participants: 1

Read full topic

Onebox-embedded thumbnails don't get resized sometimes for emails

$
0
0

@Moter8 wrote:

As you can see, this is kinda large.

It's supposed to be like this:

The movie image is 509x755 in size.

(Thread here)
(Also just noticed that avatars aren't circles in emails yet)

Posts: 2

Participants: 1

Read full topic

Is it necessary to install nginx in front of docker?

$
0
0

@doudou wrote:

As we know, nginx has installed in discourse docker,

plan 1: If you install discourse on a machine, and expose 80 port external,

plan 2: If you install discourse on a machine, and expose non 80 port external, like port 3333, then install nginx on the same host for reverse proxy to docker,

Which is better and safer?

Is it necessary to install nginx on host?

Posts: 5

Participants: 3

Read full topic

Marking *all* new topics as new?

$
0
0

@purldator wrote:

I tried searching for an answer to this but came up empty. I also put this in support because my first guess is that this feature I'm asking for already exists. Only the wording in the user-cp is confusing me.

I realize that not all new topics are marked with any kind of indicator or tag on the topic listing. I don't know if this is a bug or by design based on some configuration or even a browsing habit the forum is picking up and it is trying to serve me a ux it thinks I want.

Here's my current user-cp settings which I feel are relevant to this:

Posts: 19

Participants: 5

Read full topic


Add wp-discourse plugin to WordPress plugin directory

$
0
0

@tobiaseigen wrote:

In WordPress world, site owners find and install plugins via the wp-admin dashboard - see screenshot below. Searching for discourse pulls up only an unknown (to me) plugin called PrimeTime WordPress + Discourse SSO which then lets you install it directly or click through to learn more in the plugin library. I have no idea about this plugin and how it works or compares to wp-discourse - but I know enough about discourse to steer clear of it.

The steps to get the wp-discourse plugin are different and a little hidden/hard to find. You go to https://github.com/discourse/wp-discourse and click on the download zip button in bottom right corner. Then upload the zip via wp-admin dashboard to install.

I know there are probably good reasons for not having it in the WordPress plugin directory - mainly I'm not sure how versioning is handled. But I think we're setting ourselves up for more support requests by making the plugin that we know works well so hard to find.

Posts: 3

Participants: 3

Read full topic

Resetting password does not invalidate other sessions

$
0
0

@loopback0 wrote:

If you're logged in to multiple browsers, and trigger a password reset from one of them, after you've set the new password the other browsers remain logged in.

The better practice is to invalid any sessions established under a set of credentials when those change.

Imagine someone else compromises your account and changes your password, but your session is still active so you don't know anything's happened. If the session was invalidated once they changed it, you'd try and log back in and know straight away.

This is also inconsistent from clicking "Log Out" which does invalid the other sessions.

Posts: 2

Participants: 2

Read full topic

Show only liked posts in a thread

$
0
0

@rubo77 wrote:

It would come handy if you want to get an overview of a topic with lots of posts if you could narrow down the view to only posts that have at least one like.

Alternatively It would already help if all posts withoul likes would be shown minimized somehow, (maybe only the first line and a more-button)

How could this be implemented?

Posts: 10

Participants: 4

Read full topic

User groups view: showing categories that belong to each group

$
0
0

@terraboss wrote:

I'm hosting a a fully closed internal discourse system with a lot of user groups and each of them belongs to a single / multiple categories. My problem is, that I don't wanna lose the overview.

I'd like to see in my user groups settings / admin panel which user group has access into which category. With more than 30 categories, it sometimes get's hard to recognize all of them.

  1. Does anyone has a similar problem?
  2. Is there a spesific reason why admins couldn't get an recursive overview?
  3. Would it be hard to implement this feature?

Thank you all in advance,
Markus

Posts: 3

Participants: 2

Read full topic

Discourse+Docker+AWS - "bootstrap" talks to DB fine, "run" doesn't

$
0
0

@j00bar wrote:

Howdy!

I'm running Discourse using discourse docker on EC2 using RDS as my database. My app.yml contains all of the proper DISCOURSE_DB_* settings, and sure enough, when I ran launcher bootstrap app, everything worked just fine. However, when I run "launcher run app", I was getting 502's hitting port 80. So I connected to the container using docker exec -ti app bash - env shows all of the proper environment variables being set, but the unicorn.stderr.log is filled with:

I, [2015-04-11T23:11:12.197216 #3216]  INFO -- : Refreshing Gem list
URGENT: FATAL:  password authentication failed for user "discourse"
FATAL:  password authentication failed for user "discourse"
 Failed to initialize site default
I, [2015-04-11T23:11:18.399669 #3216]  INFO -- : listening on addr=0.0.0.0:3000 fd=9
E, [2015-04-11T23:11:18.498142 #3216] ERROR -- : FATAL:  password authentication failed for user "discourse"
FATAL:  password authentication failed for user "discourse"
 (PG::ConnectionBad)
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `new'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `connect'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:568:in `initialize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `new'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/postgresql_adapter.rb:41:in `postgresql_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:435:in `new_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:445:in `checkout_new_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:416:in `acquire_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:351:in `block in checkout'
/usr/local/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:350:in `checkout'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
/usr/local/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:541:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_handling.rb:113:in `retrieve_connection'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.9/lib/active_record/connection_handling.rb:87:in `connection'
config/unicorn.conf.rb:47:in `block in reload'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:519:in `call'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:519:in `spawn_missing_workers'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/var/www/discourse/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'

To be 100% positive, I ran psql from inside the container with $DISCOURSE_DB_HOST, $DISCOURSE_DB_USERNAME, and $DISCOURSE_DB_NAME as arguments, pasted the contented of $DISCOURSE_DB_PASSWORD into the prompt, and connected without issue.

Any thoughts or assistance would be invaluable. Thanks!

-jag

Posts: 1

Participants: 1

Read full topic

Vgrant: ohai requires Ruby version >= 2.0.0

$
0
0

@rubo77 wrote:

I tried to run discourse in a VM via the Vagrantfile: https://github.com/discourse/discourse/blob/master/Vagrantfile

After enabling Virtualization in my BIOS settings of my computer, the installation started to work fine until this error:

==> default: ERROR:  Error installing chef:
==> default:     ohai requires Ruby version >= 2.0.0.

There is this line:

config.vm.provision :shell, :inline => "apt-get -qq update && apt-get -qq -y install ruby1.9.3 build-essential && gem install chef --no-rdoc --no-ri --conservat

which seems to use ruby1.9.3, is there something wrong with the Vagrantfile?

Posts: 4

Participants: 2

Read full topic

Access discourse installation in a VM

$
0
0

@rubo77 wrote:

I managed to install discourse on Ubuntu 12.04 inside a VM with vagrant.

I used the updated Vagrantfile that works with Ruby 2.0:
github.com/rubo77/discourse/blob/bc032ffc9e5a91b267f52b33b261f8033631d301/Vagrantfile

So now: How can I access the discourse instance that is running inside the VM?

TheIP address doesen't work, the IP the VM has, when I log in: http://10.0.2.2

even inside the VM there seems to be running no service on port 80.

What am i missing?

Do I have to start services inside the VM? Or forward ports somehow?

I use 14.10 on my host. Does that matter?

Posts: 6

Participants: 2

Read full topic


Subtle composer popups

$
0
0

@Buddy wrote:

I like the idea of just-in-time usability remiders, but I feel that the current implementation is less minimal than it could be. I'll show you what I'm thinking of, but please bear in mind that I'm not a talented ui designer; this is just the simplest example that I could produce, playing around with the dev tools.

Current:

Proposed:

My feeling is that, as @codinghorror says in the article, you only want to show the minumum helpful reminder at exactly the right time; as long as you make the effects of the user's actions clear, you don't need the extra (some may say ‘nagging’) questions.

Posts: 2

Participants: 2

Read full topic

What kind of emails should new users get by default?

$
0
0

@watchmanmonitor wrote:

So.. when an account is created for a user in this fashion.. what kind of emails would people expect them to get?

If digests are one of them, could this process also set the date last visited?

Posts: 1

Participants: 1

Read full topic

Text Content preview field should render template tags

$
0
0

@erlend_sh wrote:

Dunno if "template tag" is the correct term, but here's what I'm talking about:

%{site_name} and so forth should render as how it would actually display to the user (in my case jMonkeyEngine Hub) in the preview. It is a preview after all.

I got paranoid when I saw the template tag still there; I immediately signed up a dummy user to make sure it was displaying properly.


On a related note there's also a slightly unnecessary discrepancy here between %{site_name} and title, the setting field that site_name points to. Wouldn't it be natural to call them by the same name? At the very least rename site_name to site_title?

Furthermore, all setting fields that have a corresponding template tag might as well add a little mention of it, e.g.

title - The name of this site, as used in the title tag and in %{site_name}

I could do pull requests for these if I get the OK.

Posts: 1

Participants: 1

Read full topic

ََArabic username

$
0
0

@SamiBoy wrote:

Hello
i was testing discourse and i found that the sign up form doesn't allow Arabic username
this is the message: " must only include numbers, letters and underscores"
is it possible to add this feature?

Posts: 3

Participants: 2

Read full topic

Run Discourse on localhost

$
0
0

@Maestra_Powers wrote:

Have anyone tried this? I'm not into VMs, just tried to install Ubuntu 14.04 on Oracle VirtualBox and it tottaly works. But when I log in with Putty, connection drops due Discourse install each time. I got error: "Server unexpectedly closed network connection". What's happening?

Also, will I be able to run Discourse without external IP?

Posts: 2

Participants: 2

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images