Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Sell Quiz advance payment & Start it for one day
Tagged: advance payment, Negative Marking, quiz, sell
- This topic has 17 replies, 2 voices, and was last updated 4 years, 2 months ago by Diana.
-
AuthorPosts
-
August 27, 2020 at 5:24 pm #298754Makarand ManeSpectatorHi I am looking to do 3 things with Quiz.
- Sell Quiz - This can be done sell quiz plugin
- Collect payment in advance - Student won't have immediate access to quiz
- Student can start quiz on scheduled date
- Negative marking for quiz - I have enabled this setting & set 0.33 negative marks for wrong answer. Finally at end, final marks are shown in round figure. We need to show mark as float value not Int. E.g if Students get total marks 2.67 then it should not print as 3. If student achieve marks in negative like -2.67 then should it should come as it is, not 0 or -3
August 28, 2020 at 11:05 am #298949DianaParticipantCan you please ping me back tomorrow. So I can check if negative marking question have any filter on which we can hook custom code for your requirement. Then I will share it with youAugust 29, 2020 at 4:23 am #299112Makarand ManeSpectatorHi Diana Hope you are doing well. Reminder for negative marking. Also waiting for reply on point 1 & 2August 29, 2020 at 7:31 am #299190Makarand ManeSpectatorHi Diana, For point 1, I am facing issue. I have installed wplms sell quiz plugin. then I have selected product from quiz but Take this quiz button is not coming here. Check on below link https://ch-lms.tyche.work/quiz/collect-data-quiz/ PFA screenshot https://prnt.sc/u7wbtx Is this due to react quizzes??August 29, 2020 at 8:24 am #299212DianaParticipantNot showing take this quiz button: https://prnt.sc/u7wbtx Because this is single quiz page, connect the quiz with course and then access the quiz Sell Quiz – This can be done sell quiz plugin (yes right) Collect payment in advance – Student won’t have immediate access to quiz Student can start quiz on scheduled date (in quizzes, you have to add a setting to add start date. So add a check that if student try to access the quiz, it will show a message like you cannot access it right now Negative marking for quiz – I have enabled this setting & set 0.33 negative marks for wrong answer. (ok) Finally, at end, final marks are shown in the round figure. We need to show the mark as a float value, not Int. E.g if Students get total marks 2.67 then it should not print as 3. If student achieve marks in negative like -2.67 then should it should come as it is, not 0 or -3 (I am sorry but this is not supported)August 29, 2020 at 12:23 pm #299290Makarand ManeSpectatorRegarding issue i have reported, plz read it first properly then reply. I have clearly wrote that i have installed wplms sell quiz plugin and i want to sell quiz. After selecting product user is not able to purchase quiz. Instead he is getting access to quiz immediately.August 31, 2020 at 10:39 am #299572DianaParticipantAre you sure that you are actually performing the steps carefully as shown in this video: https://wplms.io/support/knowledge-base/sell-quiz-as-productpmpro-membership-and-using-mycred-points/ And I was answering according to each and every point you wrote first: http://prntscr.com/u8vxpmAugust 31, 2020 at 1:09 pm #299627Makarand ManeSpectatorHi Diana,- Yes I have steps properly. Second thing, I am well in coding. I have read plugins code. It contains only 2 hooks. One for meta box & other to change button. Button is changing for non react quiz only. For react quiz button is not changing. It allows user to start quiz.
- I want to replace word Quiz with Test series. I have added filter using gettext but not working on react quiz
-
Not showing take this quiz button: https://prnt.sc/u7wbtx Because this is single quiz page, connect the quiz with course and then access the quiz
How these line relates to my question??????? I am asking about take this quiz (selling quiz) not take this course??????
September 1, 2020 at 6:13 pm #299980DianaParticipantPoint 1 & 2, you told me now that you are using react quizzes. Yes, in that case, the functionality you are trying to implement will not work. Need to check if it is possible or not and then will let you know by tomorrow my finding. Do ping me backSeptember 2, 2020 at 10:18 am #300139DianaParticipantI discussed this with @alex and he told me that point 1 is available in version 4 but not in version 3.9.9. It will take time to release it for the old version Point 2: Did you tried Loco Translate instead of using code to translate the text?September 3, 2020 at 7:41 am #300373Makarand ManeSpectator*Below numbers as per first topic.- @alex Can you give me hint so I can write code myself. Cant take risk of upgrading to 4.0, as we have lot of customisations.
- @diana I didn't tried Loco Translate. As gettext filter must work. Basically gettext from WordPress replaces all translation. This is working for non react quiz button. Only at react quiz button, not working. @alex Is this react translation also not supported?
- I will write condition for this. As per above discussion, @alex I guess, need to write code for non react quiz, right?
- @diana you should check/study WPLMS once again. This is already working with WPLMS. Only issue is on template of detailed result of single quiz, it shows round figure values of final marks. But database have exact marks, as we expected. PFA screenhsots https://prnt.sc/uapaul
September 4, 2020 at 12:41 pm #300812DianaParticipantThis reply has been marked as private.September 5, 2020 at 4:57 am #300971Makarand ManeSpectatorHi @diana This one your reply sounds for helpful to me. But I figured solution for point 1 & 3 for non react quiz. Looking for forward for inbuilt solution for react in coming version. I will try your suggestions for point 2 & 4. For point 4, already found that peace of code, but there is no any filter so I need to do changes to vibe plugins directly I think.September 5, 2020 at 10:52 am #301094DianaParticipantI won't recommend changing directly in the core plugin. But as you are a coder yourself. You know better can we close this topic then?September 5, 2020 at 2:20 pm #301167Makarand ManeSpectatorFor point 4 suggested code is for course result, & I need for quiz result. For quiz result, rounding code present under function bp_course_quiz_results() Let me know meaning of these 2 lines.
What is this filter (bp_course_quiz_results_from_activity_meta) stands for ??$from_activity_meta = apply_filters('bp_course_quiz_results_from_activity_meta',true,$quiz_id,$user_id,$course,$results); if(!empty($results) && !isset($_GET['force']) && $from_activity_meta){
& execution goes into else part? As inside else part a filter present which can allow me to stop roundoff.$sum = apply_filters('vibe_marks_roundoff',($sum+intval($marks)),$sum,$marks);
-
AuthorPosts
- The topic ‘Sell Quiz advance payment & Start it for one day’ is closed to new replies.