- open "filter/tex/filter.php" with a text editor
- locate the following lines (around line 125):
for ($i=0; $i<count($matches[0]); $i++) {
$texexp = $matches[1][$i] . $matches[2][$i] . $matches[3][$i] . $matches[4][$i]; - change the above lines to the following:
for ($i=0; $i<count($matches[0]); $i++) {
$texexp = $matches[1][$i] . $matches[2][$i] . $matches[3][$i] . $matches[4][$i];
if ($texexp=='ClueNum') continue; - save the modified file
- locate the following lines (around line 90):
if (!preg_match('/<tex/i',$text) and !strstr($text,'$$') and !strstr($text,'\\[') and !preg_match('/\[tex/i',$text)) { //added one more tag (dlnsk)
return $text;}
- change the above lines to the following:
if (!preg_match('/<tex/i',$text) and !strstr($text,'$$') and !strstr($text,'\\[') and !preg_match('/\[tex/i',$text)) {
return $text;}
if (preg_match('/Created with (Mac )?Hot Potatoes/i', $text)) {
return $text;}
FYI the 'Created with Hot Potatoes' string appears near the top of all HP5 and HP6 quizzes
regards
Gordon