Remove Group Display in Moodle App

Re: Remove Group Display in Moodle App

by Dani Palou -
Number of replies: 0
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Hi Tony,

I've checked if it was easy to hide this using CSS, but we don't have any class to identify those elements. I've opened an issue to improve this:

Once this is fixed you'll be able to hide the groups using a remote CSS, but please notice that the remote CSS feature is only available for Premium plans. You can find more info about plans in here.

Unfortunately, right now the only way to hide groups in forum is to modify the WebService so it doesn't return them. We don't recommend modifying Moodle LMS code, but right now it's the only way to achieve what you want. Basically you'd need to modify the Webservices:

mod_forum_get_discussion_posts
mod_forum_get_discussion_post

To not return the groups (inside "author"). You'd also need to modify the WebServices:

mod_forum_get_forum_discussions_paginated
mod_forum_get_forum_discussions

so they don't return a groupid.

Cheers,
Dani