Posts: 25
Threads: 7
Joined: May 2011
Hi all
I found a bug (possibly connected to e-mail verification regexp). Everything's ok if there any .com .net .ru or whatever 2-3 letters TLD is used as a mail domain in plugin's settings. But in case of usage 4 letters TLD (e.g. .info) the 'target' error occurs and message cannot be sent.
Hail to get-simple developers!
Posts: 184
Threads: 20
Joined: Apr 2010
How do I change the phone field so that it is not necessary to fill it?
Posts: 1,204
Threads: 30
Joined: Jun 2010
reff Wrote:Hi all
I found a bug (possibly connected to e-mail verification regexp). Everything's ok if there any .com .net .ru or whatever 2-3 letters TLD is used as a mail domain in plugin's settings. But in case of usage 4 letters TLD (e.g. .info) the 'target' error occurs and message cannot be sent.
edit /plugins/p01-contact/p01-contact.php
change line 846 to:
Code: $pattern = '`^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$`i';
and visitors should be able to send using 4-letter tld in their email addresses.
andyash: call the phone field with phone , not phone!
Addons: blue business theme, Online Visitors, Notepad
Posts: 25
Threads: 7
Joined: May 2011
yojoe Wrote:edit /plugins/p01-contact/p01-contact.php
change line 846 to:
Code: $pattern = '`^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$`i';
and visitors should be able to send using 4-letter tld in their email addresses. I tried exactly the same, but this didn't help.
Hail to get-simple developers!
Posts: 1,204
Threads: 30
Joined: Jun 2010
reff Wrote:I tried exactly the same, but this didn't help.
How about (\.[a-z]{2,3}) -> (\.[a-z]) ?
Addons: blue business theme, Online Visitors, Notepad
Posts: 423
Threads: 15
Joined: Mar 2011
andyash Wrote:How do I change the phone field so that it is not necessary to fill it? http://nliautaud.fr/wiki/travaux/p01-con...ds_options
--
Nick.
Posts: 423
Threads: 15
Joined: Mar 2011
reff Wrote:I found a bug (possibly connected to e-mail verification regexp). I have good results with the regexp on this page.
Try the first one under 'Conclusion'.
--
Nick.
Posts: 7
Threads: 1
Joined: May 2011
Hello,
i have install p01-contact. Now if i will send a message, i see "Nachricht * Bitte umfangreichere Nachricht schreiben", in english: "Message * Please write a longer message". Whats the problem?
i have tested:
Hello,
this is a test.
Regards
"Message * Please write a longer message"
Posts: 2,928
Threads: 195
Joined: Feb 2011
please try to understand functionalities before you post
please read any documentations etc.
the first post of a plugin post contains informations how to use
the links in the download section contain information as well
many plugins have settings
p01-contact has settings
when you are at the plugin page, there is a big link in the right-side menu to the p01-settings!!
you can define how long a setting must be (minimum), default is 100 characters
"Hello" is less than 100
please again, we are not chewing every bit of knowledge for you, we give support but it's still your part to read documentation first or to try to find out yourself
Posts: 2
Threads: 0
Joined: Jun 2011
2011-06-29, 18:44:53
(This post was last modified: 2011-06-29, 18:49:40 by Lucy.)
ßрøòõт òÑÂõü! (Hi!)
Òрþôõ ñы òÑÂё уÑÂтðýþòøû, ýþ:
1. ÃÂ’ ÿðýõûø уÿрðòûõýøѠø÷üõýõýøѠýõ ÑÂþхрðýÑÂютÑÂÑÂ.
2. áþþñщõýøѠýõ ÿрøхþôÑÂт
ßþôÑÂúðöøтõ úðú òÑÂё ÑÂтþ øÑÂÿрðòøть. ßþöðûуùÑÂтð!
translate
Hi all! (Hi!)
Seems to be all set, but:
1. In the control panel changes are not saved.
2. Messages do not come
Tell me how it all correct. Please!
Posts: 1
Threads: 0
Joined: Jul 2011
2011-07-10, 12:31:50
(This post was last modified: 2011-07-10, 12:46:44 by JohnSmith[ForzaMilan].)
Hello,
I really want to thank you for this great plugin.
PCdesk
Posts: 26
Threads: 1
Joined: May 2011
Hi, & first thanx for this great plugin.
However I have a problem with a website I'm currently working on.
On one page I created one (order) form with p01-contact, works well. In the sidebar there is another form (subscribe form) created with p01-contact too. Problem is, the plugin generates both forms with the same id. So when I fill in the 2nd form, the 1st one sends the message.
Is it a normal behavior for p01-contact (or GS) ? I recall reading about p01-contact being suitable for multiple forms in same pages, but I cant seem to find the reference I read this from.
A precision : form #2 (in the sidebar) is loaded from a component. I tried to load it from a template file, same problem happens.
Thanx in advance for any reply.
Posts: 21
Threads: 4
Joined: Mar 2011
Hi, great plugin!
But I also need an option for a "file upload" like: http://cgi-lib.berkeley.edu/ex/fup.html. Its a sample file upload form.
I noticed that there was an file option in p01-contact.php.
Code: /**
* Return the general type of a field, even of specials fields.
*/
function general_type()
{
$types = array(
'name' => 'text',
'email' => 'text',
'phone' => 'text',
'website' => 'text',
'subject' => 'text',
'address' => 'textarea',
'message' => 'textarea',
'file' => 'file',
'captcha' => 'captcha',
'askcopy' => 'checkbox');
if(isset($types[$this->type]))
return $types[$this->type];
else return $this->type;
}
So I thought I could do something simple like:
Code: (% contact : name!, email!, file "File upload:",captcha! %)
But that does not work as I expected.
So what am I doing wrong? Help is appreciated. Greetings, Tom.
Posts: 34
Threads: 13
Joined: Nov 2010
Hi. What am I doing wrong?
I enabled this plugin; then I put this code in the source of my page:
(% contact %)
I save the page, then view it. When I view it I see only the above code appearing on my page.
When I go back to the source of my page I see this:
<p>
<% contact %) </p>
but I don't get a contact form out of this. Please advise. I'm going nuts here. Thanks. Don
Posts: 1,928
Threads: 88
Joined: Apr 2010
Posts: 5
Threads: 0
Joined: Jul 2011
Hi,
Is it possible to use this plugin in two languages on a multilingual site using I18N plugin?
Thanks
Posts: 3
Threads: 0
Joined: Jun 2011
dondemaio Wrote:Hi. What am I doing wrong?
I enabled this plugin; then I put this code in the source of my page:
(% contact %)
I save the page, then view it. When I view it I see only the above code appearing on my page.
When I go back to the source of my page I see this:
<p>
<% contact %) </p>
but I don't get a contact form out of this. Please advise. I'm going nuts here. Thanks. Don same here.... php-exec is installed
Posts: 1,928
Threads: 88
Joined: Apr 2010
steveforest Wrote:Hi,
Is it possible to use this plugin in two languages on a multilingual site using I18N plugin?
Thanks each page is inserted in the language of form by appropriate page
http://chaga-mushroom.com/order/
Posts: 20
Threads: 3
Joined: Jun 2010
what about the file attachment in this plugin?
Posts: 5
Threads: 0
Joined: Aug 2011
File attachment is not implemented in this plugin.
See Line 1006 in the current version for a starting point if you would like to implement it yourself. Its not that complicated really ...
Posts: 4
Threads: 0
Joined: Sep 2011
I am using p01 contact plugin, I am able to install the plugin, but some how I am not able to send message to the recipient.
I have enter the following code to my contact page:
(% contact : svpatel8@gmail.com %), and it shows me an error that says "Error : no message was sent."
I am using this contact form on my local server. So is this just because of this I am not able to send the message to the recipient.
Please help me on this.
Posts: 2,928
Threads: 195
Joined: Feb 2011
if your local server is not configured to send mail (I am sure it is not, most local servers do not send mails because they are local and not internet)
it will not send. You should test it online, at at testinstallation (it is no problem to install on a domain and password protect the installation so it will not be public)
Posts: 36
Threads: 3
Joined: Sep 2011
2011-09-23, 02:52:59
(This post was last modified: 2011-09-23, 03:21:58 by zintonio.)
p01, this is a great piece of work!
I have a few requests: - The option in the settings to specify the "From" name and email address of the generated email. I don't like "Anonymous", and I have contact forms where I don't want to require an email address from the user.
- The option to turn off each of the items in the footer text ("This email sent from..." and "If this email should not be for you...").
Of course, I can manually edit the plugin files myself to make these changes, but it would be a lot nicer if I could just do that in the admin.
Also, when a user submits a form without filling in a required field or if the data is invalid, can we have the option to display a message along the top of the form saying that their message was not sent, in addition to the messages beside each of the invalid fields? An inexperienced computer user may submit the form and not notice the small error messages beside the fields, thinking their message had been sent when in fact it wasn't.
Posts: 36
Threads: 3
Joined: Sep 2011
2011-09-23, 02:57:56
(This post was last modified: 2011-09-23, 02:59:13 by zintonio.)
I know I can edit the language file, but that text string is used for both the name and email address:
Code: From: no-reply@domain.com <no-reply@domain.com>
What I want is the ability to specify something like this:
Code: From: Contact Form Mailer <do-not-reply@domain.com
Posts: 48
Threads: 4
Joined: Jun 2011
The styling (CSS) doesn't work on Internet Explorer 9..?
|