Moodle

No way to send site news to all users

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.2, 1.8
  • Fix Version/s: 1.7.2, 1.8
  • Component/s: Forum
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_17_STABLE, MOODLE_18_STABLE

Description

There appears to be no way to send site news to all users unless the administrator manually enrolls everyone in the forum. I have assigned everyone the role of "student" at the site level and then made sure that the News forum was set so that everyone was forced to subscribe, but no news has gone out. The regular forum messaging is working as it should.

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

-> Nick.

Check that the forcesubscribe setting for a forum in the $SITE course works in forum_cron() in mod/forum/lib.php ...

Show
Martin Dougiamas added a comment - -> Nick. Check that the forcesubscribe setting for a forum in the $SITE course works in forum_cron() in mod/forum/lib.php ...
Hide
Mohamed Mostafa added a comment -

i have the same problem but, the site news, and forum not working .

Show
Mohamed Mostafa added a comment - i have the same problem but, the site news, and forum not working .
Hide
Nicolas Connault added a comment -

Yu's recent changes seems to have fixed this issue

Show
Nicolas Connault added a comment - Yu's recent changes seems to have fixed this issue
Hide
Martin Marques added a comment -

I just found this problem on an upgrade from 1.5.3 to 1.8 .2 (passing through 1.6.5 and 1.7.2). Exactly, where can I find a patch to solve this problem?

Show
Martin Marques added a comment - I just found this problem on an upgrade from 1.5.3 to 1.8 .2 (passing through 1.6.5 and 1.7.2). Exactly, where can I find a patch to solve this problem?
Hide
Stuart Parker added a comment - - edited

This is a patch to lib.php to ignore the course enrolment check if the course is the site course. This means that you don't have to add all users as students into the site course just to send them a message.

Show
Stuart Parker added a comment - - edited This is a patch to lib.php to ignore the course enrolment check if the course is the site course. This means that you don't have to add all users as students into the site course just to send them a message.

People

Dates

  • Created:
    Updated:
    Resolved: