Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Run custom PHP code on Quiz Pass/Failure?
(1 viewing) (1) Guest
component
Go to bottomPage: 1
TOPIC: Run custom PHP code on Quiz Pass/Failure?
#42644
Run custom PHP code on Quiz Pass/Failure? 11 Years, 4 Months ago Karma: 0
Hi Again,

I wish to change a users ACL Group when they pass or fail a quiz.

How would I achieve this best?

I had thought an override template containing my custom code, for the exam results page might work ??..

Cheers,
Pete
The administrator has disabled public write access.
 
#42652
Re:Run custom PHP code on Quiz Pass/Failure? 11 Years, 4 Months ago Karma: 760
Hello,

The best solution is create a plugin and subscribe to "onEndQuiz" event and call necessary PHP code in event handler. You can see how it works in "ARI Quiz Alpha User Points" plugin. It is available here, see "Files" tab or you can order a custom development and we will create this plugin for you.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1