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

Feature query: User groups and categories/sub forums/discussion groups

$
0
0

scribe wrote:

Hello all,

I'm hoping someone can answer my query to see if discourse meets my requirements:

A requirement of my site is to have user groups with their own discussion areas, and they are not allowed to see other areas (or at least they must register for that area before they can).

To give a made up example; a user registers an account on my 'City Talk' site, stating their location as New York, so they are given access to the New York forum. The Chicago, LA, Miami and other city forums exist, but this user can't access them unless he/she registers for them (that could be later or at account creation).

I can provide this access control with standard forum software, but from what I've seen I don't think I can do that with discourse without having a separate instance for each forum or City in this case, and that would be....... excessive.

Can anyone comment?

Thanks in advance

Scribe

Posts: 5

Participants: 3

Read full topic


FATAL: remaining connection slots problem on Amazon RDS

$
0
0

Emil Majkowski wrote:

Hi,

I am using Amazon RDS to host Postresql and EC2 ubuntu in the same availability zone for forum hosting.
I have upgraded discourse to the newest version today.

From time to time the forum freezes and does not react on any clicks. I have to ctrl-f5 to refresh the page and then usually I see a blank page. After closing and opening a browser it seems to work fine for a while and then again...bang, same problem.

I know that it might be a configuration issue with database (db connection pooling, timeouts etc).
I checked the database server logs and I see a lot of this errors
psql: FATAL: remaining connection slots are reserved for non-replication superuser connections”

It seems to like dropping db connections and not restoring it properly after user action.

Could you please advice what configuration should I change to make the forum stable and not dropping connections?

Also, maybe it is something specific to AWS RDS service and EC2 instances? Maybe RDS drops unused connections to the DB somehow?

Thank you in advance for your help
Best,
EM

Posts: 4

Participants: 2

Read full topic

Discourse would rather have me frown

$
0
0

Erlend Sogge Heggen wrote:

Strange little bug. When I try to make the most basic smiley face like this :) , Discourse wants to turn that explicitly-not-a-frown, upside down!

Uhmmm, since pressing keys like alt or cmd removes the smiley preview, I'll just have to hope you're seeing the same thing. Try make a smiley face, tell me what you see.


Edit: I found a way! (screen recording --> screenshot of screen recording) so here:

Posts: 4

Participants: 3

Read full topic

Is there any way to disable ajax/dynamic loading of topics?

$
0
0

Mugli wrote:

Hi there,

I was wondering, is there any way to disable dynamic page loading on Discourse? This is cool of course, but what if I want to load the whole page traditionally on all over discourse, or at least on topic views?

I want this because I think this is the only to way to use Adsense on discourse. The googlebot crawls just fine on the current site because most pages have static version, but the javascript adsense loader doesn't allow more than 3 ads on a page (this is also violation of adsense terms). Since the pages are not being reloaded here, the injected ads stops showing after only 3 impressions (this is a known issue with discourse: link1, link2).

Advertising is not your primary focus on developing this platform, nor it should be, and I completely agree on that. But for a lot of us, evil ads are only way to sustain in the long run and to maintain a community. If I can't use Adsense, I'll have to look for another platform, and that'd be sad because I don't want to go anywhere else.

Posts: 3

Participants: 3

Read full topic

DiscourseHosting conversion service for your existing forum

$
0
0

Michael wrote:

In the last few months, we've been working on making a number of conversions go smoothly.

We are proud to offer the following conversions as an addition to our DiscourseHosting.com hosting service:

  • phpBB to Discourse
  • Vanilla to Discourse
  • VBulletin to Discourse
  • Invision Power Board (IPB) to Discourse
  • self-hosted or elsewhere hosted Discourse to our hosting
  • Bitnami to our hosting

Although the conversion process is pretty smooth, it's best to contact us using our contact form to explore the possibilities.

Conversion is free in most cases, although we do require a hosting commitment of at least one year.

If your forum is not included in the list above, let us know and we will investigate the possibilities as well.

Posts: 3

Participants: 2

Read full topic

Welcome Régis Hanol to the Discourse team

$
0
0

Jeff Atwood wrote:

The Discourse Team has always been intentionally small. We did have plans to add a team member sometime after the public launch of the project. But we wanted just the right person, someone brave enough to take on the risk of a project as broadly ambitious as Discourse, someone willing to prove to us that…


This topic is for comments on the original blog entry at: http://blog.discourse.org/2013/09/welcome-regis-hanol-to-the-discourse-team/

Posts: 12

Participants: 9

Read full topic

Specific customization for each category

$
0
0

nXqd wrote:

I think it's a good idea that we can assign a class for a body based on category name or something like that. In that way, we can customize each category to have a difference styling.

I know not everyone needs this, but it'd be nice to have.

Posts: 2

Participants: 2

Read full topic

Revision history messes up with quick edits

$
0
0

Kane York wrote:

When making several edits to a post, some within the 5min grace period, it messes up the revision history.

Given this seqence of edits:

A --- B --- C --- D --- E --- F --- -
|_____________|   |_______|   |__|     5-minute edit coalescing grace periods

Currently, the revision history will show:

C → E
E → F

This isn't much help, because the A → B and B → C changes are lost. The D → E changes aren't lost, they just moved in a confusing manner.

My desired behavior would be to have the revision history show this:

A → D
D → F

Posts: 4

Participants: 3

Read full topic


JSON requests don't exclude categories from filters

$
0
0

Vikhyat Korrapati wrote:

Steps to reproduce:

  1. Go to http://forums.hummingbird.me/. The "forum games" category, which is excluded from the "latest" filter in our site settings isn't shown as expected.
  2. Click on "Community" in the header, which triggers a request to /latest.json. Topics from the "forum games" category are now visible.

This is the problem line:

https://github.com/discourse/discourse/blob/master/app/models/top_menu_item.rb#L47

  def has_specific_category?
    name.split('/')[0] == 'category'
  end

  def specific_category
    name.split('/')[1]
  end

  def query_should_exclude_category?(action_name, format)
    if format.blank? || format == "html"
      matches_action?(action_name) && has_filter?
    else
      false
    end
  end

  def matches_action?(action_name)
    return true if action_name == "index" && name == SiteSetting.homepage
    return true if action_name.start_with?(name)
    false
  end

Not sure why the format is checked at all.

Posts: 1

Participants: 1

Read full topic

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: 2

Participants: 2

Read full topic

Admin highlighting covers name

$
0
0

Clifford Duke wrote:

I noticed that when a user's name is long enough that it has to displayed in more than one lines, if they are an admin, the highlight color will cover the first line's text. Is there a fix for this?

Posts: 5

Participants: 3

Read full topic

Translation Tools: Transifex? Localeapp?

$
0
0

Neil wrote:

Continuing the discussion from Internationalization / localization, which has become a massive, unfocused topic:

Let's talk about translation tools and the process for getting translations done. If we were going to adopt a third-party tool to get translations done, which should be used? From the Internationalization / localization topic, there seem to be two leaders: Transifex and Localeapp.

Here are the things we need from a translation process:

  • Notifications for translators when there's work to do, only for the languages they care about.
  • No cost to translators.
  • An easy way to upload our english yml files without clobbering anyone's work, ideally using an API.
  • An easy way to get all the translations and add them to the Discourse repo in github. We must be able to automate this so it's a one-click operation!

I played with Transifex briefly, and it seems to have a very nice interface for translators. It has the ability to watch languages, leave comments on translations, tagging, etc.

Does anyone know about automation of this whole process?

Posts: 26

Participants: 10

Read full topic

First list item number floating into SPACE

$
0
0

Michael Brown wrote:

  1. Go to the pfSense download mirror page

  2. Select a nearby mirror and download the latest appropriate image. For this hardware and a 4GiB CF card, it will be: pfSense-<VERSION>-RELEASE-4g-i386-nanobsd.img.gz

  3. Write the image to the CF card with the command:

    zcat pfSense-<VERSION>-RELEASE-4g-i386-nanobsd.img.gz | sudo dd of=/dev/path/to/cfcard bs=64K

^^^ the above renders fine on desktop, but on mobile the 1. is floating off to the right.

Posts: 3

Participants: 2

Read full topic

DiscourseHosting migration service for your existing forum

$
0
0

Michael wrote:

In the last few months, we've been working on making a number of conversions go smoothly.

We are proud to offer the following conversions as an addition to our DiscourseHosting.com hosting service:

  • phpBB to Discourse
  • Vanilla to Discourse
  • VBulletin to Discourse
  • Invision Power Board (IPB) to Discourse
  • self-hosted or elsewhere hosted Discourse to our hosting
  • Bitnami to our hosting

Although the conversion process is pretty smooth, it's best to contact us using our contact form to explore the possibilities.

Conversion is free in most cases, although we do require a hosting commitment of at least one year.

If your forum is not included in the list above, let us know and we will investigate the possibilities as well.

Posts: 10

Participants: 6

Read full topic

This page is in French. Would you like to translate it?

$
0
0

Jacob wrote:

So this is really weird. I'm getting this pop-up but only on the /admin/users/list/active page. If I change the sort to /admin/users/list/new it goes away.

Any ideas?

Posts: 4

Participants: 3

Read full topic


Read queue for easier read flow

$
0
0

Erlend Sogge Heggen wrote:

I'm adding a "Read Queue" to my long wishlist of plugins. This is inspired by my current workflow, which works as follows: I land on the Meta index. I see which threads are new/updated (these days I check in so frequently that I don't need the New tab to sort things for me) and I proceed to open each thread that interests me in a new tab. To me, this is currently the best way to establish my reading lineup - if you have a superior workflow, do tell. But it feels a bit wasteful, hence, Read Queue:

Key functionality

Let users line up a series of threads that they're planning to read in immediate succession. So when I've set up my queue and go into thread #1, there's a "next thread" link somewhere, that'll take me to thread #2 and so on.

It would work much like an online shopping cart:

Suggested interaction

On any index page, I can long-click on a thread, and it will be marked and added to my Read Queue. In a widget up in the corner (or maybe the bottom bar) I'd see the notice "1 thread added to your queue".

I can cancel it by clicking an X in the queue list. If I don't, single-clicks will now add new threads to my queue.

5 threads are added to my queue. Then I jump into the first one by clicking the "Start reading!" button in the widget.

I read through the thread, write a reply, and to the right of the read counter, I see a "Next thread" link. I click that, I get moved on to thread #2, and the widget shows a nice little progress bar indicating I'm almost half-way already, yay!

If you exist before you've finished your queue, this would effectively work as a read it later as well.

Posts: 5

Participants: 3

Read full topic

Want to include a javascript file for specific tooltip functionality. Possible?

$
0
0

lunchtime wrote:

Figured it may be possible through the Customization tab by making a Header and sticking the script code in there; didn't seem to do anything though. Is this currently possible?

Thanks!

Posts: 13

Participants: 7

Read full topic

How to quickly merge a translation file

$
0
0

Pablo Corral wrote:

Hi everyone,

I'm using Spanish translation now, and some of the latest strings are not translated.
I wonder if there is a way to quickly, take those new strings from the English version, and move it to Spanish, even without not translating those.

Posts: 9

Participants: 5

Read full topic

Overriding the DefaultCurrentUserProvider

$
0
0

Michael wrote:

Continuing the discussion from Amending current user logic in Discourse:

We've been working on writing our own user provider in a plugin, inheriting off Auth::DefaultCurrentUserProvider. In current_user we look for a URL parameter containing a signed user ID, verify the signature, and if it's OK, load the right user.

This works pretty well, but only on that single request. I do not have a clue how to set the TOKEN_COOKIE cookie from there. request.cookies is a local copy so that has no effect. We chose to override current_user because we want to make it possible to log on from any URL by just appending the signed user ID. I'm starting to get the feeling that this is not the right place to do this, but maybe it's really easy to set the cookie from there.

Can someone please give me some tips?

Posts: 2

Participants: 1

Read full topic

Presence features for forums

$
0
0

Sam Saffron wrote:

Many (almost all) forums out there have features that inform you of the current state of activity on the forum.

Something awful

Penny Arcade

WarriorForum

The concept behind this feature is that if feels better to participate in a forum where you know lots of people are active.

This feature often gets pretty pervasive. It will often display online status of each user when you see an avatar. What if I don't want users to know I am online at 4AM every morning?


At Discourse we have no presence related features at the moment. Is presence a core feature of online discussion?

Can presence features be implemented in a non-obtrusive way? Should this be a core feature in Discourse or a plugin?

Posts: 30

Participants: 20

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images