WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Pro-Quiz
Start Quiz button isn't clickable (11 posts)

  1. vikasgautam
    Member
    Posted 7 months ago #

    "Start Quiz" button isn't clickable. please help. Quiz doesn't start

    http://wordpress.org/plugins/wp-pro-quiz/

  2. MakeTechBetter
    Member
    Posted 7 months ago #

    Same problem. Not getting a jquery error as in previous posts. The "Start Quiz" button has no link to anywhere. In the plug-in test environment, it works okay, but in the site itself, it works. I'm doing this in a dev site locally, so can't share. Thoughts?

  3. jespe
    Member
    Posted 7 months ago #

    For mi is good to add a line code in WpProQuiz_View_FrontQuiz.php file:

    <script type="text/javascript">
    		jQuery.noConflict(); //line added
    		jQuery(document).ready(function($) {
    			$('#wpProQuiz_<?php echo $this->quiz->getId(); ?>').wpProQuizFront({
    				quizId: <?php echo (int)$this->quiz->getId(); ?>,
    				mode: <?php echo (int)$this->quiz->getQuizModus(); ?>,
    				globalPoints: <?php echo (int)$quizData['globalPoints']; ?>,
    				timelimit: <?php echo (int)$this->quiz->getTimeLimit(); ?>,
    				resultsGrade: <?php echo $resultsProzent; ?>,
    				bo: <?php echo $bo ?>,
    				qpp: <?php echo $this->quiz->getQuestionsPerPage(); ?>,
    				catPoints: <?php echo json_encode($quizData['catPoints']); ?>,
    				formPos: <?php echo (int)$this->quiz->getFormShowPosition(); ?>,
    				lbn: <?php echo json_encode(($this->quiz->isShowReviewQuestion() && !$this->quiz->isQuizSummaryHide()) ? __('Quiz-summary', 'wp-pro-quiz') : __('Finish quiz', 'wp-pro-quiz')); ?>,
    				json: <?php echo json_encode($quizData['json']); ?>
    			});
    		});
    		</script>

    The same in line 152 aprox:

    <script type="text/javascript">
    			jQuery.noConflict();/*line added*/
    		jQuery(document).ready(function($) {
    			$('#wpProQuiz_<?php echo $this->quiz->getId(); ?>').wpProQuizFront({
    				quizId: <?php echo (int)$this->quiz->getId(); ?>,
    				mode: <?php echo (int)$this->quiz->getQuizModus(); ?>,
    				timelimit: <?php echo (int)$this->quiz->getTimeLimit(); ?>,
    				resultsGrade: <?php echo $resultsProzent; ?>,
    				bo: <?php echo $bo ?>,
    				qpp: <?php echo $this->quiz->getQuestionsPerPage(); ?>,
    				formPos: <?php echo (int)$this->quiz->getFormShowPosition(); ?>,
    				lbn: <?php echo json_encode(($this->quiz->isShowReviewQuestion() && !$this->quiz->isQuizSummaryHide()) ? __('Quiz-summary', 'wp-pro-quiz') : __('Finish quiz', 'wp-pro-quiz')); ?>
    			});
    		});
    		</script>
  4. unibelia
    Member
    Posted 7 months ago #

    wWhere is WpProQuiz_View_FrontQuiz.php?
    Thanks

  5. unibelia
    Member
    Posted 7 months ago #

    I only have this in the editor...
    wp-pro-quiz/wp-pro-quiz.php
    wp-pro-quiz/uninstall.php
    wp-pro-quiz/readme.txt
    wp-pro-quiz/js/wpProQuiz_toplist.min.js
    wp-pro-quiz/js/wpProQuiz_toplist.js
    wp-pro-quiz/js/wpProQuiz_front.min.js
    wp-pro-quiz/js/jquery.ui.touch-punch.min.js
    wp-pro-quiz/js/wpProQuiz_admin.min.js
    wp-pro-quiz/js/wpProQuiz_admin.js
    wp-pro-quiz/js/wpProQuiz_front.js
    wp-pro-quiz/css/wpProQuiz_front.css
    wp-pro-quiz/css/wpProQuiz_front.min.css

  6. jespe
    Member
    Posted 7 months ago #

    wp-pro-quiz > lib > view >WpProQuiz_View_FrontQuiz.php

  7. unibelia
    Member
    Posted 7 months ago #

    I could found it... but Does't work it... mi web is http://www.unibelia.es, can you help me?... Thanks very much!!

  8. unibelia
    Member
    Posted 7 months ago #

    doesn't work out raw tags. I pick the sencond alternative in the "in case of problem" and worked out but is not well aligned. Maybe it could help you. Thank very much.

  9. unibelia
    Member
    Posted 7 months ago #

    He visto cómo funciona el plugin y estoy muy entusiasmado. Me gustaría que alguien me ayudara a resolver el problema que tengo con la alineación de las preguntas y respuestas. Gracias a todos los que ya han ingresado y han intentado ver el problema sin éxito. Saludos y espero usar este gran plugin pronto.

  10. unibelia
    Member
    Posted 7 months ago #

    I have seen how the plugin works and I'm excited. I would like someone help me solving the problem I have with the alignment of the questions and answers. Thanks to all who have already entered and tried unsuccessfully to see the problem. Cheers and hope to use this great plugin soon.

  11. subho111
    Member
    Posted 6 months ago #

    Can you please help me out. My "Start Quiz" button in the front end is not working. Quiz doesn't start.

    This is the web link
    http://ascinate.in/scholarship/quiz/

Reply

You must log in to post.

About this Plugin

About this Topic