Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more forum events #50

Closed
garemoko opened this issue Mar 8, 2016 · 8 comments
Closed

Add more forum events #50

garemoko opened this issue Mar 8, 2016 · 8 comments
Labels

Comments

@garemoko
Copy link
Contributor

garemoko commented Mar 8, 2016

Motive
It would be interesting to report on posts created and replies made alongside post views.

Result
Add create post and reply to post events.

Additional information
I haven't checked whether or not the events are available in Moodle yet.

@jlowe64
Copy link
Contributor

jlowe64 commented Mar 8, 2016

I have the following events on my list to be done for the next release:

\mod_forum\event\post_created
\mod_forum\event\subscription_created
\mod_forum\event\subscription_deleted
\mod_forum\event\discussion_subscription_created
\mod_forum\event\discussion_subscription_deleted

Is this what you were thinking of?

@ryasmi ryasmi added this to the v1.1.0 milestone Mar 8, 2016
@garemoko
Copy link
Contributor Author

garemoko commented Mar 9, 2016

It looks like the two I'm talking about are:

\mod_forum\event\discussion_created (start a new discussion)
\mod_forum\event\post_created (reply to a discussion)

We already track discussion views:
\mod_forum\event\discussion_viewed

I'm less worried about subscriptions, but they aren't totally uninteresting.

@jlowe64
Copy link
Contributor

jlowe64 commented Mar 9, 2016

To be honest, those were more my manager's interest. I think I could replace the subs with your two and it'd probably pull in a lot more interesting data than the subs.

@jlowe64
Copy link
Contributor

jlowe64 commented Mar 9, 2016

And furthermore, I doubt people actually subscribe to posts actively as they respond.

@jlowe64 jlowe64 modified the milestones: v1.3.0, v1.1.0 Jun 2, 2016
@davidpesce davidpesce modified the milestones: v1.3.0, v1.5.0 May 30, 2017
@ryasmi ryasmi modified the milestones: v1.5.0, v2.1.0 Jun 15, 2017
@RikGr
Copy link

RikGr commented Apr 24, 2018

Hello,

I tried to add a post_created event myself but I am afraid my PHP skills are not sufficient. Do you know when these events will be added? Can I do more suggestions for events?

@ryasmi
Copy link
Member

ryasmi commented Apr 24, 2018

Hi @RikGr, no worries. Not too sure when they'll be added right now, @davidpesce and I are pretty busy at the moment. Yeah you can certainly suggest new events.

@ryasmi
Copy link
Member

ryasmi commented Aug 28, 2018

If we make progress here let's target the following events first, then close this issue in favour of separate issues per event.

  • \mod_forum\event\discussion_created (start a new discussion)
  • \mod_forum\event\post_created (reply to a discussion)

@davidpesce
Copy link
Collaborator

Completed in PR #616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants