Quote:
Originally Posted by OrangeFlea
It wasn't an independent file fix; he updated the whole hack to resolve the problem, so if you don't have the pre-fix version for 3.0, then you won't have a point of reference, unless you want to compare the fixed 3.0 version with this buggy 3.5 version.
Anyway, here's where Zero said he fixed it: https://vborg.vbsupport.ru/showpost....&postcount=229
Okay, might have found the issue. Compare 2.1 to 2.2:
2.1 (the fixed version for 3.0) has this line and it refers to the quote thing:
Code:
$Quest['q_question'] = parse_bbcode2(str_replace('"','"',$Quest['q_question']), 0, 0, 0, 1);
2.2 (our buggy version) doesn't however:
Code:
$Quest['q_question'] = $bbcode_parser->parse(unhtmlspecialchars($Quest['q_question']));
They're both on the same line of their respected files. But there are other differences in that line as you can see, and I don't know what it will do to the hack in general if I make a direct copy/paste (I'm at work, so I can't do a backup). Can an expert coder provide some input?
|
I'm not an expert coder, however I am *fairly* certain that change is simply to do with the different way 3.5 and 3.6 parse BBcode compared to 3.0.
I am sure that isn't the fix. I wouldn't try swapping it out, at best bbcode won't work in the quiz, at worst I suspect you'll get a functions error.
I have to say, I started off with the 3.0 version of the quiz which I installed back in February of this year, and the apostrophe bug was present then. So if he said he'd fixed it before then, he hadn't.