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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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? 10 Years, 12 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? 10 Years, 12 Months ago Karma: 748
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