Comments (6)
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.
Hi Alexandrer I have attached the screen shot of the password popup when used with tiles.
from moodle-availability_password.
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.
from moodle-availability_password.
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.
So I will close this issue now.
from moodle-availability_password.
Related Issues (15)
- Type parameter missing in save() HOT 5
- Upgrade plugin to Moodle 3.11 HOT 1
- Move away from YUI
- Fix codechecker complaints about PHPUnit naming HOT 1
- Type parameter missing in save - please add to v3.9 HOT 1
- Use Bootstrap styles in password prompt popup
- Fix Behat scenario "A student attempts to access the page activity with the activity link, but cancels the popup"
- Password for the mobile Moodle app HOT 1
- QR codes or bar codes instead of passwords HOT 2
- Problem with display restriction section in lessons HOT 2
- Enhancing Plugin Security and Authorization: Important Suggestions for Consideration HOT 2
- Get rid of the 'show more' link in Moodle 4.3
- not working after upgrade to moodle 3.4.1 HOT 1
- Course Section Protection HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-availability_password.