I would also like this functionality
Thread Starter
Oaksey
(@oaksey)
Hey Lewiscornwell
I have come up with a quick work-around for the social share for posting your score to Facebook if your interested? Until there is a better work around/fix…
I turned on the ‘Activate graduation’ in the quiz results text (which shows a different message depending on your score range) and I then inserted a image which says on it ‘share to Facebook’ then on this image I inserted a hyperlink to the Facebook sharer URL which I altered to my own message and website:
https://www.facebook.com/sharer/sharer.php?s=100&p[url]=http://WWW.YOURWEBSITE.COM/QUIZ/ADDRESS/&p[images][0]=http://WWW.YOURWEBSITE.COM/IMAGES/FACEBOOKSHARE.JPG&p[title]=I+just+scored+between+0%+and+20%+in+the+quiz!+Try+the+quiz+out+for+yourself
I then repeated the image and link for each of my 5 graduations, 0%-20%, 20%-40%, 40% – 60%, 60% – 80% and 80% – 100%
Hope this helps a little!
I would assume you could also adopt the same process for posting to twitter if you find out the twitter share URL…
It’s pretty straight-forward to alter the results message (if you must edit the source, you’ll find it in lib/view/WpProQuiz_View_FrontQuiz.php) so adding a Facebook share button is not a problem. However, getting hold of the Percentage (or score) variable in order to share *is* more tricky.. Anyone had any experience making the quiz variables accessible?
Rich
(@rjbwarrenmecom)
I too would like this functionality. Anyone got any ideas?