• I installed this plugin and love it, but when I click on the ‘audio’ icon next to the captcha image all it does is download a php file. How can I fix this or just get rid of the ‘audio’ feature from showing up next to the captcha image?

Viewing 12 replies - 1 through 12 (of 12 total)
  • I am the author of SI CAPTCHA

    My installation does not have this problem.
    What is the URL to your blog? I would like to see it happening.

    Mike

    .. also would be good to know what web browser you are using and what version is it?

    Thread Starter zoile3

    (@zoile3)

    Hi Mike,

    Thanks for writing back. My client does not want me to post the website here because it is not open to the public yet. Is there another way for me to send the site to you? I am on Safari and using the latest version of your plugin.

    I am interested in helping…
    Please contact me from my site if you want to.
    https://www.642weather.com/weather/contact_us.php

    I am wondering if it is something in the securimage_play.php not sending compatible headers for safari, if so, I would try to fix it.

    Please try my captcha audio on my blog comments with safari and tell me if you are having the same problem?
    https://www.642weather.com/weather/wxblog/washington-weather/long-beach-wa-snow-2009/

    I installed safari on a WinXP home computer. It normally worked like this:
    when I click on the audio captcha button, safari will open a file download dialog: “Do you want to open or save this file?”
    Name: secureimage_play.php.wav
    Type: wave sound

    Just click “Open”, then the file downloads and opens windows media player and plays the sound.
    This is all normal.

    If you are getting some other unexpected result let me know. Mike

    captcha-secureimage/securimage_play.php

    header(‘Content-Disposition: attachment; name=”securimage.wav”‘);

    comment out

    //header(‘Content-Disposition: attachment; name=”securimage.wav”‘);

    or, replace

    header(‘Content-Disposition: inline; filename=”securimage.wav”‘);

    Safari 3.2.1 (Mac OS X 10.5.6)

    but Firefox 3.0.8 (Mac OS X 10.5.6) is problem.

    Hi, I tried making the inline change you recommended but then clicking on the audio opens the whole page just for the audio. This might cause a problem for those who do not know to click back. or they may lose the text they had typed in after they click back.

    I made a change to my securimage_play.php on my blog here:
    https://www.642weather.com/weather/wxblog/washington-weather/long-beach-wa-snow-2009/

    I changed:
    header(‘Content-Disposition: attachment; name=”securimage.wav”‘);
    to:
    header(‘Content-Disposition: attachment; filename=”securimage.wav”‘);

    Please try it and let me know if you can listen to the audio on a Mac.
    Did that make it any better?

    Thanks for the help

    Mike

    Thread Starter zoile3

    (@zoile3)

    Hi Mike,

    I just checked in to see if you had replied and saw your change to the secureimage_play.php file. I made the same change and it works. When on Safari, it now downloads the file and automatically plays it in iTunes. On Firefox it pops up a window:

    You have chosen to open:
    secureimage.wav
    What should Firefox do with this file?
    Open with: (Choose) OR Save File

    If I you select ‘Choose’ and select iTunes as the application, it opens it in iTunes and automatically plays it.

    Both of these are perfect!

    The fix that macfeeling gave was cool because it automatically opened it in Quicktime within the browser, but when you hit the back arrow to return to the site, it would reload the page and provide a new captcha code so the one you heard would no longer be valid. The Quicktime thing would be cool if it opened it in a small pop-up window instead but for now, your solution is just fine.

    Thanks so much for your help!

    Thanks for the reply, I will go with my version of the change because to make it actually play inline on the same page would require javascript, flash, etc. I want to keep this simple the way it is, because it works with javascript disabled.

    I will release a new version today.

    Thread Starter zoile3

    (@zoile3)

    Mike,

    One more question: Can this be added to a contact page also? I have a contact form and want to use your plugin on it and was wondering if this is possible?

    That was a very quick fix and very quick response on your part. Thanks!

    I have not made a WP contact plugin, there are already so many.
    …but I do offer a free standalone contact page with CAPTCHA:
    https://www.642weather.com/weather/scripts-contact-form.php

    Hey I have finally made a contact form plugin for WordPress…

    Fast and Secure Contact Form
    https://www.ads-software.com/extend/plugins/si-contact-form/

    This contact form lets your visitors send you a quick E-mail message. Blocks all common spammer tactics. Spam is no longer a problem. Includes a CAPTCHA and Akismet. Does not require JavaScript. Easy and Quick 3 step install.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: SI CAPTCHA for WordPress] Audio Doesn’t Work’ is closed to new replies.