Backie
Forum Replies Created
-
Hi,
do you have WP_DEBUG turned on, if so do you get any error messages?
If you wanna email me directly my email is iain.cambridge [at) fubra.com
It was released 2 weeks ago in version 1.3.2 all newer version retain the functionality.
There are a few settings for email notification.
Instant = no matter what score
Instant-100 = When 100% correct
Instant-75 = When 75% correct
Instant-50 = When 50% correct
Daily = Daily (noone uses this)
Weekly = Batched weekly (noone uses this)Hi,
Nice catch, while your solution does sound sensible, it would result in unnecessary processing. However if you look in wpsqt_site_quiz_finish() in quiz.php at 312, you’ll notice.
if ( isset($quizSection['stats']['correct']) ){ $correctAnswers += $quizSection['stats']['correct']; $totalQuestions += sizeof($quizSection['questions']); }Which should be.
if ( isset($quizSection['stats']['correct']) ){ $correctAnswers += $quizSection['stats']['correct']; } $totalQuestions += sizeof($quizSection['questions']);Hi,
No that if was meant to be closed there. However after another look I see that
$_SESSION[‘wpsqt’][$quizName][‘person’] = array();
$_SESSION[‘wpsqt’][‘start’] = microtime(true);would be better suited in the original if statement and a && $step == 0 added to the if.
Thanks for debugging this issue for me.
🙂
Hi,
I have no idea why PHP would be losing session data, however I have written a little tests script that will help be find out the cause of the problem. Which can be found at http://codepad.org/d42cLPi4 if you run this on your server via your browser it should hopefully allow me to figure out the issue.Iain
Forum: Plugins
In reply to: [Plugin: WP Survey And Quiz Tool] Additional Text BugI’ve pinpointed the addition info not updating, didn’t create teh sql query properly. Seems no one really uses that feature any where, as this bug must have been in there for ages. Thanks for pointing it out. Also added the stripslashes which I seem to forgotten to add in the default section.php veiw for quizzes.
On the note of the custom theme, directory seems to be correct on my installs. The use of the site id even on single instances means if the user ever decides to multi site that install the plugin won’t break. Since people would bitch more if did than they will over having the 1 when it’s a single site install.
Commiting and tagging a new release just now.
Hi Illks,
This quiz i not enabled is appearing on the second step or first step? If it’s the first step then you’ve not put in the quiz name properly, do so and it will work. If it’s the second step, please email me.You’re the second person to say this, I am yet to re-produce this error so I am unable to fix it at the moment.
If you wish to email me at iain.cambridge ( a t ] fubra.com then I can discuss possible ways for you to be able to help me fix this bug.
Hi,
Currently the one way to edit the exam finished message is to edit the custom pages. To do this you can follow the steps stated below.1 ) Goto configure quiz and locate the location of the custom pages directory for the quiz, each one is different.
2 ) Goto that directory if it doesn’t exist create it.
3 ) Copy the pages/site directory into the custom pages directory.
4 ) Edit site/quiz/finished.php in the custom pages directory.
5 ) Enjoy new custom page.Ah, I left a var dump in. Oops. Just updated a new release without the var_dump.
Hi,
Thanks for reporting this issue. Problem is I have no ideqa what the broken html is and you haven’t linked to an example or a screenshot. Can you please provide one?
Thanks
SeamusL
Hi, I can’t reproduce this error. Can I ask who you’re current hosting provider is?
Hi,
I am still trying to find the cause of this. I’ll look more into it tomorrow when I get back in the office.
Hi,
Is there any chance you could post the code for the custom plugin for the extra menu item?