Форуми / Cotonti / Extensions / Math Captcha

ToM
#25358 26.07.2010 17:32
I bless you, thank you very much it was:
---------
"- That the tags are NOT inside ANY <!-- --> comment blocks ( other than the MAIN one )."

issue (and the .add.firs ofc).
---------

So there is no possibility to add this plug-in captcha into ANY <!-- -->?
e.g. forum.posts.tpl has its form into <!-- --> so I have to move the <!--END--> up?
like this case:

<!-- BEGIN: FORUMS_POSTS_NEWPOST -->

<!-- BEGIN: FORUMS_POSTS_NEWPOST_ERROR -->
<div class="error">
{FORUMS_POSTS_NEWPOST_ERROR_MSG}
</div>
<!-- END: FORUMS_POSTS_NEWPOST_ERROR -->

<form action="{FORUMS_POSTS_NEWPOST_SEND}" method="post" name="newpost">
<div style="width:100%;">{FORUMS_POSTS_NEWPOST_TEXTBOXER}</div>

<!-- END: FORUMS_POSTS_NEWPOST -->
<CENTER>
{FORUMS_POSTS_VERIFYIMG}
{FORUMS_POSTS_VERIFYINPUT}
</CENTER>
<div class="valid"><input type="submit" value="{PHP.L.Reply}" /></div>
</form>

This line " <!-- END: FORUMS_POSTS_NEWPOST -->" should be (or is in original) after </form> but for Captcha functionality I had to move up before captcha VERIFYMG.

Is it the correct solution? or there is a better ? If I need to put captcha into <!-- --> I have to implement its (captcha) code to a main PHP e.g. forum.posts.inc.php?

Thank you very much.
Salvation is the gift but sometimes is to hard for us to acknowledge it.