# Flood of new topics from Embedded Discourse

**URL:** https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341
**Category:** Feature
**Created:** [12 ביוני,‏ 2017,‏ 8:06am UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341 "2017-06-12T08:06:51Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [12 ביוני,‏ 2017,‏ 8:06am UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/1 "2017-06-12T08:06:51Z")

</div>

We’re an open source software project with a lot of documentation pages. On each of our documentation pages, we decided to replace Disqus for commenting with (embedded) Discourse. After all, we already have a community of users using Discourse – the idea of merging the two places beginners ask questions seemed like a great idea.

However, it seems that whenever someone reloads one of our documentation pages (without actually attempting to comment – they’re just visiting the pages…) a new Discourse topic is created.

This is particularly problematic because when we set up embedding, the problem of new topics being created upon page visits did not present itself. It was only when users organically began visiting individual documentation pages that this flood began, some hours or days later.

This is what our Discourse for our users looks like now; it’s been totally overtaken by embedding. It’s caused an exodus of our users away from our community:

[![](https://global.discourse-cdn.com/meta/original/4X/3/2/3/3230a6eed34d28597c744eecfdf2cdd986a1b994.jpeg "AwesomeScreenshot-2017-06-12T07-40-13-827Z") ](https://www.youtube.com/watch?v=rY_MPJ52Yko)

Is there some way to fix this? Ideally, a new topic would only be created after someone clicks the “start discussion” button.

For reference, the community I’m referring to is here:

> **[Scala Users](https://users.scala-lang.org/)**
>
> a forum for the Scala programming language. beginner questions welcome

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 ביוני,‏ 2017,‏ 8:12am UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/2 "2017-06-12T08:12:14Z")

</div>

I would be very very careful with mailing list mode – it’s dangerous, particularly as a forced default for all users.

So I recommend turning off mailing list mode for all users via a database query and turning off that default as well

---

<div class="post-metadata">

### Author: ![BKerr](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@BKerr](https://meta.discourse.org/u/BKerr)
#### Post date: [12 ביוני,‏ 2017,‏ 3:18pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/3 "2017-06-12T15:18:38Z")

</div>

@codinghorror Is your caution limited to the embedded implementation? I ask because we are just about to go into a testing phase prior to - hopefully - moving to Discourse.

Currently all of our network members are using a listserve - which serves the needs of many in our specialize audience. In any case, mailing list mode is how we will have to start in the new environment. From there, how members decide to use Discourse will be up to them after that. Nevertheless, I can imagine a significant number of users may prefer to stay with an email mode.

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [12 ביוני,‏ 2017,‏ 4:20pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/4 "2017-06-12T16:20:51Z")

</div>

Unfortunately, we won’t be able to use Discourse without mailing list mode. We’ve elected to use Discourse as a _replacement_ for a mailing list.

My question though had to do with the behavior of embedded mode. Even if we were not configured to run in mailing list mode, that doesn’t change the fact that embedded mode has this odd behavior of creating thread when people merely visit a page (forget about commenting). Even if we weren’t using mailing list mode, embedded mode has cause a literal deluge of noise/useless posts that people have to sort through.

Is this intended? It seems like it shouldn’t be.

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [12 ביוני,‏ 2017,‏ 4:23pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/5 "2017-06-12T16:23:27Z")

</div>

Also – just a heads up, it seems the title was changed of this thread. The question still stands. Mailing list mode or not – embedded Discourse doesn’t seem like it should be creating new threads each time someone hits a page.

I’ve updated the title of this thread accordingly.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [12 ביוני,‏ 2017,‏ 7:13pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/6 "2017-06-12T19:13:28Z")

</div>

That is how it is designed to work, yes. When the request is made to load the associated WordPress (or whichever software) blog entry, the iframe containing the embedded Discourse topic is loaded. This will create an associated topic if one does not already exist.

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [12 ביוני,‏ 2017,‏ 9:37pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/7 "2017-06-12T21:37:11Z")

</div>

But wouldn’t it make more sense to create the associated topic only when someone clicks the “join the discussion” button?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [12 ביוני,‏ 2017,‏ 10:22pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/8 "2017-06-12T22:22:03Z")

</div>

I’ve encountered this on my discourse but a while back. My sympathies for what you must be going through! 😿

I’d not take @codinghorror’s warning lightly - discourse is being developed for the future, and the discourse core team see mailing lists as the past. So at best mailing list mode is a compromise and you will always bump up against difficulties if you try to make it the default way people participate in your community. There are alot of topics about this here on meta you may want to read up on.

That said, there is a way to fix this particular issue, which is to set up a specific category for your embedded topics. You can then mute that category by default for all users using the plugin linked below. That way it will not email people for every new topic created by the embed code.

> [@Watching Categories based on on group in discourse](https://meta.discourse.org/t/watching-categories-based-on-on-group-in-discourse/41488):
>
> I found this plugin Is this only hardcoded for one category and one group? I’d like to try and set this up on a larger scale. @tobiaseigen

You can then move topics out of this category as people start talking in those topics as you see fit.

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [13 ביוני,‏ 2017,‏ 10:00am UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/9 "2017-06-13T10:00:54Z")

</div>

@tobiaseigen Thanks for the second warning about mailing list mode. I understand your + @codinghorror’s philosophy on this.

Though I can turn off mailing list mode right now and the issue reported still stands… There’s still a flood of new topics caused when people merely load pages. Have a look at the video I posted above. That’s a lot of noise, no?

The main point here is that embedded mode creates a new topic upon page load – it seems like this shouldn’t be necessary. It seems like it would be more sensible to create a new topic when a user clicks “start discussion,” no?

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [13 ביוני,‏ 2017,‏ 10:45am UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/10 "2017-06-13T10:45:04Z")

</div>

I don’t have any helpful info, Heather, but I do have some warnings.

We ran into the same issue when I set up our Discourse.

Then I realized that you can’t assign embeds to different categories. So for example, if you use Discourse embeds for comments on your documentation and also on your blog, they’ll both be created in the same category on Discourse.

Finally, I came across another issue: I deleted the slew of blog posts only to find that they could not be re-created because they were still in the database with a deleted status.

This third issue is likely resolveable by manually deleting the posts from the databases (you can’t _really_ delete anything from the GUI), but by this point I had decided that embedding was not workable for our case.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 ביוני,‏ 2017,‏ 1:18pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/11 "2017-06-13T13:18:16Z")

</div>

The embed code is a bit of a blunt instrument. Like much with discourse, it works best out of the box for new sites and new content. Existing sites migrating to it need some extra planning and care… sometimes more than you realize because you’re dealing with a bunch of data and not all features are well documented or behave according to your assumptions from other software.

I think your idea is a good one but it does not exist now, and it may be more complex than you realize… and probably not worth the effort. If you wanted to implement this, you’d have to account for the fact that it would create the topic first and then the user would have to leave the site to go to the forum and reply to it, probably having to create an account first. By then the topic will be created the user may abandon the effort and not even do all that, and you then have an orphaned topic with no reply.

Much easier to mute the documentation category for all users, and maybe exclude the category from latest so it doesn’t overwhelm.

I read the feedback topic on your forum which has some good stuff in it.

> **[Inundated by 'Documentation' category issues](https://users.scala-lang.org/t/inundated-by-documentation-category-issues/870)**
>
> Hello, We seem to have been overtaken by an avalanche of “Documentation” issues. They don’t seem to be questions but messages that have been generated automatically. If so, is their anyway we can avoid this? Additionally, their does not seem to...

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [13 ביוני,‏ 2017,‏ 1:36pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/12 "2017-06-13T13:36:30Z")

</div>

Since it seems that it could be advantageous to change this behavior, I’ve changed the category of this topic to “bug.”

Hopefully others agree that this would be a beneficial change! 🤞

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [13 ביוני,‏ 2017,‏ 2:26pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/13 "2017-06-13T14:26:05Z")

</div>

Could this not be resolved by simply editing the category for comments so it is hidden from the homepage? (I believe it is in Edit Category \> Settings)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 ביוני,‏ 2017,‏ 4:34pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/14 "2017-06-13T16:34:57Z")

</div>

> [@Heather\_Miller](#):
>
> Since it seems that it could be advantageous to change this behavior, I’ve changed the category of this topic to “bug.”
> 
> Hopefully others agree that this would be a beneficial change! 🤞

Nope - I don’t think this is a bug. Really it’s a feature request, or a request for better documentation.

> [@cpradio](#):
>
> Could this not be resolved by simply editing the category for comments so it is hidden from the homepage? (I believe it is in Edit Category \> Settings)

Yeah, this is a good suggestion. I think it’s what I was trying to propose above but I couldn’t remember what it was called.

---

<div class="post-metadata">

### Author: ![Martijn\_Hoekstra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martijn_hoekstra/32/83633_2.png) [@Martijn\_Hoekstra](https://meta.discourse.org/u/Martijn_Hoekstra)
#### Post date: [13 ביוני,‏ 2017,‏ 5:19pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/15 "2017-06-13T17:19:08Z")

</div>

Wouldn’t that hide all comments on the documentation, rather than just the flood of new messages of people just opening the page?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [13 ביוני,‏ 2017,‏ 5:57pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/16 "2017-06-13T17:57:40Z")

</div>

No. It would hide the topics from the Latest page view (per the video/screenshot).

---

<div class="post-metadata">

### Author: ![Martijn\_Hoekstra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martijn_hoekstra/32/83633_2.png) [@Martijn\_Hoekstra](https://meta.discourse.org/u/Martijn_Hoekstra)
#### Post date: [13 ביוני,‏ 2017,‏ 6:16pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/17 "2017-06-13T18:16:58Z")

</div>

Ah, so just the threads being created are hidden, but you can still see them when comments are made on them. That sounds perfect.

---

<div class="post-metadata">

### Author: ![Heather\_Miller](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@Heather\_Miller](https://meta.discourse.org/u/Heather_Miller)
#### Post date: [13 ביוני,‏ 2017,‏ 8:31pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/18 "2017-06-13T20:31:53Z")

</div>

> [@tobiaseigen](#):
>
> Nope - I don’t think this is a bug. Really it’s a feature request, or a request for better documentation.

Sorry, can you explain how changing the behavior of topic creation so it doesn’t flood our community with empty topics is a feature request? You’re arguing that this is behavior is correct and intended?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 ביוני,‏ 2017,‏ 9:14pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/19 "2017-06-13T21:14:31Z")

</div>

Hi Heather! I’m just a fellow user trying to help you here. 🙂 I’ve been through what you’ve been through and recognize it. But what I described [above](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/11) is my understanding of how this feature works.. and it’s by design. It’s not broken, preventing normal/typical use of discourse.

Discourse embed is a very simple, hands-off bit of functionality that’s ideal for new sites creating new content. That it can cause pain when added to sites with lots of existing content is obviously not great and I’m sorry you had a bad experience. I guess the [howto topic explaining how it works](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963) (which I assume you followed) could have been improved with a warning about the risk of flooding the forum and people’s email. Muting the documentation category for your users and hiding documentation topics from your frontpage will be a big help going forward, methinks.

Meanwhile, the feature could be improved to add the functionality you describe which is a good idea! I use the wp\_discourse plugin now on a site I actively manage, and I would _love_ to be able to turn on the ability for logged in users to start new topics about content on my site, but not create all of those topics in discourse ahead of time in readiness for someone coming and wanting to reply to one of them.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [13 ביוני,‏ 2017,‏ 10:31pm UTC](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341/20 "2017-06-13T22:31:48Z")

</div>

Look what I found! Truly meta is a treasure trove.

> [@Embedding, but don't automatically create a topic until a user chooses to comment](https://meta.discourse.org/t/embedding-but-dont-automatically-create-a-topic-until-a-user-chooses-to-comment/61450):
>
> This is a fantastic feature! I look forward to making good use of it. Would it be possible to not automatically create a topic until a user chooses to comment on the article? I want to prevent having a ton of topics with no replies (i.e. which were created automatically by visitors who only read articles and not commented on them). I’m specifically thinking of a site with a large number of articles; only a few of them will actually have comments. What would be the most reasonable way to achiev…

[Next page](https://meta.discourse.org/t/flood-of-new-topics-from-embedded-discourse/64341.md?page=2)
