0

I have gone through so many question asked here but not find exact answer. The main problem I have faced is to create a quiz using 7.x-4.0-rc2, I made some user who can take quiz. One user can take quiz only once, but I need that particular user can take quiz again very next day (After 12AM).

1 Answer 1

0

I would suggest to make use of rules:

  1. Create user role (by hand) which always access to quiz let say QUIZER
  2. On Event "I want to enter Quiz"
  3. Look up Time Last entered date from current olr
  4. Check if allowed to go on
  5. Add role quizer to current user
  6. On event "I'm stopping the Quiz"
  7. Remove role quizer from current user
  8. Save Time last entered Quiz in user profile
4
  • Thanks @Justme for your reply. I tried with rules already what this is also not working as I needed.
    – Anuj Viz
    Commented Aug 22, 2016 at 4:08
  • What is not working in rules for this?
    – Justme
    Commented Aug 22, 2016 at 5:41
  • can you please tell me in brief. I am not able to follow the procedure you explain above.... and the main thing am looking for is, If an authentic user failed the quiz today. But i have to make it the way in which User should able to take test again very next day after 12 AM. (Currently in working project user able to take the quiz only after 24 hours.)
    – Anuj Viz
    Commented Aug 22, 2016 at 6:02
  • Pls post the following. The steps you need to have in functionality and a export of your current rule
    – Justme
    Commented Aug 22, 2016 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.