Jump to:

1033 Posts in 808 Topics by 313 members

Forum Module

SilverStripe Forums » Forum Module » Notification emails for moderators or admins

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 530 Views
  • neilcreagh
    Avatar
    Community Member
    94 Posts

    Notification emails for moderators or admins Link to this post

    Quick question, does the Forum module for 3.1 have notification emails of new postings for moderators built in? I ask because on this pull request it seems to be mentioned:

    "moderator notifications can be enabled via the Forum::$notify_moderators - this automatically sends all activity to the moderators of the given forum using the new template."

    But I don't know how to implement this?

    I see other people have been working on a separate module for this but just wondering if it's built in to the latest Forum Module?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Notification emails for moderators or admins Link to this post

    Yes it is built into the latest module for 3.1. To activate it set

    Forum::$notify_moderators = true;

    If your _config.php file.

    This flag should probably be moved to the CMS as a setting.

  • neilcreagh
    Avatar
    Community Member
    94 Posts

    Re: Notification emails for moderators or admins Link to this post

    Fantastic, thank you

  • davepolyester
    Avatar
    Community Member
    47 Posts

    Re: Notification emails for moderators or admins Link to this post

    This is great news Will!

    Would it be particularly difficult to extend this to allow Forum Members to subscribe to email notifications on a forum by forum basis?

    The work I've done based on Elgordo's great little module for SS2.4 has given me this functionality at the expense of having moderators at all. (See this thread)

    Any suggestions or guidelines you could provide would be most helpful!

    Cheers.

  • macka
    Avatar
    Community Member
    22 Posts

    Re: Notification emails for moderators or admins Link to this post

    I too would like to see a subscription per forum basis.. that would be awesome.

    davepolyester - did your code work for 3.1??

  • davepolyester
    Avatar
    Community Member
    47 Posts

    Re: Notification emails for moderators or admins Link to this post

    Haven't tried to implement it on 3.1 yet Macka, but will post my results when I get to it, unless someone else does the job for me ;-)

    I want to do it properly for 3.1, as a module rather than a hack.

  • macka
    Avatar
    Community Member
    22 Posts

    Re: Notification emails for moderators or admins Link to this post

    Hi davepolyester,

    Got fed up with this, and decided to have another hack it myself. As i'm no developer realistically, so therefor i probably haven't done this right, but anyhow...... So far i have (with your help too thanks!) managed to get a link to display on the forum/category page so users can subscribe. It will also now email anyone who is subscribed to that forum that a post has been made.
    So um - yeah - have a look if you wish. https://github.com/macka601/silverstripe-forum

    macka.

  • davepolyester
    Avatar
    Community Member
    47 Posts

    Re: Notification emails for moderators or admins Link to this post

    Cool man, I look forward to checking it out. Don't worry, you can't be any less of a developer than I am!

    530 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.