+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19

Thread: Contact Form 7

  1. #1
    Ryan's Avatar
    Ryan is offline WPTavern Forum Moderator
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,418

    Default Contact Form 7

    I'm looking for a good contact form plugin which only does the very basics, ie: providing a shortcode for adding to the page without adding javascript and CSS to the page (ie: not Contact Form 7).

    Any suggestions?

  2. #2
    Ryan's Avatar
    Ryan is offline WPTavern Forum Moderator
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,418

    Default

    And just as i write this, I continue my chronic habit around here of answering my own question ...

    http://www.techairlines.com/2010/01/...lugin-scripts/
    http://themeshaper.com/forums/topic/...n-functionsphp

    So there are ways to remove the scripts and CSS of Contact Form 7, hence solving the problem of it loading a bunch of junk which is unneeded on all but a single a page.

  3. #3
    andrea_r's Avatar
    andrea_r is offline WPTavern Forum Moderator
    Join Date
    Jan 2009
    Location
    Eastern Canada
    Posts
    1,279

    Default

    Has someone released a cleaned-up version of the plugin itself?

  4. #4
    JLeuze's Avatar
    JLeuze is offline Here For The Peanuts
    Join Date
    Jan 2009
    Location
    Minnesota
    Posts
    125

    Default

    There have been times that I wished for a dead simple contact form plugin. I'm sure there would be interest in a "Contact Form 1" fork of the plugin.
    "The future is already here—it's just not evenly distributed." - Gibson

  5. #5
    film_girl's Avatar
    film_girl is offline Hello World
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    59

    Default

    I used to use the Contact Form ][ plugin by Chip Cuccio (he no longer develops or supports it -- though it continues to work just fine), which I have to say, was one of the easiest, best-performing contact form plugins I've found. Short code injection -- you can style it if you want, but you don't have to -- simply great.

    I replaced it about 2 months ago with Gravity Forms, thinking that it would be a better solution -- to be honest, I'm really not sure it was. I get more spam now from the comment form (never got any beforehand) and the extra options aren't really in use right now.

    It doesn't look like the plugin is available for download any more but I can upload the latest version I have for anyone who wants it to either use or use as a base.
    Christina Warren http://www.christinawarren.com // Twitter: @film_girl

  6. #6
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,717

    Default

    Quote Originally Posted by film_girl View Post
    I used to use the Contact Form ][ plugin by Chip Cuccio (he no longer develops or supports it -- though it continues to work just fine), which I have to say, was one of the easiest, best-performing contact form plugins I've found. Short code injection -- you can style it if you want, but you don't have to -- simply great.

    I replaced it about 2 months ago with Gravity Forms, thinking that it would be a better solution -- to be honest, I'm really not sure it was. I get more spam now from the comment form (never got any beforehand) and the extra options aren't really in use right now.

    It doesn't look like the plugin is available for download any more but I can upload the latest version I have for anyone who wants it to either use or use as a base.
    I wouldn't mind taking a look at it.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  7. #7
    film_girl's Avatar
    film_girl is offline Hello World
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    59

    Default

    Christina Warren http://www.christinawarren.com // Twitter: @film_girl

  8. #8
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,717

    Default

    Quote Originally Posted by Ryan View Post
    And just as i write this, I continue my chronic habit around here of answering my own question ...

    http://www.techairlines.com/2010/01/...lugin-scripts/
    http://themeshaper.com/forums/topic/...n-functionsphp

    So there are ways to remove the scripts and CSS of Contact Form 7, hence solving the problem of it loading a bunch of junk which is unneeded on all but a single a page.
    You know, I wonder if I could do a similar thing for NextGen Gallery, Lifestream, and other plugins that enqueue their style/scripts indiscriminately?

    e.g. for NextGen, use a custom is_tree() function in functions.php, and then do like so:

    PHP Code:
    function deregister_NextGen_js() {
       if ( 
    is_tree'photos' ) ) {
        
    wp_deregister_script'shutter' );
        
    wp_deregister_script'ngg_script' );
         }
    }
    add_action'wp_print_scripts''deregister_NextGen_js'100 );

    function 
    deregister_NextGen_styles() {
       if ( 
    is_tree'photos' ) ) {
            
    wp_deregister_style'NextGEN' );
            
    wp_deregister_style'shutter' );
        }
    }
    add_action'wp_print_styles''deregister_NextGen_styles'100 ); 
    Any reason it wouldn't work, or that I shouldn't?

    (The only one I can think of would be adding NextGen Gallery images to other pages or posts via shortcode - I'd need to find some way to account for that occurrence.)
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  9. #9
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,717

    Default

    Re: Lifestream

    This sucks: Lifestream isn't enqueueing scripts and styles using wp_enqueue, but rather echoing them directly into the header.

    *facepalm*
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  10. #10
    Ryan's Avatar
    Ryan is offline WPTavern Forum Moderator
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,418

    Default

    I never really saw the point in enqueuing stuff when I first started writing plugins/themes. This type of problem sure does demonstrate why you should always do it though.

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts