Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Restricted item #145

Open
wai52168 opened this issue Nov 18, 2021 · 3 comments
Open

How to use Restricted item #145

wai52168 opened this issue Nov 18, 2021 · 3 comments
Assignees

Comments

@wai52168
Copy link

Hello Isuru
This plugin is great.
I Restricted the questionnaire only user osh can access
But can't find the recipient
display : [Local Reminder] No users found to send reminder for the event#20
Please help me thanks

cron log****
Execute scheduled task: Local Reminders (local_reminders\task\send_reminders)
... started 16:32:52. Current memory use 7.1MB.
[Local Reminder] Time window: 2021年 11月 18日(Thu) 10:16 to 2021年 11月 18日(Thu) 16:32
[Local Reminder] Found 1 upcoming events. Continuing...
[Local Reminder] Processing event in ahead of 1 days.
[Local Reminder] Processing event#20 [Type: open, inaheadof=1 days]...
[Local Reminder] Finding out users for event#20...
[Local Reminder] Event supports overrides for key
[Local Reminder] No overrides for activity 11!
[Local Reminder] No users found to send reminder for the event#20
[Local Reminder] Marked this reminder execution as success.
[LOCAL REMINDERS] Overdue Activity Reminder Cron Started. Events between @(1637201815, 1637224372)
[LOCAL REMINDERS] No expired events found for this cron cycle! Skipped.


moodle
**

@isuru89
Copy link
Owner

isuru89 commented Nov 18, 2021

@wai52168 Can you explain the steps you followed to create restricted access? And this is a quiz, right?

@wai52168
Copy link
Author

wai52168 commented Nov 19, 2021

@isuru89
yes, this sample is a quiz.(It may also be other type)
setting step.

●This courses participant
a1

●Topic 1 access only user josh
b1
b2

●Login with josh can access this quiz.
b4

●But can't receive Reminders
cron log
[Local Reminder] No users found to send reminder for the event#20

●The way to use groups is also No users found.
c01

Thank you for taking the time to understand my question, thank you

@isuru89
Copy link
Owner

isuru89 commented Mar 6, 2022

@wai52168 Sorry for the late response. Thanks for your detailed explanation.
Will try to reproduce this in my local instance.

Ideally, this user filtering must be provided by Moodle core itself. The reminder plugin should not do those string comparison and filtering outs.
I will check and also will fix if this indeed can do with a moodle core function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants