Giter Club home page Giter Club logo

Comments (6)

abias avatar abias commented on June 23, 2024

Hi Gordon,

thank you for this request.

Hi would it be possible for the restriction to work with tiles format perhaps extending the popup view time on mouse over. The problem is you can not click the password link in the popup when you mouse over the restriction label as it disappears.

As we are not using the tiles format here, I have to admit that I don't have an idea how this plugin would look like on the tiles format and what problems in could cause.

Could you please submit some screenshots or a screencast of the (mis)behaviour here?

Also could it work on restriction to a section

A previous issue about protecting a whole section is #5 which was just closed as there wasn't any further need announced.

Protecting whole sections and the reasons why it currently does not work is explained in https://github.com/moodleuulm/moodle-availability_password#protection-course-sections.

My answer is the same as in #5: Currently, we don't have any local need and resources to implement this addition. But if anyone from the community will code it and submit a pull request in proper way, we can handle the pull request.

Cheers,
Alex

from moodle-availability_password.

slydrone avatar slydrone commented on June 23, 2024

Hi Alexandrer I have attached the screen shot of the password popup when used with tiles.

image

from moodle-availability_password.

abias avatar abias commented on June 23, 2024

Thank you for the screenshot.

I understand now that the tiles format seems to modify the availability information of an activity in a way that it does not show the full availability information below the activity but that it provides a popover with this information.

On the other hand, availability_password modifies the availability information in a way that it adds a clickable link to the availability information which is unique as far as I know.

We have a catch-22 now. Who is to blame for this situation - availability_password or the tiles format? I think there are arguments for both sides.

What I can say now:

  • I do not think that we can include a fix for this situation into availability_password at the moment, as we strive to avoid including such fixes into our plugins for particular other plugins and as we don't use the tiles format here at the moment.
  • availability_password does not only add a link to the availability information, it also makes the activity link itself clickable. If you click the activity link of a restricted activity, the password popup will open too. Please check if this still works for you or if this is also broken by the tiles format.

Cheers,
Alex

from moodle-availability_password.

slydrone avatar slydrone commented on June 23, 2024

from moodle-availability_password.

abias avatar abias commented on June 23, 2024

Yes you can click it and it works. The only way I have found is to right click first which keeps the pop up open.

Thanks for this feedback.

So, if your students can click on the activity title and it shows the password popup, the basic functionality of availability_password is working for you in my point of view.

How about adding some custom CSS to your theme then to change the color of the "you enter the correct password" link in the popup to match the color of the "Not available unless" text?
This way, I would imagine, the link in the popover won't be received as a link anymore, students won't try to click it and won't fail.
But when they click on the activity, they can still enter the password and access it.

from moodle-availability_password.

abias avatar abias commented on June 23, 2024

So I will close this issue now.

from moodle-availability_password.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.