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

Discourse in a Docker container


Discourse popularity. How to improve?

$
0
0

Ioann wrote:

I fell in love with Discourse at first sight. But this is an open, non-commercial (yet) product and it's highly depend on user base. It's not so large atm and I really want to know, does anyone knows the way how to make Discours easier in understanding and installing.

Tho worst thing is that 90% forum owners are using PHP, and they will leave Discourse after first steps in the installation guide.

It MUST be easier. IMHO

Posts: 6

Participants: 5

Read full topic

Brand new plugin interface

$
0
0

Sam Saffron wrote:

I have been working on a heavily simplified plugin interface so its a lot easier for people to get started with extending Discourse.

For example:

Say you wanted to extend Discourse and add Ubuntu SSO to the dialog.

Place a file called plugin.rb in the directory plugins/ubuntu_sso

###plugins/ubuntu_sso/plugin.rb

# name: discourse-ubuntu
# about: ubuntu login support for Discourse
# version: 0.1
# authors: Sam Saffron, Marco Ceppi

auth_provider :title => 'with Ubuntu',
              :authenticator => Auth::OpenIdAuthenticator.new('ubuntu','https://login.ubuntu.com', trusted: true),
              :message => 'Authenticating with Ubuntu (make sure pop up blockers are not enbaled)',
              :frame_width => 1000,   # the frame size used for the pop up window, overrides default
              :frame_height => 800

register_css <<CSS

.btn-social.ubuntu {
  background: #dd4814;
}

.btn-social.ubuntu:before {
  font-family: Ubuntu;
  content: "U";
}

CSS

Run bundle exec rake assets:precompile
Restart you services.

Done, you have working Ubuntu SSO.

This interface is still not complete, as I finalize it I will be adding more examples here.

The /plugins directory is ignored by git so you can place your extensions there safely.

Longer term plans

  1. Possibly use a Rails::Engine for greater flexibility
  2. More hooks
  3. Admin UI to enable or disable plugins (with multisite support)
  4. Central plugin repo
  5. External gem dependencies

If you are interested in extending the interface etc, let me know.

cc @marcoceppi

Posts: 62

Participants: 29

Read full topic

A user page, but for a group

$
0
0

Jeff Atwood wrote:

The Blizzard "highlight all the posts from official Blizzard folks" forums feature has been a common request here, from @bp_ and others.

So I thought, we have

https://meta.discourse.org/users/codinghorror/activity

So why can't we have

https://meta.discourse.org/groups/discourse-team/activity

which would show all activity from the official Discourse team, for example -- or any other named group in Discourse?

The page could be a lot simpler than the user page, with these subtabs:

  • simple flat list of recent posts by any member of the group (default)

  • online state of each group member (last seen time)

... and some of the other features from the user page, but just the essentials.

That would answer a lot of requests for the "Blizzard tracker" feature right off the bat. And it makes sense that a group would have a public page just like a user does, too.

Posts: 5

Participants: 3

Read full topic

Cross domain rules, followed?

$
0
0

Abhishek Gupta wrote:

So, i use this page to gather information and post a new topic in my instance of discourse smile

Page: http://awake-gaming.com/join-us.htmlForums: http://forums.awake-gaming.com/

It is working fine. But when i took a look at console, i got this :

Although in discourse.conf , under conf.d in nginx directory i have

add_header Access-Control-Allow-Origin "*" ;

But still the error, yes, the post is created in forums, but is this a bug in chrome? or in discorse?

I restarted nginx after adding those lines, is that enough? do i need to compile headers?

Link to question on serverfault : http://serverfault.com/questions/568308/how-to-setup-cross-domain-rules-in-discourse

Question on SO : http://stackoverflow.com/questions/21484408/add-access-control-allow-origin-in-nginx-discourse-conf

Posts: 19

Participants: 4

Read full topic

502 Bad gateway

$
0
0

Tarık wrote:

Hi all;
i am getting bad gateway error and i think i lost my concentration so i need your help on this.

this is my nginx error log

2013/04/16 13:08:13 [error] 788#0: *20 connect() to unix:///var/www/discourse/tmp/sockets/thin.1.sock failed (111: Connection refused) while connecting to upstream, client: x.x.x.x, server: localhost, request: "GET / HTTP/1.1", upstream: "http://unix:///var/www/discourse/tmp/sockets/thin.1.sock:/", host: "xxxxxxx.xxx"

any ideas please
i am going crazy

Posts: 24

Participants: 11

Read full topic

How to replace the IP address from the email notifications with the domain name

$
0
0

Mihai Barbulescu wrote:

The email notifications have an IP address (I think a local IP) instead of the domain name( e.g. www.example.com ) set . I'm wondering how can we change that (e.g. 127.7.28.130/invites/c0ac24f20e404f437509f994b0458345 ) . I already set company_domain .

Posts: 10

Participants: 7

Read full topic

Specify the category by name or number?

$
0
0

Watchman Monitoring wrote:

My Wordpress / discourse bridge is working, but posts don't go into the right category.

Should I be specifying a category number? and if so, is there's a way to determine the category without diving into the database?

Posts: 8

Participants: 2

Read full topic


URL shortening service support

Fixing the Windows Shared Folder problem

$
0
0

Erwin NH wrote:

Referring to this thread: https://meta.discourse.org/t/development-mode-super-slow/2179/6?u=erwinnh

I am attempting to follow the instructions provided here to get away from my shared folders in Windows. But, full disclosure, I really don't understand this process.

Try just copying everything from /vagrant into a local folder (I use ~/vagrant), then running it again.

For my development, I keep two aliases in my .zshrc:

alias sin="rsync -a --delete /vagrant ~"
alias sout="rsync -a --delete ~/vagrant /"

Can anyone explain what ^ this means? I don't have a /vagrant folder.

Posts: 7

Participants: 3

Read full topic

Please visit our Discourse Forum! (Directory)

$
0
0

F. Randall Farmer wrote:

I know I'd like to visit various new Discourse servers once in awhile as they come up. As you'd like a visitor or two, please post your URL here and a description of the purpose of your site and any other notes...

Posts: 76

Participants: 59

Read full topic

The system user needs a cool avatar

$
0
0

Kane York wrote:

Currently, the system user's avatar is this:

(note - I had to add a hack to get that to onebox - I added &x=.png to the end of the URL. pencil that down as a bug)

I think it would be cool if we could come up with some themed avatar for the system user.

Thoughts, ideas, specific images?

wrenchwrenchwrench

Posts: 35

Participants: 13

Read full topic

Custom home page to discourse

$
0
0

bunjee wrote:

Greetings Discoursers,

Congratulations for what you did so far. It looks great.

I'm in the process of adding my custom home to discourse.

I'm new to Ember so I followed this cool tutorial from @eviltrout: http://eviltrout.com/2013/02/27/adding-to-discourse-part-1.html.

Added the following at the end of application_routes.js:

this.resource('home', { path: '/home' });

Created home_route.js inside app / assets / javascripts / discourse / routes.

Discourse.HomeRoute = Discourse.Route.extend({
  renderTemplate: function() {
    this.render('home');
  }
});

Created home.js.handlebars inside app / assets / javascripts / discourse / templates.

<h1>Hi</h1>

For some reason I still get 404 when accessing myDiscourse.com/home.

Does anybody know why ?

Edit: I'm using bitnami and I precompile assets with the following:

sudo ​/opt/bitnami/ruby/bin/ruby bin/rake assets:precompile RAILS_ENV=production

Thanks ♥.

Posts: 2

Participants: 2

Read full topic

Bulk topic selection UI problems

$
0
0

Kane York wrote:

  1. The wrench is in a horrible position. I don't have a suggestion for where to put it, but the current is bad.
  2. The background-color on checked rows doesn't work for some reason. https://github.com/discourse/discourse/commit/1696cde2ff7b1e20b5668c5c3509172f071aa0e2#diff-caf0a1cb28e94d61b20b99b0fbc13149R72

This CSS definitely works:

#topic-list > tbody > tr.checked:nth-child(even) {
    background-color: #F8F8C6;
}

#topic-list > tbody > tr.checked:nth-child(odd) {
    background-color: #FFFFCC;
}

Posts: 3

Participants: 2

Read full topic

Image embedding is broken


Retweet trusted users' tweets based on hashtag

$
0
0

Erlend Sogge Heggen wrote:

When I first saw @Sam's Discourse Security Guide my first thought was "so handy! has the internets been informed?"

Since it's only on Sam's Twitter feed and not the Discourse one, the answer was "only sort of".

I got to wondering how these sort of important news could be consolidated a bit more effectively. I managed to dig up an IFTTT recipe of what I was trying to achieve, but unfortunately it's outdated and I was unsuccessful at updating it.

Sooo, this ended up becoming more needy than helpful, but if someone can figure out a simple method for automatic retweeting of a specific user's specific hashtag, twitter/discourse would have all the news.

(Alternatively you could use http://grouptweet.com/, but it's expensive)

Posts: 2

Participants: 2

Read full topic

Clicking arrows in progress bar not working right

$
0
0

David McClure wrote:

seen this a few times here on meta

  • when I click the Up Arrow, it does nothing (should go to the first post)
  • when I click the Down Arrow, it goes to the first post (should go to the last post)

Posts: 6

Participants: 5

Read full topic

Photos always resize to 690px

$
0
0

Ray wrote:

The copy & paste img URL is amazing but once the user has pasted the photos, it looks like there's a slight issue in resizing them. If you observer user Carvacious, you'll see that the defacto width is 690px but after posting the photos it looks under 690px. I've then all edited photo size to 700px & it all looks fine after.

I logged out to see if the effects have settled but checking via Chrome inspector inspect element, we see that it's back to 690px width.

If I hit the edit button, it shows 700px width & the photos simultaneously show 700px width. Once a complete page refresh is hit, it's back to 690px.

Nissan IDx @ MTHQ

Posts: 3

Participants: 3

Read full topic

What about an easier styling/theming system?

$
0
0

Jeff Atwood wrote:

This would really just be a "CSS generator".

How about a page that has nice color selectors and then nicely named coloring categories, like:

  • Primary background color
  • Secondary background color
  • Tertiary background color
  • Primary text color
  • Secondary text color
  • Primary link color
  • Secondary link color
  • Button background
  • Button background hover
  • Button text
  • Button text hover
  • Last poster highlight color

It doesn't need to be super detailed or advanced or able to do everything. Let people choose the colors on that page, and then click "Generate Style" which outputs a CSS page on the pre-existing Style page which they can then apply.

Most of the hours of work in theming Discourse are "replace #fff with #333, replace link colors with orange, replace #333/other dark with #ccc/other light". Having a simple styling CSS generator would get us 80% of the way there, and then we would be able to just fine-tune the colors of things.

(this text belongs to @DanYouhon but I really wanted it here for discussion and could not wait, sorry Dan!)

Posts: 4

Participants: 3

Read full topic

Proper handling of loss of connection

$
0
0

Kane York wrote:

Currently, if you lose internet connection and try to refresh the homepage, you get stuck at a loading screen, even though the browser knows the request failed:

Would be nice if you replaced the loading spinner with a failure message.

Posts: 1

Participants: 1

Read full topic

Viewing all 60739 articles
Browse latest View live




Latest Images