Toms Welt

/wp-plugins/tiny-contact-form

Tiny Contact Form

538 Kommentare | Kommentar schreiben

Ein ganz einfaches und kleines Kontaktformular.

Einfach in den Einstellungen die Empfänger-Email-Adresse angeben und den Shortcode (siehe readme.txt) an den gewünschten Stellen eintragen. Fertig.

Download bei WordPress

Tiny Contact Form 0.7

Contributors: Tom Braider
Tags: email, mail, contact, form
Donate link: www.tomsdimension.de/postcards
Requires at least: 2.8
Tested up to: 3.0.3
Stable tag: 0.7

Little form that allows site visitors to contact you by email.

Description


Use [TINY-CONTACT-FORM] within any post or page.
Add the widget to your sidebar.

Installation

  1. unzip plugin directory into the /wp-content/plugins/ directory
  2. activate the plugin through the Plugins menu in WordPress
  3. check the settings (email, messages, style) in backend
  4. insert [TINY-CONTACT-FORM] in your page or/and add the widget to your sidebar
  5. without widgets use this code to insert the form in your sidebar.
<?php echo do_shortcode("[TINY-CONTACT-FORM]"); ?>
or
<?php global $tiny_contact_form; if (isset($tiny_contact_form)) echo $tiny_contact_form->showForm(); ?>

Frequently Asked Questions


How to style?

  • The complete form is surrounded by a div class="contactform". Tags in FORM: LABEL, INPUT and TEXTAREA.
  • To change the form style in your sidebar you can use .widget .contactform (plus tags above) in your template style.css.
  • Since v0.3 you can use the settings.

Need Help? Find Bug?

read and write comments on plugin page

Screenshots


  1. 1. contact form on page

  2. 2. contact form widget in sidebar

  3. 3. settings page

Arbitrary section


Translations

Changelog

  • new language: Turkish, thanks to Emrullah Tahir Ekmekçi
  • new language: Dutch, thanks to Erik Collou
  • new language: Arabic, thanks to qasem gaayat.com
  • language update: Italian, thanks to Alberto Scocco www.lemappedelpensiero.it

0.7

  • new: multi widgets with different receivers
  • new: 5 additional fields (e.g. website, phone) possible
  • new: to hide form after submit is your choice now
  • new: alternative "question answer captcha"
  • new language: Swedish, thanks to Thomas www.ajfix.se
  • some bugfixes

0.6

  • new: set reciever and subject in shortcode [TINY-CONTACT-FORM to="abc@def.hi" suject="Hello"]
  • new: get subject from url like ?subject=Hello
  • now name and email of the writer are the default "From" data if non "From" given on options page

0.5.2

  • new translation: hebrew, thanks Sahar Ben-Attar

0.5.1

  • Bugfix: referer on pages with more post was wrong
  • Bugfix: PHP4 compatibility, "static" before function deleted
  • new translation: Danish, thanks to Jonas Thomsen

0.5

  • new: optional captcha
  • new: referer (page the mail was sent) in mail
  • new translation: France, thanks to Jef Blog

0.4.3

  • Bugfix: little change in stylesheet to realy hide the "hidden" fields

0.4.2

  • Bugfix: little change in spam check

0.4.1

  • new translation: Belorussian, thanks to Marcis Gasuns

0.4

  • new: custom widget title and submit button

0.3.3

  • new translation: hungarian, thanks MaXX

0.3.2

  • new translation: espanol, thanks Jeffrey

0.3.1

  • new translations: hr and italiano, thanks Alen

0.3

  • new: more user settings
  • new: language support (english, german)
  • change to wp_mail()

0.2

  • new: sidebar widget to easy add the form to the sidebar

0.1

  • first release
created by Readme Parser

 
Zu guter letzt ein Style-Sheet Beispiel. Wird ja oft genug danach gefragt.

/* field names */
 .contactform label { display:block; }
 /* fields */
 .contactform input { display:block; width:400px; border:1px blue solid; }
 /* message area */
 .contactform textarea { display:block; width:400px; height:200px; }
 /* ok message */
 .contactform_respons { display:block; color:green; font-weight:bold; border: 2px green solid; padding:10px; }
 /* error message */
 .contactform_error { display:block; color:red; font-weight:bold; border: 2px red solid; padding:10px; }
 /* smaller widget form */
 .widget .contactform { width:200px; }
 .widget .contactform input { width:98%; }
 .widget .contactform textarea { width:98%; height:100px; }


RSS-Feed 538 Kommentare

  1. Jeff Jeff sagt:

    Hi Tom
    Many thanks for the Tiny Contact form, works a treat
    One question from a non-teccie designer - how do I alter the width of the fields - they stick out beyond the sidebar!

    Thanks
    Jeff

  2. Max Drukpa Max Drukpa sagt:

    Hey Tom!
    Nice plugin, I do really love it.

    I use it on two sites and one of then works fine, but the other one is have some problem.
    It does send everythig with test mail (I guess, it means it's works), but if I try to use it directly on page it doen't sent anythig and I got the messege "Check these fields:" (but there are no fields shows to check).

    Any ideas?
    Thank you.

  3. Please see the form on this page. It appears to be working but I'm not receiving the submissions.
    http://0356c7c.netsolhost.com/WordPress/

    Thanks,

    Kriszti

  4. Ruth Ruth sagt:

    When i use the match captcha, the form does not send. It gives an error message: Check these fields:
    When i untick the captcha it works. I need it to work with captcha so please help. thanks!

  5. Michelle Michelle sagt:

    Thanks for making this plugin, I'm having a problem though. I can't get the form to actually send an email.
    I've tried in the settings 3 different emails and I've yet to have it send me back an email. Am I missing something?
    Thanks for your help!

  6. Kevin Kevin sagt:

    When I added the widget to a blog of mine, the form was still showing after I sent emails, so I added some code to prevent this from happening.

    I modified the code on lines 70-77:

    
    if ( $result == $this->o['msg_ok'] ) {
          // mail successfully sent, no form
          $email_sent = TRUE;
          $form .= '<p class="contactform_respons">'.$result.'</p>';
        } else {
          // error message
          $form .= '<p class="contactform_error">'.$result.'</p>';
          }
    

    and added this on line 100
    if (!isset($email_sent)){

    and added this to line 140:
    }

    Using this on the site http://www.hypersnail.com/

  7. Jared Jared sagt:

    Hello, I have your plugin installed and after updating to the newest plugin my submit box no longer displays on all pages except for the homepage. would you be able to help me figure out how to correct?

  8. Gus Gus sagt:

    Hello, everybody im using the plugin Tiny Contact Form Since 2 days ago, but i need to hide or delete one field for example i dont need the Subject Field for my siteweb, but i dont know how to do it.

    If somebody knows how to doit please sendme a email

    Thanks You

    Grettings From Mexico

    • Tom Tom sagt:

      Hi Gus,
      name, email, subject and message are required fields. You can hide a field per CSS, but you have to pre fill it (change the source code) because i check these fields as spam detection.

      • Sarah Sarah sagt:

        I'd like to do the same thing as the OP. Which part of the source code would I need to edit?

        • Tom Tom sagt:

          To set the subject change line 93 $tcf_subject = ''; to $tcf_subject = 'from contact form'; or something else. Its the subject of the email.
          Then hide the input field per css, e.g. #tcf_subject { display:none }
          But there is also the label. Delete the line 120 and see what happend. I haven't test it.
          I think simply to preset the subject is the best way. Every Email must haven a subject. Why hide it?

  9. M. Jordan M. Jordan sagt:

    Wie oder wo kann ich denn das "Deine Nachricht" in "Ihre Nachricht" ändern? Google weiß es nicht und hier habe ich auch nichts gefunden. Würde mich über eine Lösung sehr freuen!

  10. Matt Matt sagt:

    I have put your form on a site and said that the match captcha must be filled out. However, it submits no matter what, if the answer is right, wrong or not there.

    In addition, I am not getting the emails. It says they went through, but I am not getting them.

    Please advise.
    Thanks.

Seiten: « 1 2 3 ... 13 14 15 16 17 18 19 20 21 22 23 »

Kommentar schreiben




:mrgreen:  :lol:  :)  ;)  8-)  :-|  :O  :cry:  :sad:  :liebhab:  :-x  :-?  :P  :roll:  :arrow:  :idea:  :schwitz:  :thumbup:  :thumbsup:  :thumbdown:  :facepalm:  :eis:  :gruebel:  :!: