WordPress.org

Forums

Contact form? (11 posts)

  1. pezastic
    Member
    Posted 10 years ago #

    I'm using WP 1.5 and the Arzel Blue theme. Can anyone tell me where I can find a good "Contact Me" script?

  2. rossz
    Member
    Posted 10 years ago #

    Why not just use a mailto link with a twist. A bit of javascript and your email address is stealthed from bots, but fully clickable to humans. Add this snippet in the <head> section of index.php:


    <script language="javascript" type="text/javascript">
    <!--
    function WriteMailLink(thelink, user, domain, subject) {
    document.write("<a class="contact" href="mai");
    document.write("lto:"+user+"@");
    document.write(domain);
    if ( subject.length > 0 ) document.write("?subject="+subject);
    document.write("">"+thelink+"<"+"/a>");
    }
    //-->
    </script>

    In the location you wish a clickable mailto link, put in this:

    <script language="javascript" type="text/javascript">
    <!--
    WriteMailLink("Link Text","name-part","domain-part.com","optional subject");
    //-->
    </script>

    To clarify, your email address is broken into two parts: name-part@domain-part.com.

    Hopefully I put encoded everything properly so it won't be mangled. A preview button would be nice.

  3. pezastic
    Member
    Posted 10 years ago #

    That would be great to put on top of the form, but there are users who access my site from a computer where the mail client isn't specific to them (office environment). For those users, I still need a contact form.

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    This does the trick for me:
    http://jimsun.linxnet.com/SCForm.html

  5. Ryan Duff
    Member
    Posted 10 years ago #

  6. symantix
    Member
    Posted 10 years ago #

    Hey, Ryan. Interesting plugin. I'm going to give it a try.

    Very nice site too, btw. However, you might want to consider linking the graphic at the top of your page to your home page for easier navigation.

  7. clay
    Member
    Posted 10 years ago #

    aformmail

  8. rvblog
    Member
    Posted 10 years ago #

    I've been trying for the past couple weeks to get a decent contact form working properlu on my site.

    Looking forward to trying your plugin out as well.

    Thanks for creating this kind of plugin.

  9. fuzzylizard
    Member
    Posted 10 years ago #

    Cool plugin, works great. Nice work :-)

  10. sgerber
    Member
    Posted 10 years ago #

    Ryan -- This plugin sounds like it's exactly what I'm looking for, but...I'm getting a 404 error at the ryanduff.net URI and a "This page cannot be displayed" message at WordPress support URL.

    Halp?

  11. Ryans put the wrong uri for his plugin up.

    The correct uri is: http://ryanduff.net/projects/wp-contactform/

    This alternate uri for the support forum link should work ok: http://wordpress.org/support/topic/22318

    westi

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.