Solved

How do I Drupal 6 and/Captcha Expertise

Posted on 2013-12-27
8
284 Views
Last Modified: 2014-01-31
I have, what I thought was a tiny task. I need to set up Captcha configuration for a drupal 6 site. One of our departments won't switch to Drupal7 [for now anyway] and they won't get rid of a html form that they had built in a content type using php, but they want the spam issue resolved.

I need to add captcha, send it through for validation and then send the field values on to some outside company they use via a url in the action. I have a demo site set up that mimics the departments setup here:
http://d6mod1.lfwebz.com/

Open in new window

uname/pswd admin/admin. just click on the cGroup link in the nav.

In the edit view of the content type the "post", they are actually posting to an outside company's url and sending the form values to that company.

So where I am stuck, on submit of the form, the processing is sending the data elsewhere, so I need the captcha validation completed and then the normal processing of the form to take place.  How do I do this?

This is obviously a very easy set up, but since this is encapsulated within Drupal6, I can't get it work.
0
Comment
Question by:quikwallace
  • 5
  • 2
8 Comments
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39742139
I am not a Drupal expert by any means but I can at least show you the theory and practice of CAPTCHA, from simplest to more complex.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_9849-Making-CAPTCHA-Friendlier-with-PHP-Image-Manipulation.html
0
 

Author Comment

by:quikwallace
ID: 39742365
Hi Ray - I have the basics and the complex parts of captcha worked out-when it's a straight php app.  if you look the link, you can see I have it[captcha] set up, but the problem lies within the confines of Drupal I am guessing.  I can't get this form to validate and submit values to the url as needed because the form is built within a drupal content type and something is not playing well together.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 39742512
Yeah, I looked at it.  It did not seem to matter what I put into the CAPTCHA response - it just redirected back to the Welcome page.  Let's leave the question open and maybe a Drupal expert will come along with a better perspective.
0
 

Author Comment

by:quikwallace
ID: 39742543
I know - it is so weird.  With whatever I try - it seems I can only do one thing or the other - either only validate or only send the values, not both.  Thanks for looking.  I appreciate it.  Hopefully someone will have some ideas.  I have run out of things to try.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 17

Expert Comment

by:nanharbison
ID: 39743820
You could use Mollom, which was created by the company started by Dries Buytaert (he created Drupal in the first place). It is free for up to 50 uses per day, otherwise you have to pay for it.
https://drupal.org/project/mollom
It is SIMPLE to install, which was excellent after I tried and failed to install several different captcha modules. Mollom rejects the spam submissions silently so you never see them. It works REALLY well. I was using it on a site for an author who has been on the NYT best sellers list for over a year. We had to stop using though because he started to get way more than 50 hits per day and my client wasn't willing to pay for it. It's not that expensive.
Here is the home page for it:
http://mollom.com/
It's a brilliant product!
0
 

Author Comment

by:quikwallace
ID: 39744772
I think I have heard of Mollom, but like your client, my client gets move than 50 hits per day and wouldn't want to pay for this option.
0
 

Accepted Solution

by:
quikwallace earned 0 total points
ID: 39810080
Found a kind of klunky solution, but a solution  non the less.  For those who find this post - and using drupal 7+ use webforms, install both captcha and recaptcha, configure both.
0
 

Author Closing Comment

by:quikwallace
ID: 39823526
no other solution provided
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now