4images Modifications / Modifikationen > Templates & Styles (Releases & Support)

[MOD] reCAPTCHA

<< < (7/7)

batu544:
HI,
     I am using this mod.. but its bit surprising that.. still some spammer can add spam comments on my website..

V@no .. Do you have any idea why its happening ??

Thank you
batu

Sleepy:
Thanks for this great MOD ^_^.

lilal:
I have seen a few people asking how to modify the template file to make this work.

I am wondering the same thing...

Currently, my template file looks like this:

<table width="100%" border="0" cellspacing="0" cellpadding="1" align="center">
  <tr>
    <td valign="top" class="head1">
      <table width="100%" border="0" cellpadding="3" cellspacing="0">
        <tr>
          <td valign="top" class="head1">{lang_post_comment}</td>
        </tr>
        <tr>
          <td valign="top" class="row1">
            <form name="commentform" action="{self}" method="post" onsubmit="postbutton.disabled=true;">
              <table cellpadding="4" cellspacing="0" border="0">
                <tr>
                  <td width="90"><b>{lang_name}</b></td>
                  <td><input type="text" name="user_name" size="30" value="{user_name}" class="commentinput" /></td>
                </tr>
                <tr>
                  <td width="90"><b>{lang_headline}</b></td>
                  <td><input type="text" name="comment_headline" size="30" value="{comment_headline}" class="commentinput" /></td>
                </tr>
                <tr>
                  <td width="140" valign="top"><b>{lang_comment}</b></td>
                  <td><textarea name="comment_text" cols="35" rows="10" class="commenttextarea">{comment_text}</textarea></td>
                </tr>
                <tr>
                  <td width="90" valign="top">&nbsp;</td>
                  <td>{bbcode}</td>
                </tr>
                            <tr>
                                <td>{if captcha_comments}</td>
                                <td></td>
                            </tr>

                        <tr>
                  <td width="90" valign="top"><b>{lang_captcha}</b></td>
                  <td>
                             <a href="javascript:new_captcha_image();"><img src="{url_captcha_image}" border="0" id="captcha_image" alt="" /></a>
                             <br />
                              <input type="text" name="captcha" size="30" value="" class="captchainput" id="captcha_input" />
                              <br />
                              <table cellpadding="0" cellspacing="0" width="210">
                                        <tr>
                                            <td width="258">                             {lang_captcha_desc}</td>
                                        </tr>
                                    </table>

                           </td>
                </tr>
                        <tr>
                            <td>{endif captcha_comments}</td>
                            <td></td>
                        </tr>

                <tr>
                  <td width="90" valign="top">&nbsp;</td>
                  <td>
                    <input type="hidden" name="action" value="postcomment" />
                    <input type="hidden" name="id" value="{image_id}" />
                    <input type="submit" name="postbutton" value="{lang_post_comment}" class="button" />
                  </td>
                </tr>
              </table>
            </form>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

I have tried replacing the phrase "captcha" with "recaptcha" and I don't get an image on my comments page.

How, exactly, do I incorporate the {recaptcha} into this html coding?

Thank you so much,
lilal

Navigation

[0] Message Index

[*] Previous page

Go to full version