In my social network site, I have a link to a specific survey. When the users finally finish the survey, they are redirected to the social network.
Additionally, my social network has enabled the hypeGameMechanics plugin developed by Ismayil (thanks Ismayil, it's a great tool :D).
My question is...
Is there any way to trigger an event when users finish the survey to give them points for that? What do you suggest for me?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Jose Alemany Bordera@jalemany1
Jose Alemany Bordera - 0 likes
You must log in to post replies.Create two page handlers one for outgoing and one for incoming survey request, so instead forwarding to the survey directly send them to a custom page, write some magic value to session, then forward them to the survey. When survey is complete send them to the incoming page, read the magic value (if possible, or somehow compare that survey is the one you sent them to), trigger an event and forward to landing
I did it! It was easy due to your tip. Thanks, Ismayil.