p01-contact : simply add contact forms in your pages - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: p01-contact : simply add contact forms in your pages (/showthread.php?tid=1033) |
RE: p01-contact : simply add contact forms in your pages - TeeJay - 2013-07-04 (2013-07-04, 19:53:32)Connie Wrote:(2013-07-04, 17:37:25)TeeJay Wrote: Thanks for making me think, Connie. I just realized the solution. You are actually talking against yourself, when you say "A text between quotes define field title", it means that it's manually multilingual Yes, I totally agree with you, I just wanted to emphasize my thought I can feel that you got what I wanted to say by that and I'm glad for it. And no matter how inflexible the solution that the documentation offers is, it is still better than having a name field with label "Jméno / name / Name / nom / название", isn't it? RE: p01-contact : simply add contact forms in your pages - Connie - 2013-07-04 (2013-07-04, 20:27:23)TeeJay Wrote: And no matter how inflexible the solution that the documentation offers is, it is still better than having a name field with label "Jméno / name / Name / nom / название", isn't it? správně / correct / richtig / juste / правильно ;=) RE: p01-contact : simply add contact forms in your pages - kitech - 2013-07-12 Is there a way to change the input submit value depending on language ? RE: p01-contact : simply add contact forms in your pages - pchulpleusden - 2013-08-08 I had an error after implementing this into my website. It was related to the difference in saving the user-file in the different versions of GetSimple. I came up with the following solutions/hack: Replace the admin_email function with the code below (p01-contact_gs.php ; line: 66) Code: function admin_email() This little change in code checks if the file is found in the DATAOTHERPATH/user.xml else it will take the first file found in the GSUSERPATH. It's not the best solution, but it works for me. Maybe it works for some of you too! RE: p01-contact : simply add contact forms in your pages - rhecht - 2013-08-23 Is there an email-logging feature? I would like to be able to store emails in a database of some sort. Thanks. RE: p01-contact : simply add contact forms in your pages - TeeJay - 2013-08-23 (2013-08-23, 06:52:56)rhecht Wrote: Is there an email-logging feature? I would like to be able to store emails in a database of some sort. Thanks. This is just a PHP form, nothing more. You can store the emails in your inbox which is not what you're looking for I guess. However, you can implement that functionality, with a bit (more) of programming. RE: p01-contact : simply add contact forms in your pages - Timbow - 2013-08-23 (2013-08-23, 06:52:56)rhecht Wrote: Is there an email-logging feature? I would like to be able to store emails in a database of some sort. Thanks. cumbe's contact form logs emails http://get-simple.info/extend/plugin/contact-form/264/ and works and is still maintained. RE: p01-contact : simply add contact forms in your pages - phpman - 2013-10-13 Hi, is it possible to use p01-contact in multi language envirorment too? Currently i have german and english site made by N18N plugin. But if i have default "german" in the config the results of the p01-contact form are shown german only. But if i use (phone"Telefon") i can modify this but not all outputs are than in other languages. Any idea? RE: p01-contact : simply add contact forms in your pages - TeeJay - 2013-10-14 (2013-10-13, 18:52:55)phpman Wrote: Hi, Yes, it is, but with some restriction - not everything will be translated. You can redefine the text in the form (field labels) like this Code: <p> You can change the text in between the quotes "" of course. Then you'll copy the form to the second language and just change the strings between the quotes again. So you can change all the field labels, but not the texts shown after the form is sent (Mail has been successfully sent...). RE: p01-contact : simply add contact forms in your pages - phpman - 2013-10-14 Okay, than i understand this that it is a little problem for me. Yust there any solution with another contact form plugin to get all outputs in the seleceted language ? Default i have "german" so thats not so good all isn´t correct than. Or is it normal that i use as default english? But i think my client has problems if default not german..... RE: p01-contact : simply add contact forms in your pages - itsmeee - 2013-10-16 Hi I wanted to use your plugin with GetSimple CMS and used it as component with the following code: Code: <?php I get this error: Code: Fatal error: Call to a member function parse() on a non-object in /home/www/web223/html/plugins/i18n_base/frontend.class.php(127) : eval()'d code on line 4 Does this mean, that your plugin does´t work with i18n plugins? Do you know this error? thanks for your help RE: p01-contact : simply add contact forms in your pages - Carlos - 2013-10-16 Try with: Code: <?php RE: p01-contact : simply add contact forms in your pages - klaypigeon - 2013-11-18 Hi, The form is working as expected but I have an issue. All the email sent to me ends up in my spam folder on gmail. It comes from my domain with a from address that is not my domain so google flags it. Is there a way to have the senders email address become the "reply to" header, and make the senders "From" header become admin@mydomainName.com? This is just a test where I sent a message to myself. Toomename@gmail.com X-PHP-Originating-Script: 0:p01-contact.php From: Theo <somename@gmail.com> Reply-To: Theo <somename@gmail.com> What I would like to try is this, see if google will allow this: To: somename@gmail.com X-PHP-Originating-Script: 0:p01-contact.php From: Admin<admin@mydomain.com> Reply-To: Theo <somename@gmail.com> Update: I was able to get it working by changing the following lines: Code: $a_name = 'Admin'; I then marked the email as 'Not Spam' in gmail and added the sender www-data@mydomain.com to my contacts. When I reply, it still goes to the correct email as it was intended to. RE: p01-contact : simply add contact forms in your pages - kuzma - 2013-11-29 (2013-10-14, 06:40:45)TeeJay Wrote:(2013-10-13, 18:52:55)phpman Wrote: Hi, Hi, i need that this select options are taken from language file. Is it posible. example. select = "var1" | "var2" | "var3" language file: 'var1' = 'bmadfkpbm' 'var2' = 'asrfgbae' 'var3' = 'sfbadgnbsfgn' RE: p01-contact : simply add contact forms in your pages - TeeJay - 2013-11-29 (2013-11-29, 21:16:47)kuzma Wrote: Hi, i need that this select options are taken from language file. Is it posible. Hi kuzma, I don't know it that would work - I guess it wouldn't. You would have to edit the plugin itself or just add a few pieces of your own code to make this work as you want to. I can't help with this, but maybe some deeper PHPers might RE: p01-contact : simply add contact forms in your pages - kuzma - 2013-11-29 (2013-11-29, 21:33:34)TeeJay Wrote:(2013-11-29, 21:16:47)kuzma Wrote: Hi, i need that this select options are taken from language file. Is it posible. I make in code samo changes, i put in some new variable, and it work fine, now i need this translate to work on select3, and i think it must be placed here but i am short with php knowledge. // add fields foreach($params as $id => $param) { $field = new P01contact_field($form, $id, $param[1]); $field->set_title($param[4]); if($param[1] == 'select' || $param[1] == 'select2' || $param[1] == 'select3' || $param[1] == 'radio' || $param[1] == 'checkbox' || $param[1] == 'calendar1' || $param[1] == 'calendar2') { // fields with multiples values preg_match_all($values_pattern, $param[7], $values, PREG_SET_ORDER); $values = unset_r($values, 0); $field->set_value($values); } RE: p01-contact : simply add contact forms in your pages - Lars - 2014-02-13 Hi! Today I'have recognizied that in some cases no mail was send because of a wrong header: ------------------------ The message WAS NOT relayed to: <info@xxxyyyxx.de.de>: 554 5.6.0 Bounce, id=320846-09 - BAD HEADER This nondelivery report was generated by the program amavisd-new at host xxxyyyxx.de. Our internal reference code for your message is 320846-09/yHh2lxtOzibR INVALID HEADER Improper use of control character (char 0D hex): From: xxxxx <info@xxxxx.de>\r Improper use of control character (char 0D hex): Reply-To: xxxxx <info@xxxxx.de>\r Improper use of control character (char 0D hex): MIME-Version: 1.0\r Improper use of control character (char 0D hex): Content-type: text/html; charset=UTF-8\r Return-Path: <xxx@xxxxx.de> From: xxxxx xxxxx.de <info@xxxx.de>\015 Message-ID: <20140212131024.9DCB21C806A6@xxxxx.de> X-Mailer: PHP/5.3.3 Subject: xxxxx.de ----------------- I made the following modification in "p01-contact.php" Line 725 $headers = "From: $name <$email>\n"; $headers .= "Reply-To: $name <$email>\n"; $headers .= "Return-Path: $name <$email>\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=UTF-8\n"; $headers .= "X-Mailer: PHP/" . phpversion() . "\n" ; This works for me. RE: p01-contact : simply add contact forms in your pages - entuland - 2014-03-25 Hello everybody, with the kind agreement of Nicolas, the author of the popular p01-contact plugin, I have forked and made some improvements to it (mainly, the ability to set the form language on a per-form basis and the ability to translate the plugin using the translate plugin available for GetSimple). Shall you be interested, you can download it from here: http://get-simple.info/extend/plugin/simple-contact/784/ And you can ask for fixes and improvements here: http://get-simple.info/forums/showthread.php?tid=6004 Bests, Francesco RE: p01-contact : simply add contact forms in your pages - Oleg06 - 2014-03-25 I also have a plugin named simple-contact RE: p01-contact : simply add contact forms in your pages - entuland - 2014-03-26 (2014-03-25, 21:41:41)Oleg06 Wrote: I also have a plugin named simple-contact Hello Oleg, sorry to have picked up a name which conflicts with yours, I have searched for "simple-contact" in the "extend" section and wasn't able to find any conflict because you didn't publish your plugin in the official repository. Never mind, the name makes no difference for me, I will rename my plugin and publish it accordingly. Bests, Francesco RE: p01-contact : simply add contact forms in your pages - Oleg06 - 2014-03-26 this plugin old, he's not in the repository, but it works Code: // Simple Contact v1.1.5 for GetSimple 2.X RE: p01-contact : simply add contact forms in your pages - entuland - 2014-03-28 (2014-03-26, 02:53:00)Oleg06 Wrote: this plugin old, he's not in the repository, but it works Thanks for pointing that out Oleg. I have renamed my plugin to "Simple C" now, but in any case my fork is likely going to have a short life, as my improvements to p01-contact are going to be added directly to p01-contact or to its successor, FormSimple. Meanwhile, anybody interested on my (now temporary) fork of p01-contact can get it from this page. Bests, Francesco RE: p01-contact : simply add contact forms in your pages - lukinhasb - 2014-07-17 Rename it to Easy Contact Form, or Simple Contact Form, Simple Contact 2014, so on I don't think you should drop the word "Contact", because this is what this is all about. RE: p01-contact : simply add contact forms in your pages - lukinhasb - 2014-07-17 How can I disable captcha? Possible to disable subject too? RE: p01-contact : simply add contact forms in your pages - Oleg06 - 2014-07-17 delete in the plugin settings |