# Users posting a resource are automatically subscribed ('following') the Discourse topics on their page

**URL:** https://publichappinessmovement.com/t/topic/1588
**Category:** React Js and Meteor
**Tags:** done, reactjs
**Created:** [3 September 2019 16:01 UTC](https://publichappinessmovement.com/t/topic/1588 "2019-09-03T16:01:11Z")
**Posts on this page:** 20
**Page:** 7

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [19 June 2020 11:58 UTC](https://publichappinessmovement.com/t/topic/1588/121 "2020-06-19T11:58:37Z")

</div>

@syl @AndyatFocallocal hey guys, apologies for being absent on this one. Im back on it now! I think i have fixed the problem with the event id and now getting another error in the console. Any ideas?

event id:  
x9HxsoZ7MgwmGgDEd

page name:  
m\_1f

console error:

m\_4 - The Pu - Docuss Error - Failed to set the notification level of a tag from [“dcs-m\_1f-photos”,“dcs-m\_1f-videos”,“dcs-m\_1f-stories”]: {“errors”:[“The requested URL or resource could not be found.”],“error\_type”:“not\_found”}

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [19 June 2020 12:12 UTC](https://publichappinessmovement.com/t/topic/1588/122 "2020-06-19T12:12:58Z")

</div>

Ok, I’m having a look.

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [19 June 2020 13:07 UTC](https://publichappinessmovement.com/t/topic/1588/123 "2020-06-19T13:07:38Z")

</div>

The error has been fixed and the feature seems to be working fine. Do you confirm?

I’ve just noticed one issue, though: when you create an event, the _Photos_, _Videos_ and _Stories_ menus show a topic count of 1 (although obviously there is no topic in the newly created tag). This is due to [this Discourse bug](https://meta.discourse.org/t/accurate-topic-count-in-tag-list/145989). I will think more about it, but I cannot see any workaround for now.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [19 June 2020 13:15 UTC](https://publichappinessmovement.com/t/topic/1588/124 "2020-06-19T13:15:27Z")

</div>

What about editing that post to have stock text in it, or adding stock text.

Like:

> welcome, comment here

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [19 June 2020 13:28 UTC](https://publichappinessmovement.com/t/topic/1588/125 "2020-06-19T13:28:22Z")

</div>

yip it seems to be working now! Thanks @syl

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [19 June 2020 13:30 UTC](https://publichappinessmovement.com/t/topic/1588/126 "2020-06-19T13:30:33Z")

</div>

Exciting!! So it’s working now just with the little bug?

If so can you push it to all three sites please Zahra and I’ll get to posting it up 🙂🙂

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [19 June 2020 13:32 UTC](https://publichappinessmovement.com/t/topic/1588/127 "2020-06-19T13:32:41Z")

</div>

@AndyatFocallocal yip working just with the wee bug. Its on deploy-phm at the moment. Also pushing the fix to deploy-btm. Should it be on master too?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [19 June 2020 13:33 UTC](https://publichappinessmovement.com/t/topic/1588/128 "2020-06-19T13:33:02Z")

</div>

Yeah, all of them 🙂

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [19 June 2020 13:33 UTC](https://publichappinessmovement.com/t/topic/1588/129 "2020-06-19T13:33:43Z")

</div>

Master is the development branch so it should go there 1st. I was never about to get the SSO working over there for some reason so we can’t log in

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [19 June 2020 13:36 UTC](https://publichappinessmovement.com/t/topic/1588/130 "2020-06-19T13:36:57Z")

</div>

> [@AndyatFocallocal](#):
>
> What about editing that post to have stock text in it, or adding stock text.

In order to create the _Photos_ tag (for example), Docuss needs to create a temporary topic, then to delete it immediately. But then, Discourse counts this deleted topic as one in its topic count.

What could be done is to _not_ delete the temporary topic. But this would have the following drawbacks:

- It would look strange to have a topic in there. If you call it “Comment here”, what is it supposed to mean? That users need to comment within the topic? (using posts) What about creating additional topics?
- You would need to provide a title, and Discourse is picky when it comes to title meaning and uniqueness.

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [19 June 2020 13:41 UTC](https://publichappinessmovement.com/t/topic/1588/131 "2020-06-19T13:41:47Z")

</div>

Also you could ask for a fix in the [Discourse bug page](https://meta.discourse.org/t/accurate-topic-count-in-tag-list/145989). The issue occurs in any Discourse instance and for everyone.

For example, in here on PHM, go to the [tags page](https://publichappinessmovement.com/tags) and have a look at the `css` tag: the topic count is 6. Now click on the tag to see the topics: there are only 5 of them.

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [19 June 2020 13:47 UTC](https://publichappinessmovement.com/t/topic/1588/132 "2020-06-19T13:47:46Z")

</div>

done! The build is running so you should be able to test in a few mins

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [19 June 2020 13:56 UTC](https://publichappinessmovement.com/t/topic/1588/133 "2020-06-19T13:56:13Z")

</div>

@syl I think you’re right, it is a discourse bug not a feature. I’ll post there.

@Zahra and @syl Well Done!!! 🕺💃🏼✨✨✨ That was a tricky and critically important task, I’m super stoked to have it completed 🕶🕶🕶🕶

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [1 July 2020 23:30 UTC](https://publichappinessmovement.com/t/topic/1588/134 "2020-07-01T23:30:52Z")

</div>

@syl no update from them yet. It would be good to manually guide users though. I expect many will read/glance at a thread then leave, and that will be the default behaviour for most users.

Having a post at the top (or text in the empty page) saying

> comment here to follow this discussion

Would be great. I know there is a follow/watch drop-down, but it’s something most users not familiar with our platform/discourse will miss as it’s not highly priorised from a UX perspective. The short comment would be far more accessible for them

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [2 July 2020 11:38 UTC](https://publichappinessmovement.com/t/topic/1588/135 "2020-07-02T11:38:02Z")

</div>

Ok, I will have a look at this.

Notice, however, that this will force you to enable the setting “Allow topics with identical, duplicate titles”. Is that ok?

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [2 July 2020 11:39 UTC](https://publichappinessmovement.com/t/topic/1588/136 "2020-07-02T11:39:56Z")

</div>

> [@AndyatFocallocal](#):
>
> @syl I think you’re right, it is a discourse bug not a feature. I’ll post there.

I can’t see your post in [here](https://meta.discourse.org/t/accurate-topic-count-in-tag-list/145989/2). Did you forget? Or have your post been deleted by the Discourse team?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [2 July 2020 11:52 UTC](https://publichappinessmovement.com/t/topic/1588/138 "2020-07-02T11:52:19Z")

</div>

I can’t see a problem with that setting being in. It might interfere a little with the search function if we have millions of users but even then I doubt a search returning 4 posts with the same title like ‘London Happiness Course’ would be particularly confusing.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [2 July 2020 11:56 UTC](https://publichappinessmovement.com/t/topic/1588/139 "2020-07-02T11:56:08Z")

</div>

Looks like my post didn’t post, but it’s better that you did as yours is far more useful for them. Doesn’t look like Jeff replied.

I’ll drop a follow up

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [24 August 2020 21:47 UTC](https://publichappinessmovement.com/t/topic/1588/140 "2020-08-24T21:47:44Z")

</div>

> [@AndyatFocallocal](#):
>
> Having a post at the top […] would be great.

Hi @AndyatFocallocal,

Sorry to be late on this.

I created a new API function to allow creating a topic. You can use it to create a topic in the newly created tag so that it is not empty.

You will need to update both the `dcs-client` package used in your Meteor app, and the Discourse plugin (latest version is 1.0.30).

What your dev needs to do is to use `postCreateTopic()` **instead of** `postCreateDcsTags()`, as creating the topic will also create the tag. The technical documentation is [here](https://github.com/sylque/dcs-client/blob/master/comToPlugin.md#create-docuss-tags-in-advance).

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [24 August 2020 22:34 UTC](https://publichappinessmovement.com/t/topic/1588/141 "2020-08-24T22:34:24Z")

</div>

Thanks @syl, we’ll get onto it asap 🙂

[Previous page](https://publichappinessmovement.com/t/topic/1588.md?page=6)

[Next page](https://publichappinessmovement.com/t/topic/1588.md?page=8)
