Toms Welt

/wp-plugins/tiny-contact-form

Tiny Contact Form

548 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: 4.6
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. www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-1.png">www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-1.png" title="1. contact form on page" />
    1. contact form on page
  2. www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-2.png">www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-2.png" title="2. contact form widget in sidebar" />
    2. contact form widget in sidebar
  3. www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-3.png">www.tomsdimension.de/wp/wp-content/plugins/tiny-contact-form/screenshot-3.png" title="3. settings page" />
    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 548 Kommentare

Seiten: « 1 2 3 4 5 6 7 8 9 10 ... 21 22 23 »
  1. Scream Scream sagt:

    Thank you for the quick reply.
    I could not get it to work.
    Is it easier to move the text left?
    I tried .contactform label {text-align:left;} to achieve that but it did not work.
    This all I have:
    .contactform {}
    .contactform label {}
    .contactform input {display:block;}
    .contactform textarea {}
    .contactform_respons {}
    .contactform_error {}
    .widget .contactform { /* same fields but in sidebar */ }

  2. Forrest Forrest sagt:

    Hi- Thanks for a great plug-in! I'm using the widget and was wondering: Is there a line or two of code I could add to let me (the recipient of the form) know which URL the inquiry came from?
    Thanks again!

  3. Dondado Dondado sagt:

    Error in 0.5.:
    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR in /[...]/www/wp-content/plugins/tiny-contact-form/tiny-contact-form.php on line 552

    • Tom Tom sagt:

      I don't see the error in my 3 blogs. u1F64F.svgz But if you deactivate the captcha it should work.

      • anne anne sagt:

        I'm getting this same error after installing 0.5.

        And the plugin doesn't load, so I can't activate it, and can't access the settings to deactivate the captcha.

        I love the plugin, and it was working perfectly until I upgraded.

        Any ideas?

        Thank you so much!

        • Tom Tom sagt:

          When you get the error? After install? The captcha is default off. So that's no problem. Sorry, I can't see this error anywhere.
          Can anyone give me a link or access to a test blog with error?
          A last question: Which PHP version you uses. 4.x? I think that's the problem with the static function. I testet 5.x only.
          Not testet:
          Change line 552 to public static function isCaptchaOk() or delete static.

          • anne anne sagt:

            Vielen Dank! (And that's all I think I can write in German!) I deleted "static" in line 552, and was able to activate the plugin and it is working perfectly again. Thanks so much for getting back to me quickly, and for being such a responsive developer--an asset to the WordPress community!

  4. atze atze sagt:

    i have the same problem like dondado ...

  5. Hi!

    I have translated this plugin to Dansh (da_DK)
    and thought i would share it.

    You can find it here:
    http://jonasthomsen.com/temp/da_DK.zip
    and include it in the next release!

    Jonas

  6. Forrest Forrest sagt:

    Great plugin!

    This might be a repeat, but just in case it's not....
    In case you need the referring URL, I added:
    'URL: '.$_SERVER['HTTP_REFERER']."\r\n\r\n".
    in the '$fullmsg =' between the email and subject.

    especially helpful if you're using the widget.

    Thanks again!

  7. Manu Manu sagt:

    Hi, ich habe nur eine kurze Frage. Was muss ich ändern, damit im Header der E-Mail nicht die vom Blog auftaucht, sondern die des Senders? Ich meine die: tcf_email. Denn so wäre es viel einfacher dem Absender zu antworten. u1F64F.svgz

    • Tom Tom sagt:

      Klick in deinem Mailer halt auf antworten. u1F601.svgz Ich trag die Sendermail nur als Antwortadresse ein, da einige Server Emails nur von bekannten Absendern weiterleiten.

      • Manu Manu sagt:

        Ich persönlich habe kein Problem damit, aber dieses Kontaktform soll nicht mit der email-addy des Administrators versehen werden, sondern mit der des Managements des Künstlers für den die Seite ist. Deshalb würde ich gerne die tcf_email im Header haben. u1F609.svgz

        • Tom Tom sagt:

          Ich glaub, das musste mir mal aufmalen. u1F609.svgz Du kannst doch Absender- und Empfängeremail in den Einstellungen angeben. Wenn die Email des Benutzers als Absender drin stehen soll, müsstest du den Code ändern.
          Zeile 116:
          $from = $this->o['from_email'];
          zu
          $from = $_POST['tcf_email'];

  8. Sadiq Sadiq sagt:

    When I submit the form it gives me an error.

  9. PA PA sagt:

    Hello Tom,

    I didn't give news for a while and I just come back to study your widget... And I still have the same trouble : the TCF doesn't send any mail u1F620.svgz

    1/ When I create a new user, I receive a mail. It works well.
    When I use the TCF, I have an OK message, not an error message... But I don't receive anything.
    I changed the WP-mail by SMTP mail and I repeated creating a new user successfully... But the TCF still doesn't send any mail even though it tells me the mail was sent.
    I changed the FROM by different "mails" admin mail, other mail, wordpress@mydomain... Nothing solved the trouble.
    I asked my server provider to know if this trouble could come from their side. Of course, he said no... and as I receive the "create new user" mail, obviously, the WP-mail is OK...
    If you have any idea, it would be cool. u1F60F.svgz

    2/ You gave me a code line to insert in my sidebar (as mine is widget deactivated) :
    if (function_exists('tcf_show_form'))
    echo tcf_show_form();

    it worked well with the 0.43 version but not with the 0.51.
    I pasted instead your new code (top of your page) :

    showForm(); ?>

    But it doesnt work. The TCF doesn't appear in my sidebar. Isn't there a -> in this code before the ShowForm that pertubates its functionning ?

    Sorry for the troubles and thanks for your answers.

    • Tom Tom sagt:

      Hello PA,

      the first problem: If you get an OK message, the mail function sent the mail. Otherwise you get the error message. The mail funcation say yes or no an i show the message. Perhaps the receiver is not correct or the mail was recognized as spam?

      second problem: Since 0.5 you have to use the class like sample in readme - installation.

      < ?php if (isset($tiny_contact_form))
      $tiny_contact_form->showForm(); ?>

      If the sidebar created by an function use
      < ?php global $tiny_contact_form; ?> above the code.

  10. Justin Justin sagt:

    Hello. As seen in my URL my contact form is a bit down in the page. It seems there are line breaks on the page. Is there anyway I can fix this, or is it possible for you to direct me to where I should go to fix the issue?

    Great form. I went through a few before I found this one, and I love it. u1F64F.svgz I just don't like the line breaks. I've tried making a new page too, and the same things occurs.

    Thanks a lot
    Justin

Seiten: « 1 2 3 4 5 6 7 8 9 10 ... 21 22 23 »

Kommentar schreiben

Deine E-Mail-Adresse wird nicht veröffentlicht.

:mrgreen:  :D  :)  ;)  8-)  :O  :cry:  :(  :liebhab:  :-x  :-?  :P  :roll:  :arrow:  :schwitz:  :thumbsup:  :thumbup:  :thumbdown:  :facepalm:  :?:  :!:  :eis: