|
I'm using moodle 1.5.3 and have same problem, i think this problem can only be solved if the groupid information be stored in mdl_forum_posts table not in mdl_forum_discussions
So when i chage the groups only show the posts of this groups. This will solve the problem of geral forum (the default forum type) with separete groups. This is still an issue in the latest 1.8.2+. The only way for students to reply to a single simple discussion is for it to be set up with no groups. If the forum is set up with visible or separate groups, students cannot reply. With other forum types, instructors can post to each group, but that doesn't seem to be an option with this forum type.
Yes, i made some modification on this code, i add $forum->type==single to ignore the group checks, but with this i lost the information of groups, so i can't separete the posts.
If the post holds information of the group (groupid), this problem will be solved, and this chek (the code above) it's not necessery The check will be done when the teacher selects the group what he wants to see I have the same error. And just in v1.8.1 to which I have passed from 1.6. +. By looking $modcontext I find that it empty. To understand I has not become why it is not filled in, and simply has replaced in the code $modcontext to $ coursecontext and all has become to work perfectly.
If (! ((empty ($mygroupid) and $discussion - > groupid == -1)
This duplicates issue
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
we have the same problem with the admin user. We cant answer in a forum with groups