Closed jeffnowlearn closed 5 years ago
Hi,
Can you be more specific on what does not work when you include this condition with other codition using the OR operator?
Hi
Hi thanks for the response
I am use the or statement to restrict access to items in the Course Topic Screen for example (this example illustrates the rules I am using in my work)
What I tried to do is restrict access in a SCORM Activity to only users that had enrolled by PayPal (your plugin) OR belonged to a Group “001 Live”. However a user that enrolled by PayPal who did not belong to the Group “001 Live” did not see the SCROM ACTIVITY.
To test the logic I did use a Label activity with the same settings I used to configure the PayPal fields (these were consistent with your comments in the email) to display text on the Topic section. This did work for the same user enrolled by PayPal who did not belong to the Group “001 Live”.
So using the same field values and logic I got the Label Activity to display but not the SCORM file Activity to display for the same user.
Does that help explain?
Jeff
From: Daniel Neis Araujo notifications@github.com Sent: Tuesday, January 22, 2019 2:04 PM To: danielneis/moodle-availability_paypal moodle-availability_paypal@noreply.github.com Cc: jeffnowlearn jeffmartin@jandsmaritime.com; Author author@noreply.github.com Subject: Re: [danielneis/moodle-availability_paypal] PayPal SCORM Activity Restrict Access Logic (#19)
Hi,
Can you be more specific on what does not work when you include this condition with other codition using the OR operator?
— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/danielneis/moodle-availability_paypal/issues/19#issuecomment-456410116 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/Asslxc7yAJQMMVRTsabGBK5tDvJoiUAmks5vFxo7gaJpZM4aJsmA mute the thread. https://github.com/notifications/beacon/AsslxQGtdB80bACDpE6s_D1J4TUSpYUdks5vFxo7gaJpZM4aJsmA.gif
this plugin is not about paypal enrolment. this is about requiring users to make a payment using paypal to access an activity or resource, after he/she is enrolled by any method. this plugin should work with all activity plugins, please, review your setup.
Hi I am trying to use the restrict access within a SCORM Package activity but it does not work – I am trying to restrict access to different users belonging to specific groups using the OR statement . When I add an additional OR to include PayPal enrollment it does not work. However, with a label activity I have restricted this to users with PayPal enrollment and it does work. Also can you confirm the rules relating to the fields in Restrict Access :PayPal Payment 1) business email -= PayPal business email and is mandatory 2) Currency = I set this to British Pounds same as the course fee – is this mandatory if so this would mean we could only have one currency per course 3) Cost = is this mandatory as we have different fees for the same course? 4) Item name – this appears to be mandatory but is a free text field which can be any value 5) Item number - this appears to be mandatory but is a free text field which can be any value