Hi
Thanks for the Mod
After installing "ARe you human" and "Anti-Bot-Puzzles" which changed register.template.php
then I tried installing this mod and got test failed, so then I tried your manual edits and now:
Template Parse Error!
There was a problem loading the /Themes/default/Register.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: parse error, unexpected $ in .../Themes/default/Register.template.php on line 867
858: echo '
859: // ]]></script>
860: </td>
861: </tr>
862: </table>
863: <input type="hidden" name="sc" value="', $context['session_id'], '" />
864: </form>';
865: }
866:
867: ?>
868:
869:
um one symbol may be the problem "}" was supposed to be added right before. I actually have all this:
</tr>';
}}
// Start of Anti-bot Registration Puzzles Mod
echo '<tr valign="top">
<td width="40%" valign="top">
<b>'.$txt['puzzle_'.$context['puzzle'][0]].'</b><br />
'.$txt['puzzle_antibot'].'
</td>
<td>
'. ( empty($context['puzzle'][1]) ? '' : $context['puzzle'][1].'<br />' ) .'
<input type="text" name="'.$context['puzzle'][2].'" size="30" value="" tabindex="', $context['tabindex']++, '" />
</td>
</tr>';
// End of Anti-bot Registration Puzzles Mod
// Start of Are You Human? mod
echo '<tr valign="top">
<td width="40%" valign="top">
<b>', $txt['are_you_human'], ':</b>
<div class="smalltext">', $txt['are_you_human_desc'], '</div>
</td>
<td>
<select name="',$_SESSION['areyouhuman'],'" tabindex="', $context['tabindex']++, '" class="select">
<option value="1">', $txt['are_you_human_no'], '</option>
<option value="2">', $txt['are_you_human_unsure'], '</option>
<option value="3">', $txt['are_you_human_yes'], '</option>
</select>
</td>
</tr>';
// End of Are You Human? mod
// Are there age restrictions in place?