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

SQL shared_drafts queries-will it be cached?


Having trouble accessing a topic

$
0
0

@jordan1909 wrote:

As the title says, I am having trouble editing a topic. I have done something similar before however I was using the :topic_created action which gave me the object anyway.

Here I am trying to get a specific topic by its ID and add a user to the topic. I keep getting that topic_allowed_users is not defined however it should work.

Any ideas?

topic_id = params[:topic_id]
topic = Topic.find_by(id: topic_id) # have also tried Topic.find(id: topid_id)
topic.topic_allowed_users.create(user_id: user.id) # Have also tried Topic.topic

Any input is appreciated.

Posts: 1

Participants: 1

Read full topic

How do I center the logo on the main header?

How to export WordPress users in discourse?

$
0
0

@NADMIN wrote:

Hello,
I am a member of wordpress and I find that the development is zero! So I would like to export my 2,500 registered Discourse.
I would like to know how?

Posts: 8

Participants: 4

Read full topic

Most effective way of creating large amount of sub-forums

$
0
0

@yandos wrote:

Hi,

We’re looking at implementing discourse into an existing application which has a large userbase broken down into schools at the nationwide level.

In an ideal world, each school with have its own private “sub-forum” of which only users from that school can post, which each sub-forum having approx 3 categories (always the same).

If this setup something thats possible in discourse and if so whats the best way of implementing this assuming there may be thousands of schools/sub-forums?

From an initial look it seems it may be possible to create a group per school and then assign users to the group, but creating thousands of groups via API seems like the wrong approach

Any thoughts appreciated!

Posts: 1

Participants: 1

Read full topic

Providing data for GDPR

$
0
0

@richp10 wrote:

Sorry I am late to this conversation, but this is a very important issue and it does not appear it reached resolution.

It strikes me that GDPR compliance does mean changes to Discourse - maybe this is all in hand but I have not found it!

Data Access Requests
Most obvious thing - work for @sam I guess! - is to provide a one click ‘Data Access Request’ that does not need admin intervention. As far as I understand it, the GDPR requires data controllers to provide all personal information on request. This is very much like the existing UK Data Protection Act and can be onerous if you do not build it into the systems.

What I was thinking of was new section on your summary page (/u/richp10/summary) called something like ‘Your Data’. On that page, provide a brief explanation that the user can get a complete download of all the personal data kept on the site by clicking this button.

The app would then create a PDF of all the personal information and email it to them or display a link to download. Actually, the same mechanism as the ‘Download All’ button would be perfect. At a stroke, this solves compliance with that part of the legislation.

Right to be forgotten A
I think the above conversation reached the conclusion that posts are not - in general - personal information under the regulations. I agree with that assessment - whilst acknowledging that it is possible that posts exist which contain personal information.

My thought would be that on the ‘Your Data’ tab, we explain that shutting down the account removes all the personal data but leaves posts in place. Point out that if the user wants to shut the account they might want to remove some posts first.

I think it needs to be more obvious how to close down the account and more explicit what the implications are.

Right to be forgotten B
Although I think the above would comply with the law - I would like the option of going further.

My use of Discourse is with a vulnerable population, mostly with mental health problems. I would very much like to be able to allow people to entirely remove their content from the site, even though this has a cost in breaking up the conversations.

It would be great if we could have and provide the options - 1) Shutdown the account removing personal data but leaving posts or 2) Shutdown and deep clean - everything must go. Ideally we could configure to allow just one or both these options.

The privacy policy issue does not worry me, that is a question of wording.

Thoughts?

Posts: 15

Participants: 5

Read full topic

Include translated posts in search?

$
0
0

@tophee wrote:

It just occurred to me that it could be extremely beneficial to multi-lingual sites if discourse’s search would also search any translations (relevant for the current locale) available via the translator++ plugin. I’m assuming this is currently not the case, but could it be done?

Posts: 2

Participants: 2

Read full topic

How to put discourse on a web host

$
0
0

@NADMIN wrote:

How to put discourse on a web host
Hosting : https://obambu.com/
GB : 5G
If there is a way - could you please give me a step by step way to do it?
I am new to all this stuff (so if you could use simple terms that would be great!)

Also, if there is anything else I should know about discourse, please let me know.

Thanks a heap!

Posts: 2

Participants: 2

Read full topic


How To Allow Certain HTML tags in Customization

$
0
0

@yyhmsg wrote:

I’m trying to add the google custom search engine to the header of our discourse forum. I put in the javascript to the head tag and then in the body there is something like <gcse:search linkTarget="_self"></gcse:search> - which will show the google custom search engine.

When I put this in and save it however, it doesn’t show up on the site. I imagine it is being removed by some sort of html filter? (and I should add that by “doesn’t show up” I mean the code itself, not just that the javascript isn’t loading somehow - when I surround it with <!-- -->, the code passes through, but obviously doesn’t work).

Is there a way to get this to pass through?

Thanks!

Posts: 1

Participants: 1

Read full topic

The GitHub blob onebox does not highlight the `.js.es6` code

$
0
0

@dmitry_fedyuk wrote:

The same code pasted directly into the editor is highlighted:

composePrivateMessage(user, post) {

  const recipient = user ? user.get('username') : '',
      reply = post ? window.location.protocol + "//" + window.location.host + post.get("url") : null;

  // used only once, one less dependency
  return this.controllerFor('composer').open({
    action: Composer.PRIVATE_MESSAGE,
    usernames: recipient,
    archetypeId: 'private_message',
    draftKey: 'new_private_message',
    reply: reply
  });
},

Posts: 1

Participants: 1

Read full topic

Installing plugins on a bitnami AWS installation

$
0
0

@Morrus wrote:

So we have a test clean install of Discourse using AWS’s automated installation. That I managed to do (I’m a long way from being a sysadmin, and just followed the wizard through, mainly, and was pleasantly surprised when I got to the end and there was a nice Discourse installation all set up there).

There are some plugins I want to install, but they all say to edit app.yml. I can’t find any such file, though. I’ve managed to FTP into the server and look at the files (three folders: apps, htdocs, stack, with tons of stuff inside them). I don’t know anything about using command lines to do stuff, and I’m hoping that’s not a skill I’m going got have to learn.

So, I assume I’m just being dense, but how do you install plugins when you have a bitnami install on AWS?

Posts: 2

Participants: 2

Read full topic

I'm getting an error 4 error 2 warning

As an admin, I'm unable to see the full list of grantable badges

$
0
0

@jiq2 wrote:

Greetings! I’m the new admin of a community here on Discourse and I’d love to grant badges to specific users. We have about 20 badges that I can see on the list in the admin panel but, when I select a user and try to give them one of our custom badges, I’m only able to see a handful.

I’m quite new to Discourse so my apologies if I’m missing something obvious!

Thanks a million,
JQ

Posts: 2

Participants: 2

Read full topic

Best way to hide specific posts for non-logged in users?

$
0
0

@Anton wrote:

I have a community that often posts things they don’t want to appear to the general public, so I have the site set to disallow public access. However, this obviously makes it hard for people to get an idea of what kind of things are going on if they’re not already signed up. I’d like to be able to differentiate between posts that are ‘cool for everyone’ and those that are ‘members only’ so that I could allow anon users to at least read the posts that have been made that aren’t ‘private’.

I know I could setup a category that only appears for logged-in users (by altering the permissions), but it seems clunky to add a sub-category to each of our existing categories (and, presumably a generic ‘uncategorized members only’). It seems like that’d be adding a bunch of extra noise to the category list.

Ideally I think I’d like to setup something where users could add a tag to their posts that they want to be ‘members only’ so that it wouldn’t appear in the public topic list (if the site was unlocked). Does such a thing exist, or should I just go the ‘make a subcategory for members only for each existing category’ approach?

Posts: 2

Participants: 2

Read full topic

Embedding Discourse Category not Topic

$
0
0

@Bar_Smith wrote:

Hello all!

I run a community driven open source project and our Discourse forum is the heart of the community.

I am working on a website to host collaborative open source projects and I would like each project page to have a discourse discussion section similar to how @eviltrout has an embedded discourse comments section on his blog:

Instead of just embedding a single topic as a comments section, I would like to embed a category so that there can be multiple discussions going simultaneously.

So here’s my question: Is it possible to embed a discourse category instead of a topic and where do I start?

Thanks for your time! Love everything about discourse.

Posts: 2

Participants: 2

Read full topic


Is "About" excluded from search?

$
0
0

@BlackKnob wrote:

I tried to search for all posts including the word “About”.
It returned 0 results, despite having a post titled “About …” in every category.
Is the word “About” excluded for some reason?

Posts: 2

Participants: 2

Read full topic

Tiger Stripes Theme Component

$
0
0

@fefrei wrote:

Repository: https://github.com/fefrei/discourse-tiger-stripes
Use this URL for cloning: https://github.com/fefrei/discourse-tiger-stripes.git

This very simple Theme Component adds tiger stripes to topic lists, making every second entry in the topic list have a darker background color:

The darker background color is derived from the primary color and should match the background color of buttons.

Posts: 1

Participants: 1

Read full topic

How do URL & Topic Title updates work?

Help needed to use Discourse to login through multiple Site using SSO

$
0
0

@amod wrote:

Hi,

I have the main website site e.g www.example.com and my discourse site is discourse.example.com. I have another web application e.g subdomain.example.com.

From my main website site I am able to login to discourse using SSO but from my subdomain users are not able to login using SSO.

I thought I could achieve this by using the session cookies. i.e when the disourse sends the payload and sig I will validate those in main site and check the user is in the session with session cookies. If the user is not in session I will fire another request to subdomain with the session cookie sent by discourse, but the session cookies sent by discourse never matches. Hence My subdomain users are not able to login in discourse.

Please guide me to resolve this issue.

Thanks

Posts: 2

Participants: 2

Read full topic

Pinned topic does not stay pinned consistently

$
0
0

@aschrijver wrote:

I noticed on the Humane Tech discourse (community.humanetech.com) that it is not possible for me to pin topics consistently, either globally or per category. Sometimes the pinned topic stays pinned, but most of the time the topic is immediately unpinned after me pinning it. Also I never managed to get more than one pinned topic in a single category or globally.

Example of topic I’d like to pin: Contribute awesome tech to awesome-humane-tech list on Github - Apps and Tools - Humane Tech Community

I am using Firefox 58 on Ubuntu.

Posts: 1

Participants: 1

Read full topic

Viewing all 60707 articles
Browse latest View live




Latest Images