Restricted Sections visible on OneTopic format

Restricted Sections visible on OneTopic format

بواسطة - Seth Mengal
عدد الردود: 10
Hello,

I was using Collapsed topic before, and when a section would have been hidden for a student (Restricted if userprofile has a field....), the topic name and section was completely hidden..

But since ive started using Onetopic, even the section is Hidden, and when a student clicks the topic the message comes. '

Sorry, but you do not currently have permissions to do that (View hidden sections)'


But the topic name is visible. Is there a small-code-hack i could do, to make the Hidden Section not visible for students at all? Just how other course formats treat it.


المرفق Screenshot (75).png
المرفق Screenshot (76).png
متوسط التقييمات: -
رداً على Seth Mengal

Re: Restricted Sections visible on OneTopic format

بواسطة - Seth Mengal

Administrator Side:


These topics should completely be invisible.

المرفق Screenshot (77).png
المرفق Screenshot (78).png
رداً على Seth Mengal

Re: Restricted Sections visible on OneTopic format

بواسطة - Seth Mengal
Looking for a suggestion or answer
رداً على Seth Mengal

Re: Restricted Sections visible on OneTopic format

بواسطة - Richard Oelmann
صورة Core developers صورة Particularly helpful Moodlers صورة Plugin developers صورة Testers

Who are you logged in as when they are visible? - remember using 'login as...' to get a student type view is not advised in many respects as you are still actually a teacher/admin on the course. You need to log out of your admin/teacher role and log in with an actual (specially created test...) student account to see what they see properly.

رداً على Richard Oelmann

Re: Restricted Sections visible on OneTopic format

بواسطة - Seth Mengal
Gareth, i couldnt get hold of him.. I tried looking and matching the code of Collapased Topics to other, but couldnt find the right hack

Richard, i am logging in only as a student, by their username and password. Its not acting as it is supposed to actually.


رداً على Seth Mengal

Re: Restricted Sections visible on OneTopic format

بواسطة - Gareth J Barnard
صورة Core developers صورة Particularly helpful Moodlers صورة Plugin developers

Hi Seth,

It's probably something I could fix given the nature of reacting to completely hidden sections in the code.  However, it would take at least half a day and therefore something I do not have time for.

Kind regards,

Gareth

رداً على Gareth J Barnard

Re: Restricted Sections visible on OneTopic format

بواسطة - Caitlyn Duggan

Hi

I've also got this issue and would love a fix. I will post same in the plugin page.

Caitlyn

رداً على Caitlyn Duggan

Re: Restricted Sections visible on OneTopic format

بواسطة - David Herney
صورة Core developers صورة Particularly helpful Moodlers صورة Plugin developers

Hi...

I have upgraded a new release of the Onetopic format to moodle 2.6+ and moodle 2.7+, this release includes the below characteristics:
- Fixed visualization of hidden/unavailable topics/tabs. Thanks to Mike Grant for your contribution on it.
- Fixed bug when creating courses with Onetopic format by default. Thanks to Mike Grant, again ;)
- Added "Disable/enable asynchronous edit functions" in order to make it possible to move the resources between tabs. Please, test it and please send me your feedback.

Saludos

رداً على David Herney

منشور المنتدى هذا قد تمت إزالته

محتوى منشور المنتدى هذا قد تمت إزالته ولم يعد بالإمكان الوصول إليه.
رداً على مستخدم محذوف

Re: Restricted Sections visible on OneTopic format

بواسطة - David Herney
صورة Core developers صورة Particularly helpful Moodlers صورة Plugin developers

Hi Matt...

In order to move a resource:

  1. Select "Disable/enable asynchronous edit functions"
  2. Select the arrows of the resource
  3. Go to the target topic
  4. Click on new position


Saludos