It looks like it should work in our maps/docus integration, if we can automate it to fire for the current user on each thread created when creating a new post.
Another possibility would be to automatically create a ‘general’ post from the user in each Discourse thread created, when posting something new to the maps.
Discourse does allow post creation via email so that’s also an option.
Thank you. Sorry for not getting around to testing out the WordPress plugin. Atm is just me working on the WordPress site, and I’m very much swamped with other tasks
@msgfxeg this would be number 2 priority task as its a usability breaking issue on both maps (they use the same code and differences are defined in i18n).
it will require a little reading on docuss. basically what we have now on the maps is a system where users can post, and others can comment using our discourse integration. right now the person who filled in the form to post the resource/event onto the map will not receive notifications when someone comments on their post. Syl’s change above means OP will be automatically subscribed to the discourse threads created.
The integration will probably take a little time to wrap your head around. Fortunately the creator of discourse @syl is here and is very eager to help and knowledgeable. @ArtyS is also an excellent developer who has a good understanding of our code and the integration. He’s going through a busy period and isn’t coding right now, but always eager to answer questions - and i have a basic understanding and will help as much as i can
@AndyatFocallocal Actually I could not understand a word!
Would you kindly send me a documentation to the whole system so that I can read and understand your whole system first so that I may be able to understand the details of any task.
Just to update this as we are about to push out BTM in a few days to help with the COVID 19 crisis.
Task: Please Add this code so users receive notifications. The code author is @syl who doesn’t want to get his hands into Reactjs code, but is very happy to answer any questions we may have. Sylvain would that be added to this file?
No, it needs to be added in the JavaScript code (client-side): when the user creates a new events, the corresponding Docuss tags (in your case “photos”, “videos” and “stories”) have to be created right away.
@green-loutre, the code should be called whenever someone creates a new event.
Please tell me when you found the location in the app code and I will check how the Docuss API should be called.
When a user posts something on the map three new Discourse threads are created. This code will subscribe the poster to those threads meaning that they get notified if anyone comments on their post
You would just code it directly into the Masterwithout_DCS branch in GitHub. Let me know and I’ll approve your PR. Then we wait 15mins for compiling to finish and then test it