PDA

View Full Version : CAPTCHA capabilities in registration page


abenzev
07-13-2007, 10:09 AM
Hi,
How do I implement CAPTCHA on the registration page for new users?
Thanks in advance.
Avraham

andy77
07-13-2007, 09:10 PM
Just a thought... Look at /templates/article_comments_page.tpl

{IF_COMMENT_CAPTCHA}
<h4>{LNG_ADD_COMMENT_CAPTCHA}</h4>
<div class="form_line">
<label>{LNG_IMAGE}: </label>
<div class="formElement">
<img src="{ROOT}imagecode.php?img&amp;enc={ENC_STR}" align="middle" alt="" />
</div>
</div>
<div class="form_line">
<label>{LNG_CODE}: </label>
<div class="formElement">
<input name="enc" type="text" maxlength="8" class="input_Fields" tabindex="5" />
</div>
</div>
{/IF_COMMENT_CAPTCHA}
Paste this on registration template and see if it works... thumbs up ;)

pcoskat
07-13-2007, 10:51 PM
Andy, is there a way to make the CAPTCHA more clear? I have pretty good eyes, and a huge monitor, and I have to admit it's kind of hard to see on the comment form...

mitov
07-14-2007, 10:01 PM
Hiya,

what i did was change the background colour of the CAPTCHA. this is an image file which can be found in the templates images folder. I changed the hint from grey to blue to make the text stand out better.

hope this helps.

steaua
07-15-2007, 09:50 AM
Is there any way to make the captcha with LESS characters!? I guess there is, please answer :)

Micha
07-16-2007, 08:16 AM
In your Vivvo root folder find imagecode.php and edit line 9

$enc = substr(md5('icemelondawg'.$_GET['enc']), 2,8);

Just change last number (8 is default) to value that you want, 5, 6...

$enc = substr(md5('icemelondawg'.$_GET['enc']), 2,5);

that should do it :)

newcomer11
07-24-2007, 10:26 AM
Just a thought... Look at /templates/article_comments_page.tpl

{IF_COMMENT_CAPTCHA}
<h4>{LNG_ADD_COMMENT_CAPTCHA}</h4>
<div class="form_line">
<label>{LNG_IMAGE}: </label>
<div class="formElement">
<img src="{ROOT}imagecode.php?img&amp;enc={ENC_STR}" align="middle" alt="" />
</div>
</div>
<div class="form_line">
<label>{LNG_CODE}: </label>
<div class="formElement">
<input name="enc" type="text" maxlength="8" class="input_Fields" tabindex="5" />
</div>
</div>
{/IF_COMMENT_CAPTCHA}
Paste this on registration template and see if it works... thumbs up ;)


Dear andy77, your code let the {IF_COMMENT_CAPTCHA} and {/IF_COMMENT_CAPTCHA} apprear on the screen and user can type any code to pass this check!! Any more detail on this solutions?
________
Toyota tf106 specifications (http://www.toyota-wiki.com/wiki/Toyota_TF106)

pcoskat
07-24-2007, 10:27 PM
Any more detail on this solutions?

ditto........

newcomer11
07-25-2007, 05:07 AM
What do you mean? Any one can help me?
________
Medical marijuana news (http://potwire.com)