Allow guests to submit pages, protected with CAPTCHA
| foxhound |
|
|---|---|
|
Thanks for the info EZ, I had some time to further dig into this and thanks to your help I did manage to get a lot further now. But, I cant get my CAPTCHA to work, the page will be submitted even though the code has not even been entered. This is what I have in my page.add.tpl:
<tr>
<td colspan="3" class="valid">
<!-- IF {PHP.usr_can_publish} -->
<input name="rpublish" type="submit" class="submit" value="{PHP.L.Publish}" onclick="this.value='OK';return true" /><input type="submit" value="{PHP.L.Putinvalidationqueue}" />
<!-- ELSE -->
{PHP.L.User}: {PAGE_OWNER} {PAGE_VERIFY_IMG}: {PAGE_VERIFY} <input type="submit" value="{PHP.L.Submit}" />
<!-- ENDIF -->
</td>
</tr>
The whole verify thing is completely ignored. I guess it has to do with the fact that the "submit" is folowed no matter a valid CAPTCHA code or not. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|