WordPress.org

Support

Support » Plugins and Hacks » Start Quiz button isn't clickable

Start Quiz button isn't clickable

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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?

    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>

    wWhere is WpProQuiz_View_FrontQuiz.php?
    Thanks

    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

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

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

    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.

    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.

    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.

    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/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Start Quiz button isn't clickable’ is closed to new replies.