Captcha Giving me a Headache

amanda - May 4, 2007 - 02:31

I have a couple of CCK content types defined on an otherwise simple drupal site and I want to add captcha to the "create a node" action, but it just isn't working. I tried implementing this http://drupal.org/node/105525 patch, to no avail. I don't get any errors, I just don't get any captcha.

I feel like I'm doing somethint stupid here. Skipping an obvious step (I do that when I'm feeling peevish).

I just moved the whole site to 5.1 for the sole purpose of implementing captcha and I've gotten myself no where.

a related problem

amanda - May 4, 2007 - 02:42

Also, it says here (http://drupal.org/project/captcha) that I need to visit admin > access control to enable access to captcha, but it isn't an option there.

=-=

VeryMisunderstood - May 4, 2007 - 03:05

install the 5.x-dev version of captcha

then visit administer -> site configuration -> captcha
set where you want the captcha to be working for anon and authenticated users in the collapsed menus.

the access control permission was should be omitted from the readme.txt if its still there, that step isn't necessary any more.

But I did that.

amanda - May 7, 2007 - 23:23

I used 5.x-dev

and, I did set what I want in the collapsed anon menu.

And there still isn't a captcha hurdle for anonymous users submitting a node.

Solution

adminfor@inforo... - May 19, 2007 - 22:17

If you are using captcha 5.2 you may download and enable the module form-store, which, if you enable collecting forms, this module records each form while navigating. Then, you may go to captcha module and add the points you wish.

If you are using previous captcha version 5.1, which is still running with textimage captcha, you have to enable each form manually in captcha module.

The module has a problem because initial setup has a wrong "node_form" point, which should be "story_node_form", "forum_node_form", "yourcckform_node_form" and so on.

function captcha_admin_settings() {

  // This is where you can add more captcha points.
  $captcha_points = array(
    'comment_form' => t('Comment form'),
    'user_login' => t('User login form'),
    'user_login_block' => t('User login form block'),
    'user_edit' => t('User edit form'),
    'user_register' => t('User registration form'),
    'user_pass' => t('User forgot password form'),
    'contact_mail_user' => t('User contact form'),
    'contact_mail_page' => t('Sitewide contact form'),
    'node_form' => t('Create a node'),
  // this previous "node_form" shoud be "story_node_form" in order to work
    'story_node_form' => t('Create a node_story'),
    'forum_node_form' => t('Create a forum_story'),
    'page_node_form' => t('Create a page_story'),
  // simply add other cck forms as follows
    'yourform_node_form' => t('Create a yourform_story'),
  );

Not elegant but works
Hope this help
Gustavo
http://www.inforo.com.ar

No captcha on user registration page

SomebodySysop - June 21, 2007 - 00:54

I have profiles enabled on my user registration page. I see "user_register" as a captcha point for anonymous, but no captcha on the user registration page (although, if I select "math") it does appear. I thought it was a permissions problem with textimage, but I have another anonymous captcha point where I do see the captcha image.

Any suggestions?

MyCaptcha

Rosamunda - August 20, 2007 - 04:52

I´ve found that the MyCaptcha module, created by Heine is the best thing to do.
I´ve installed "Captcha", "MyCaptcha" AND "Form Store" and everything works just I want.

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

 
 

Drupal is a registered trademark of Dries Buytaert.