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

Set DISCOURSE_ENABLE_CORS for hosted forum

$
0
0

@Jan_Curn wrote:

Hi there, we’re a hosted Discourse forum running at forum.apifier.com. We’d like to access the forum using the API. I’ve added our website to Settings -> Security -> cors origins, but still the access doesn’t work. Please can you advice how to set the DISCOURSE_ENABLE_CORS env var to true for hosted forum?

Posts: 1

Participants: 1

Read full topic


Email change despite not confirming it

$
0
0

@LeoMcA wrote:

We’ve found a bit of a bizarre bug in our authentication provider, which seems to affect (at least one) core authentication provider, and I expect more.

Here's the crux of the problem:
  1. Create a new account
  2. Change the email address on that account
  3. Don’t click on the link in the email
  4. Log out, log in with the old email
  5. Observe the email address on that account is now the new email, despite you having not verified it

This change of email address despite the user not confirming it will then result in additional bugs depending on the authentication provider in question:

With the one we use in Mozilla, after the steps shown in the video above, a user will no longer be able to log in with their old email, and will have to start logging in with their new one.

With Google, the user will still be able to log in with their old email (because a GoogleUserInfo row still exists for it) and will never be able to log in with their new one because a duplicate user_id error will be thrown for the new GoogleUserInfo row that Discourse tries to create.

That problem can be seen in a spec I wrote, which passes when it really shouldn’t:

updater = EmailUpdater.new(user.guardian, user)
updater.change_to(new_email)

user.reload
expect(user.email).to eq(old_email)

response = login(old_identity)
expect(response['authenticated']).to eq(true)

user.reload
expect(user.email).to eq(new_email)

expect { login(new_identity) }.to raise_error(ActiveRecord::RecordNotUnique)

I’m starting to attempt to find a fix, but I thought I’d post now that I’ve finally nailed down the actual bug, in case anyone else had any ideas.

Posts: 4

Participants: 2

Read full topic

Request: add user group to "admin/users" page data

$
0
0

@Cozdabuch wrote:

Ok, we are looking to add a custom field column (primary group) in the admin panel/ users tab, users list.
(It makes no difference in column order, I just stuck it there in the example where I stitched the pics together I had room)

If not under all user tabs, at least under new users tab.

This would be what I’m talking about:

Any idea how to add this?

Posts: 1

Participants: 1

Read full topic

Any plugin for TAGS displays at topic thread and in post?

$
0
0

@Tumi wrote:

Im looking for any plugin with Tags for topic and sorting them for example on the sidebar ? (or similar like that (prefix etc) ?

Posts: 2

Participants: 2

Read full topic

Discourse API SSO sync fails to find record

$
0
0

@bufordtaylor wrote:

I’m attempting to update the email records of a user via the API.

Here’s me finding the record by external_id:

[20] pry(main)> c.by_external_id("1388")
=> {
                                  "id" => 2,
                            "username" => "Buford_Taylor",

Here’s it failing to sync_sso with that same external_id

[21] pry(main)> c.sync_sso(external_id: "1388", sso_secret: ENV['DISCOURSE_SSO_SECRET'])
DiscourseApi::NotFoundError:
from /usr/local/lib/ruby/gems/2.4.0/gems/discourse_api-0.17.0/lib/discourse_api/client.rb:135:in `handle_error'

Posts: 1

Participants: 1

Read full topic

Running a project or team using Discourse (instead of Slack, Trello, etc...)?

$
0
0

@8BIT wrote:

Has anyone had experience or used Discourse for distinctly business operations?

More specifically, as I build up our own little project, I’d like to avoid having to jump into a number of different other applications and tools so that I can keep things simple.

For instance, why use Trello or an external wiki or Google Docs or Slack even when you could, essentially, use Discourse?

Am I dreaming too big about using Discourse in this way? Just thinking aloud perhaps…

Posts: 3

Participants: 3

Read full topic

Some pages on my site won't fully embed comments

$
0
0

@downey wrote:

I have set up an embedding using the JS snippet, linking a project documentation site (driven by Sphinx & Read The Docs) to our forum to allow people to comment there on each document.

Overall, the embedding is working – many pages on the site are working fine. But a few (apparently) random pages don’t work at all. The IFRAME appears, as does the site’s logo, but it hangs saying "Loading Discussion..."

The associated topic for these pages with the error is not being created, too. It’s unclear why some pages would fully work and some wouldn’t. The pages that work, do work fine, create the topic excerpt correctly in Discourse, show existing comments from the associated topic, etc.

Does anyone have ideas on how best to troubleshoot this? (I can provide example pages if someone is curious to dive deeper.) Thanks!

Posts: 1

Participants: 1

Read full topic

Group inbox not updated when another user archives a message from the inbox

$
0
0

@tobiaseigen wrote:

I was just showing someone the group inbox. They shared their screen and I was looking at the same group inbox view separately on my screen. They archived a message and, as expected, were returned to the group inbox where the message they just archived was gone. On my screen I expected the message to disappear as well but it did not. I had to click away and return to the inbox to see the updated message list without the moved message.

I suspect the same thing happens when someone deletes a message etc.

I’m not quite sure what the practical implications of this are and if it’s going to present any real problems. But I wanted to let you know for whenever group messaging gets some love and attention from the discourse team. :heart_eyes_cat:

Posts: 1

Participants: 1

Read full topic


Can we pass an email address to /password-reset?

$
0
0

@pfaffman wrote:

Continuing the discussion from Reset password URL is /password-reset:

I’m working with someone moving over from Ning and am trying to minimize the pain of joining a new forum. I’m elated to find /password-reset, but it’d be even better if I could pass an email address to it.

What I want to do is send the “Trusted user, test the new site” email with a link to reset their password without them having to type it in (because they’ll do it wrong). I don’t want to just send them the new password links until they have read the informative email explaining what this new site and password are about.

It looks like that model is a POST, so it seems I can’t do what I want, but I’m hoping I’m wrong.

Posts: 3

Participants: 3

Read full topic

Custom Homepage Plugin (dl-custom-homepage)

$
0
0

@joebuhlig wrote:

To go along with the Static Pages plugin, I’ve built a custom homepage plugin that a lot of my clients continue to ask for.

I’ve placed this one in #marketplace because it’s a paid plugin only. You can use this in a development or test environment, but once it goes production you’ll need a license key which you can get here for $47/yr. That subscription unlocks the plugin and grants you access to the support category on the Discourse League site (not affiliated with the core Discourse team).

I figured the best way to show this off was to create a demo instance with it in place. So here you go!

Posts: 1

Participants: 1

Read full topic

Problem after Installation

$
0
0

@quadro wrote:

Hello,
sorry for my bad English. I´m from Germany.

I have an VM with 2GB RAM and would like to Install Discourse. I followed this Tutorial:
https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

After the Step ./discourse-setup i would like to Start Discourse and open the Domain in Browser, but it not works. I can´t see the Registration.

I do not know what to do. Is someone here who can speak German and can help me please? It´s not easy for me, to find the right Information, to fix my Problem.

Posts: 2

Participants: 2

Read full topic

Notifications for Specific User?

$
0
0

@8BIT wrote:

I searched but couldn’t find an answer to this specifically…

Is there a way to get a notification (email, desktop) for a specific user? I know you can suppress specific users…

Posts: 7

Participants: 2

Read full topic

Embedded discourse never stops loading discussion

$
0
0

@Christoph_Holtermann wrote:

I’ve begun embedding discourse plugins on my typo3 website. One is on a cal base calendar event page the other on a tt_news page. I had to work quite a lot to find working embedUrls. The calendar usually works. When someone visits the page a new topic is being created. But sometimes the discussion plugin never stops loading. With the event page it is rarely that it finishes loading. I found sidekiq and the are a lot of retries.

Jobs::RetrieveTopic

The error message goes:

Jobs::HandledExceptionWrapper: Wrapped NoMethodError: undefined method `author' for nil:NilClass

with

{"user_id"=>6, "embed_url"=>"http://www.jungmedizinerforum.org/nc/content-elements/neuigkeiten-einzelansicht/article/hausarztpraxis-frankfurt-sucht-ab-sofort-eine-unterstuetzung/", "author_username"=>nil, "referer"=>"http://www.jungmedizinerforum.org/news/article/hausarztpraxis-frankfurt-sucht-ab-sofort-eine-unterstuetzung/", "current_site_id"=>"default"}

the embed code on the event page is (as typo3 fluid template):

<div id='discourse-comments-wrap'>
<div id='discourse-comments-before'></div>
  <div id='discourse-comments'></div>
</div>

<script type="text/javascript">
        DiscourseEmbed = { discourseUrl: "",
                           discourseEmbedUrl: "" };

        DiscourseEmbed.discourseUrl = '{discourseUrl}';
        DiscourseEmbed.discourseEmbedUrl = '<f:uri.page absolute="TRUE" additionalParams="{tx_ttnews: {tt_news: '{newsuid}'}}" noCacheHash="TRUE" noCache="TRUE" />';

        (function() {
          var d = document.createElement('script'); d.type = 'text/javascript'; d.async = true;
          d.src = DiscourseEmbed.discourseUrl + 'javascripts/embed.js';
          (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(d);
        })();
</script>

An example calendar entry: Jungmedizinerforum: Internationale Jahreskonferenz der Medizinischen Sektion
An example event entry: Jungmedizinerforum: Hausarztpraxis Frankfurt sucht ab sofort eine Unterstützung

I thought it was the long url with square brackets and prettified it but that didn’t solve the problem as the ugly url of the dates usually works while the prettier one of events usually doesn’t.

maybe someone can help ?

Posts: 1

Participants: 1

Read full topic

Account stuck on "Almost done!"

$
0
0

@PastaGringo wrote:

Hello everyone!

I have an issue really weird… I hope you can help me :slight_smile:

I created an account on a discourse forum from now few month ago with valid email.
I changed the email account with another but the new address mail was wrong… (I forgot one letter)

Now everytime I want to connect to the plazza, I can see :

“You’re almost done! We sent an activation mail to new wrong email. Please follow the instructions in the email to activate your account. If it doesn’t arrive, check your spam folder, or try to log in again to send another activation mail.”

Administrators enabled SSO from the root website and I can log in and see my profile without issue. I tried to change with the valid email but it doesn’t change anything, I’m still stuck to the previous message.

Do some of you have an idea regarding my issue? Is it possible to reset the email activation process ?

Thanks !

Posts: 3

Participants: 2

Read full topic

(Possible) Intermittent issues with topic tracking status

$
0
0

@Yuun wrote:

Putting this here instead of a bug since I’m not sure how to repro at the moment or what the exact issue is…

In any case, some of my users noted in that Discourse wasn’t tracking a particular topic for them, even though it should have been since they had all replied to it (and had kept that setting in their preferences). I also had a bit of weirdness lately where a new category I made had been muted without any input from me, not sure if that was related though.

I am trying to pin down how much this is occurring, but I don’t know of a good way to log this or track it. Most of the topics in the forum seem okay so maybe it was just the one topic, but by its nature this would be a bit difficult to notice if something was going wrong. I also don’t post quite enough here or on other Discourse forums to be able to say whether anything is out of the ordinary outside of my own forum.

So I guess what I’m looking for is any thoughts on how I might better track this issue, and maybe whether or not anyone else has experienced anything similar.

Posts: 1

Participants: 1

Read full topic


Disappearing link images

$
0
0

@Pawel_Kosiorek wrote:

Hi!
From time to time i noticed that links are starting to be broken. But not instantly.

When you paste link, everything looks fine, there’s thumbnail, and link is active.

After few seconds link is changing to “broken link” icon and hyperlink is disappearing

Problem also occur on linked images:

I can see image on preview, but not in post.

Newest 1.9.0.beta8.

Thanks!

Posts: 3

Participants: 2

Read full topic

Is there a way to limit "post links"?

$
0
0

@Morfik wrote:

I’m not sure what the feature is called properly, but in the page source I can see that there’s a “post-links” div class, so I’ll be referring to it in this way. If there’s a better name for it, just tell me. :slight_smile:

Here’s a photo depicting what I’m talking about:

Basically, when you have a link in a post that refers to another post on your board, the list of the “post links” under the referred post will grow. Now let’s pretend we have 100+ posts that refer to a specific topic. All of the links will be included in the “post links” section. First 5 positions will be displayed, and the rest will be hidden till you expand the list.

What I want is just to ask whether is there a way to cut the list of the hidden links so it would show max up to 10 additional links (maybe based on the creation time of the original post)? So in this case only 15 links (the most recent) would be included in “post links”, and the look of the list would improve.

Is there a way to do it, or does it need some code work in order to achieve this?

Posts: 1

Participants: 1

Read full topic

Multisite Questions

$
0
0

@CarsonWeitnauer wrote:

Hi,

I have attempted to find the answers to these questions by searching meta, but they remained unresolved. Here goes:

  1. Does each instance of a multisite Discourse have its own…
  • trust levels
  • moderators
  • admins
  1. Can each instance of a multisite Discourse have its own…
  • Permissions (e.g., only users in these groups have access)
  • Privacy settings (e.g., this instance is private, this one is 90% public and indexed, etc.)
  1. How does a user with access to multiple instances navigate between them? Can there be a shared navigation menu across the multisite that links to all the various Discourse instances?

  2. Analytics.

  • Does multisite offer analytics for each instance?
  • Can we export the users from each instance? (E.g., to add to regional email lists).

In advance, thank you for assistance in understanding this feature.

Posts: 4

Participants: 2

Read full topic

500 Error Message on Poll

$
0
0

@Naji_Esiri wrote:

Hey, I’m experiencing a 500 error on a topic with a poll. I suspect this is due to the large volume of customers trying to respond/vote. It’s working intermittently for some users. I was wondering if there was any work around or quick fix? Any help or advice would be much appreciated!

Posts: 3

Participants: 2

Read full topic

Restrict Discourse to IP range

$
0
0

@Raphael_Haase_NL wrote:

We want to try out Discourse by deploying it on Azure, but restricting access to certain IP ranges, i.e. so that only HTTP requests coming from a certain IP range are answered by Discourse, whereas others only get a 403 or so and do not see any content.
Is there an easy way to configure Discourse in this way?

Posts: 1

Participants: 1

Read full topic

Viewing all 67511 articles
Browse latest View live