Hi. I'm loving my install of TP. Now all I'm missing is a feed back form that doesn't pop up, actually resides in the block, and most important has a visual confirmation.
Over the last few years, my forum keeps getting spam, and I end up with 200-300+ junk mails again. In the spam box yes, but it's still a pain. Constantly it seems like people have been trying to hack my CGI email scripts... what a pain.
Any thoughts?
try searching the net for a feedback form which uses captcha
Thanks so much. I'll do that! :)
and if u find one be sure to share (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fforum%2FSmileys%2Fdefault%2Fbigsmiley.gif&hash=93888c36dc2cf9a531080cf0dbc93b77f4619304)
Will do. I've been having fun reading. Check this site out: http://www.protectwebform.com/smartcaptcha
They suggest simply using a Java script since mosts bots have trouble with Java. They have some other interesting thoughts...
but Opera Browser also has problem with Java...so using java may cause issues when users using Opera visit your page...thats the only downside
Yeah, that's why if the browser isn't capable of Java, It just dispalys the captcha.
u might want to check these out:
flash based captcha feedback (http://www.notonebit.com/projects/killbot/pro/)
Captcha script for integration with forms (dont ask me how lol) (http://www.webwizguide.info/asp/sample_scripts/web_wiz_CAPTCHA.asp)
Form processro $16 (http://tools4php.com/captcha/)
feedback form generator (without captcha) (http://www.thesitewizard.com/wizards/feedbackform.shtml)
this seems to be perfect: free and works too (i think)
http://www.quinti.net/recursos.php?idioma=en
Nice! In spanish to!
cool then u could translate it for us (https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fpath-to-peace.net%2Fforum%2FSmileys%2Fdefault%2Fbigsmiley.gif&hash=93888c36dc2cf9a531080cf0dbc93b77f4619304)
im trying to test it now on my server
dosent work for me some weird error
there was a suggested fix for it if it occurs...bt the fix dosent work either
crap. That sucks.
Odly enough I'm a latin percussionist, but I don't speak spanish beyond a vocabulary of 15 or 20 words! hahaha (i'm getting off topic here)...
:)
i cant believe this guy
his captha code is from somewhere else
he just took it and integreated it into a feed back form and wants 100 dollars to remove the copy right lol
man some people are so greedy!
I just set up the php feed back from listed in the snipets directory, and I think I'll just add a captcha to it.. Details when I'm done. If you find something better, please let me know.
I was thinking it would be attractive to have the actual form in one of the 170 pixel blocks on the side. but there might not be enough room.. what do you think?
there is enough space but the feilds will have to be lessened:
Name:
<feild>
Sub:
<feild>
Comments:
<feild>
Captcha
<image>
<feild>
<button>
its worth a try
I tried the smart captcha and got a few errors. It could be user error :) But I'm still looking for another one to integrate into feed back script..
Edit: you know as a far lower tech solution. I liked the idea of asking a question with the answer in the text before allowing the form to post.
Are you doing this in a block that is on the front page or every page of your site, along with other blocks? If so, you could do something less high-tech, but likely as effective. As a question about the site, like "What is the second word in the third block from the top in the left column?" There's no way a 'bot is going to figure that out, but any human ought to be able to. If the correct word isn't entered, then the script doesn't mail it.
Edit: Great minds think along the same lines. :2funny:
Hahah Yep. I like that idea. I'm not a coder, any thoughts on what I would ad to the html file to ask a question before allowing it to post?
I just wanted the contact page to be in a block towards the bottom on the home page.
with a random story generated
and pictures
witha caurosel
and music
I like music! On the 4th beat what note was played! Whoooha. Only those with perfect pitch may enter this page! And we'll do something tricky like bartok. ok ok I know.. I'd still like to know how to require an answer in order to post a form....
well dreaming aside, lets first atleast get captcha working :2funny:
That would be great. I have an email form working, but no captcha. I've been all over carnagie mellon's captcha site. The do a great description of it, but I don't see where to download anything.. I like their new version with 4 pictures of similar things too. Though text is the simplest
What do you think of these guys. I'm still looking for a good captcha script.
http://www.motobit.com/util/captcha/
--Jesse
ASP with PHP ?
dont have the knowledge to say if it can work or not really
Maybe taking a step backwards? Did you have any luck finding a better captcha?
no i stopped looking after i kept stumbling on dud script after dud script
its so frustrating to install something and then find out its either PLAGUED with adverts or simply dosent want to work no matter what you do and to top it off there are no support forums lol
Yes. That is a pain in the @s$ . I've been looking to, and I haven't been to happy with what I've found. I wonder if there is some way to do this through the forum. There's a captcha like script involved the registration, and email capabilities..
u can do it by placing the feedback form inside a block or article
and then restricting it for registered members only
that way bots who are seen as 'guests' wont be able to fill it out
That's a good method. I do get a lot of non spam feed back though from non registered users. I worry that by doing this I'd restrict a bit of information. Possibly the suggested text version creating a required question, like what is this forum about, dogs, cats, or art? Any thought on how I could code something like this into the form?
no idea
sounds complicated though
Another route might be to just keep some of the feilds in the form required. Which I also don't know how to do. I love the idea though of a required answer..
I could show you how to put it in a php page, but not a block. I really need to figure out how to work with AJAX.
That would be great, then I could just call it as a pop up from a link in a block.
I'll have something for you in the morning.
I learned something. This will work in a php block, at least on the front page. If visitors use it on other pages, it will send them back to the front page again. I don't know if there's a way around that.
As it stands, it checks for a correct email address format and the correct answer to the question. The check for comments doesn't seem to be working, although I'm not sure why. I left it in there, in case someone is able to tweak it and figure out how to make it work.
global $scripturl;
$question = 'What is 4 + 2 + 1?'; // Defining the question here makes it easier to change.
$right_answer = '7';
$youremail = 'you@yourdomain.com'; // Enter your email address here
$textarea_end = '</' . 'textarea' . '>'; // Solves a little problem with the editor.
if (isset($_POST['submit']))
{
$message='';
isset($_POST['email']) ? $email = $_POST['email'] : $email = '';
if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email))
$message = 'You must enter a valid email address<br />';
isset($_POST['comments']) ? $comments = $_POST['comments'] : $message .= 'You must enter a comment.<br />';
isset($_POST['answer']) ? $answer = $_POST['answer'] : $answer='';
if ($answer <> $right_answer)
$message .= 'You must answer the question correctly.<br />';
if ($message)
{
echo $message;
echo '<a href="' . $scripturl . '">Try again</a>';
}
else
{
mail( $youremail, "Feedback Form Results", $comments, "From: $email" );
echo 'Thank you for your comments';
}
}
else
{
// You'll want to make the form prettier
echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '">';
echo '<table>';
echo '<tr><td>Email address:</td></tr><tr><td><input type="text" name="email" />*</td></tr>';
echo '<tr><td>Comments:</td></tr><tr><td><textarea name="comments">'. $textarea_end . '*</td></tr>';
// add whatever other fields you want for your form
echo '<tr><td>' . $question . '<br>(This is just to prove you<br>are a human and not a computer.)</td></tr><tr>
<td><input type="text" name="answer" />*</td></tr>';
echo '<tr><td align="center"><input type="submit" name="submit" value="Send"></td></tr>';
echo '<tr><td>Fields marked with a * are required.</td></tr></table>';
echo '</form>';
}
hey i like your mathematics approach
cant u use like an actual addition function instead of a fixed one?
so that the script randomly generates numbers to add and checks them itself
if u get my meaning
The trouble with random is that, once the page is printed, it would forget what the random number is.
Hmmmm.
You could create a random function and both display it and add it to a hidden field. Then, when the form is submitted, the program would evaluate the function and come up with the correct answer to compare to the one in the field.
Or you could create a random function when the page is created and then save the correct answer to a .txt file or a database record. (Seems like a lot of work to go to.)
Or you could create a whole database table of questions and answers, to be pulled in at random when the page is created. In the form would be a hidden field with the ID number of the current question and answer and the script would look it up when the form is submitted.
You could even have a whole bunch of images. Create a database table that has three fields -- the ID, the name of the image file and the correct answer. Pick a row at random when the page is created and save the ID to a hidden field. Then look up the record when the file is submitted.
There's lots and lots of different options. :) A lot depends on how much work you want to do.
:o ok lets stick to this basic method lol
lol...
Damn cool. I can't wait to play with this!
Hi
no. this guy (i) no want 100 dollars for this form.
read fine please.
is 30âââ,¬Å¡Ã,¬ if u want use it commercially or quit the creator link.
read right!! :knuppel2: :laugh:
greetings and all the best from Galiza
What are you talking about quinti ?
What code costs 100$ in this thread to use ?
Maybe something was lost in translation. This is the 100 dollar script:
http://www.tinyportal.net/smf/index.php?topic=8562.msg70115#msg70115
Also check out the few following replies..
lool
ok 30âââ,¬Å¡Ã,¬ = 38.22 US dollars
my mistake i thought it was a 100 bucks lol
He does have 100 dollar script... the customized and Multilanguage Secure Contact Form Antispam with CAPTCHA... maybe that's where it came from..
It's confusing it says, "the script is 100âââ,¬Å¡Ã,¬ (paypal) ($100 paystorm).."
oohhh lol
well either ways personally i think that 100 bucks is WAY too much for a captcha script
no offence - but really it is too much :P
i tested this with a hotmail account for user sending a comment but it never arrived at my forum admin account which is at gmail. i checked my hotmail account and i had a mail delivery failed notification. ???
I'm not sure what to say. It uses a php function. There could be something in either your hotmail or your gmail account that is preventing it.
What sort of mail delivery failed notification did you get? What was the reason that the mail delivery failed?
here is the notification that arrives in my hotmail box. i changed it to myemail@hotmail.com
could this be because i'm using a webmail account as my forums email?
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
you@yourdomain.com
retry timeout exceeded
------ This is a copy of the message's headers. ------
Return-path: <myemaill@hotmail.com>
Received: from scan13.yourhostingaccount.com ([192.168.1.243]
helo=scan13.yourhostingaccount.com)
by mailout04.yourhostingaccount.com with esmtp (Exim)
id 1GXITj-00066i-8x
for you@yourdomain.com; Tue, 10 Oct 2006 10:21:07 -0400
Received: from cgi1002.yourhostingaccount.com ([10.1.12.47] ident=exim)
by scan13.yourhostingaccount.com with spamscanlookuphost (Exim)
id 1GXITh-0005WZ-Tj
for you@yourdomain.com; Tue, 10 Oct 2006 10:21:06 -0400
It could be.
Here's the things I would try...
Set the $youremail variable to an email address from the same domain as your TP.
If that doesn't work, just try sending an email from the "from" address to the "youremail" address to see if those will go through.
It's possible, I suppose, that your server doesn't support the mail php function.
that worked of course. ;) i changed the your email to my forums gmail account and the comments are going right through now. thanks again, you have been a HUGE help to me the last couple days :up: :up:
Glad to help.
Quote from: akulion on October 09, 2006, 12:46:38 AM
oohhh lol
well either ways personally i think that 100 bucks is WAY too much for a captcha script
no offence - but really it is too much :P
no....., 30âââ,¬Å¡Ã,¬? no....., think is the best contact form secure antispam of the world......., jijijijijiji
and with my support aways....
jej
_ _ _
i go probe TP now, i like SMF, is the best forum in the world, (this yes)
greetings
Don't know if this will fit into what you are trying to do, but it works great for my html pages...
All of my posted email address's are run through one of the free online encoders and that gives me a code snippet for the email 'mailto' address and that way I don't have to use anything else to protect the address. Been doing it this way for several years with very little spammer trafic from any posted address.
Here is one of many... Email Encoder (http://www.ohlone.cc.ca.us/org/webcenter/emailencoder.html)
Thanks. That's neat. I'm using JPDeni's code for now. On an odd note things look perfect in IE, but the comments field sticks out bit in safari. Any thoughts on what I could change?
You can set a size for the textarea. The tag would be
<textarea name="comments" rows="xx" cols="xx">
with the "xx" being numbers. Experiment with what works best.
Yes! I was just curious about the difference between IE and Safari. It's perfect in IE. Still I love how it works!
The differences in browsers is very frustrating.
I'm glad it's working for you. I learned a whole lot when I wrote that code. Some of the assumptions I made were completely wrong. :)
Here is one of the best Captcha mailer scripts:easy to use::
Secure PHP Form Mailer Script
http://www.dagondesign.com/articles/secure-php-form-mailer-script/
You can see and test it here on my testing site:: http://www.marscafe.com/oxforum/index.php (http://www.marscafe.com/oxforum/index.php) by clicking on the "Contact Us" block on the left side.
The following is the code inside of the box html/script block:
<script language="javascript" type="text/javascript">
<!--
/****************************************************
Author: Eric King
Url: http://redrival.com/eak/index.shtml
This script is free to use as long as this info is left in
Featured on Dynamic Drive script library (http://www.dynamicdrive.com)
****************************************************/
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=NO';
win=window.open(mypage,myname,settings);}
// -->
</script>
<a href="http://www.marscafe.com/misc/feedback/formmailer.php" onclick="NewWindow(this.href,'mywin','400','410','YES','center');return false" onfocus="this.blur()"><img src="http://www.marscafe.com/misc/feedback/feedback.gif"><br>Contact Us</a></center>
thanks for sharin :up:
JPDeni's code is wonderful. I'm waiting to see if it worked for me, but in the meantime.. did anyone every figure out how to get it to redirect a user to a "thank you" page after submission instead of to the front page?
actually I've had this reply box open for about 5 minutes and no email. I must have read this thread wrong. Were you saying it doesn't work at all if it's as a separate php article?
Hey all. I just wanted to share that I got an ARTICLE with a captcha form working through Tinyportal in case anyone else needs it still.
You can see the example here: http://esa-soccer.com/forum/index.php?page=summertryoutform
I downloaded the free version of tectite.com 's FormMail (http://www.tectite.com) and followed their instructions for installing the script.
Create a PHP article (I'm deleting most of my form just so you can see the basics):
echo '<form method="post" action="/formmail.php" name="Summer Academy">
<input type="hidden" value="YOU@YOUREMAIL.com" name="recipients" /> <input type="hidden" value="EMAIL SUBJECT" name="subject" /><input type="hidden" name="good_url" value="/forum/index.php?page=thanks" /> <input type="hidden" name="bad_url" value="/forum/index.php?page=error" /> <input type="hidden" name="required" value="Parent First,Phone,email,imgverify" />
<h2> PARENT INFORMATION:</h2>
First Name: <input type="text" maxlength="30" size="20" name="Parent First" /> Last Name: <input type="text" maxlength="30" size="20" name="Parent Last" /><br />
<br />
Address: <input type="text" maxlength="50" size="40" name="Address" /><br />
<br />
City: <input type="text" maxlength="30" size="20" name="City" /> State: <input type="text" maxlength="2" size="2" name="State" /> Zip Code: <input type="text" maxlength="5" size="5" name="Zip" /><br />
<br />
Home Phone: (<input type="text" maxlength="3" size="3" name="phonecode" />) <input type="text" maxlength="7" size="7" name="Phone" /> Email Address: <input type="text" maxlength="40" size="20" name="email" /><br />
<br />
Would you like to be on our email mailing list?<br />
<input type="radio" name="Mailing List" value="Yes" />Yes, sign me up for email updates!<br />
<input type="radio" value="No" name="Mailing List" />No, thanks.<br />
<br />
<span style="font-weight: bold;">SECURITY QUESTION:</span><br />
Please fill in the text you see in the image below to prove you are human.<br />
<img name="vimg" alt="Image verification" src="/verifyimg.php" /> <input type="text" name="imgverify" size="12" /> <br />
<br />
<input type="submit" value="Submit Registration" name="Submit" />
</form>';
For good_url and bad_url I just made 2 HTML articles in TP; good_url is a general "thank you page" the user is redirected to after successfully filling out the form. bad_url is a general error page they are redirected to if they forget to fill in a required item (such as the imgverify).
the trick is to read the installation instructions at Tectite very carefully to get the imgverify working properly.
Hope this helps!
I'm sorry that I missed your earlier post. You asked
QuoteWere you saying it doesn't work at all if it's as a separate php article?
I don't know what you mean. I'm not sure what the second "it" is referring to.
I figured it out. The code you had posted - I had read it wrong and misunderstood the part where you said it works on the frontpage but if it is used on other pages it redirects to the front page. I was referring to your post here: http://www.tinyportal.net/index.php/topic,8562.msg71544.html#msg71544
I thought you meant ithat particular code would work on other pages, just redirect afterwards. I figured out afterwards you meant it would only work on the frontpage... and as a block.
:)
Okay. :-) It's been so long since I've looked at this topic, that I'd have to read the whole thing again to even know what it's about. But as long as you've got it, that's all that matters.
:D
just trying to find all my answers via forum search instead of making people repeat themselves, so I've been all over some old topics the past week.
We definitely appreciate your looking through the old stuff. If you have questions, understand that we may have to dust off some long-unused brain cells to come up with the answers, though. ;-)