Author Topic: [MOD] reCAPTCHA  (Read 71872 times)

0 Members and 1 Guest are viewing this topic.

Offline batu544

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
    • Free Celebrity wallpapers
Re: [MOD] reCAPTCHA
« Reply #30 on: March 18, 2011, 03:23:20 PM »
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

Offline Sleepy

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: [MOD] reCAPTCHA
« Reply #31 on: June 05, 2011, 08:28:24 AM »
Thanks for this great MOD ^_^.

Offline lilal

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] reCAPTCHA
« Reply #32 on: October 03, 2014, 09:45:22 PM »
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