Custom Contact Forms - Version 1.2.0

Version Description

Create forms styles, manage them, and attach them to forms! Coming soon.

Download this release

Release Info

Developer tlovett1
Plugin Icon 128x128 Custom Contact Forms
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.3 to 1.2.0

custom-contact-forms-images.php CHANGED
@@ -1,23 +1,23 @@
1
- <?php
2
- /*
3
- Custom Contact Forms Plugin
4
- By Taylor Lovett - http://www.taylorlovett.com
5
- Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
- */
7
- if (!class_exists('CustomContactFormsImages')) {
8
- class CustomContactFormsImages {
9
- function createImageWithText($str){
10
- $image = imagecreate(96,24);
11
- $src = imagecreatefrompng('images/gd' . rand(1, 4) . '.png');
12
- $textcolor = imagecolorallocate($src, 10, 0, 0);
13
- imagestring($src, 14, 5, 1, $str, $textcolor);
14
- imagecopyresampled($image, $src, 0, 0, 0, 0, 96, 24, 63, 18);
15
- header('Content-Type: image/gif');
16
- imagepng($image);
17
- imagedestroy($image);
18
- imagedestroy($src);
19
- return $str;
20
- }
21
- }
22
- }
23
  ?>
1
+ <?php
2
+ /*
3
+ Custom Contact Forms Plugin
4
+ By Taylor Lovett - http://www.taylorlovett.com
5
+ Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
+ */
7
+ if (!class_exists('CustomContactFormsImages')) {
8
+ class CustomContactFormsImages {
9
+ function createImageWithText($str){
10
+ $image = imagecreate(96,24);
11
+ $src = imagecreatefrompng('images/gd' . rand(1, 4) . '.png');
12
+ $textcolor = imagecolorallocate($src, 10, 0, 0);
13
+ imagestring($src, 14, 5, 1, $str, $textcolor);
14
+ imagecopyresampled($image, $src, 0, 0, 0, 0, 96, 24, 63, 18);
15
+ header('Content-Type: image/gif');
16
+ imagepng($image);
17
+ imagedestroy($image);
18
+ imagedestroy($src);
19
+ return $str;
20
+ }
21
+ }
22
+ }
23
  ?>
custom-contact-forms-mailer.php CHANGED
@@ -1,35 +1,35 @@
1
- <?php
2
- /*
3
- Custom Contact Forms Plugin
4
- By Taylor Lovett - http://www.taylorlovett.com
5
- Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
- */
7
- if (!class_exists('CustomContactFormsMailer')) {
8
- class CustomContactFormsMailer {
9
- var $to;
10
- var $from;
11
- var $subject;
12
- var $body;
13
- var $headers;
14
-
15
- function CustomContactFormsMailer($to, $from, $subject, $body){
16
- $this->to = $to;
17
- $this->from = $from;
18
- $this->subject = $subject;
19
- $this->body = $body;
20
- }
21
-
22
- function send(){
23
- $this->addHeader('From: '.$this->from."\r\n");
24
- $this->addHeader('Reply-To: '.$this->from."\r\n");
25
- $this->addHeader('Return-Path: '.$this->from."\r\n");
26
- $this->addHeader('X-mailer: ZFmail 1.0'."\r\n");
27
- mail($this->to, $this->subject, $this->body, $this->headers);
28
- }
29
-
30
- function addHeader($header){
31
- $this->headers .= $header;
32
- }
33
- }
34
- }
35
  ?>
1
+ <?php
2
+ /*
3
+ Custom Contact Forms Plugin
4
+ By Taylor Lovett - http://www.taylorlovett.com
5
+ Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
+ */
7
+ if (!class_exists('CustomContactFormsMailer')) {
8
+ class CustomContactFormsMailer {
9
+ var $to;
10
+ var $from;
11
+ var $subject;
12
+ var $body;
13
+ var $headers;
14
+
15
+ function CustomContactFormsMailer($to, $from, $subject, $body){
16
+ $this->to = $to;
17
+ $this->from = $from;
18
+ $this->subject = $subject;
19
+ $this->body = $body;
20
+ }
21
+
22
+ function send(){
23
+ $this->addHeader('From: '.$this->from."\r\n");
24
+ $this->addHeader('Reply-To: '.$this->from."\r\n");
25
+ $this->addHeader('Return-Path: '.$this->from."\r\n");
26
+ $this->addHeader('X-mailer: ZFmail 1.0'."\r\n");
27
+ mail($this->to, $this->subject, $this->body, $this->headers);
28
+ }
29
+
30
+ function addHeader($header){
31
+ $this->headers .= $header;
32
+ }
33
+ }
34
+ }
35
  ?>
custom-contact-forms.css CHANGED
@@ -1,193 +1,201 @@
1
- /* Custom Contact Forms CSS */
2
- form.customcontactform {
3
- margin:8px;
4
- width:95%;
5
- max-width:600px;
6
- font-size:1em;
7
- padding:4px;
8
- color:#333333;
9
- }
10
- form.customcontactform-sidebar {
11
- width:100%;
12
- max-width:600px;
13
- padding:4px;
14
- color:#333333;
15
- font-size:1em;
16
- }
17
- form.customcontactform ul, form.customcontactform-sidebar ul {
18
- list-style-type:none;
19
- }
20
- form.customcontactform ul li, form.customcontactform-sidebar ul li {
21
- margin:.3em 0 .3em 0;
22
- padding:4px 0 4px 0;
23
- overflow:hidden;
24
- }
25
- form.customcontactform ul li {
26
- border-bottom:1px dashed #999;
27
- }
28
- form.customcontactform h4, form.customcontactform-sidebar h4 {
29
- font-size:1.4em;
30
- font-weight:bold;
31
- }
32
- form.customcontactform ul li label {
33
- display:block;
34
- padding:0;
35
- width:100%;
36
- }
37
- form.customcontactform-sidebar ul li label { width:100%; }
38
- form.customcontactform ul li label.checkbox, form.customcontactform-sidebar ul li label.checkbox {
39
- display:inline;
40
- width:20%;
41
- }
42
- form.customcontactform ul li input[type=text], form.customcontactform ul li textarea, form.customcontactform-sidebar ul li input[type=text], form.customcontactform-sidebar ul li textarea {
43
- border-width:1px;
44
- border-style:solid;
45
- border-spacing:0;
46
- font-weight:normal;
47
- width:16em;
48
- padding:2px;
49
- clear:both;
50
- margin:0;
51
- font-size:1.1em;
52
- font-family:Verdana, Arial, Helvetica, sans-serif;
53
- -moz-border-radius:4px;
54
- -khtml-border-radius:4px;
55
- -webkit-border-radius:4px;
56
- border-radius:4px;
57
- word-wrap:break-word;
58
- }
59
- form.customcontactform p, form.customcontactform-sidebar p { padding:0 0 4px 17px; margin:0; }
60
- form.customcontactform ul li input[type=submit], form.customcontactform ul li .submit, form.customcontactform-sidebar ul li .submit {
61
- font-size:1em; margin-left:8px;
62
- }
63
- form.customcontactform ul li input[type=checkbox], form.customcontactform-sidebar ul li input[type=checkbox] {
64
- width:20px;
65
- padding:0;
66
- margin:0;
67
- }
68
- form.customcontactform-sidebar ul li input[type=text], form.customcontactform-sidebar ul li textarea {
69
- width:90%;
70
- font-size:12px;
71
- }
72
-
73
- /* ------------------ custom contact forms admin panel ---------------- */
74
- #customcontactforms-admin {
75
- vertical-align:top;
76
- margin:1em 0 30px 25px;
77
- }
78
-
79
- #customcontactforms-admin input, textarea, select {
80
- font-size:1em;
81
- }
82
-
83
- #customcontactforms-admin .icon32 {
84
- margin:-6px 6px 9px 5px;
85
- }
86
- #customcontactforms-admin .inside {
87
- padding:5px 10px 10px 10px;
88
- }
89
- #customcontactforms-admin h3 {
90
- margin:0 0 7px 0;
91
- height:25px;
92
- padding: 7px 0 0 9px;
93
- }
94
- #customcontactforms-admin #instructions {
95
- float:left;
96
- height:28em;
97
- width:29em;
98
- margin:20px 1em 1em 5px;
99
- }
100
- #customcontactforms-admin #instructions p:first-child {
101
- padding-top:0;
102
- margin-top:0;
103
- }
104
- #customcontactforms-admin #general-settings {
105
- float:left;
106
- clear:both;
107
- height:53em;
108
- width:29em;
109
- margin:20px 1em 1em 5px;
110
- }
111
- #customcontactforms-admin #general-settings form ul li.descrip {
112
- font-style:italic;
113
- padding-left:20px;
114
- }
115
- #customcontactforms-admin #general-settings form ul li.show-widget {
116
- margin-top:1em;
117
- padding-top:.4em;
118
- border-top:1px solid #ccc;
119
- }
120
- #customcontactforms-admin #create-fields {
121
- float:left;
122
- height:22em;
123
- clear:left;
124
- width:450px;
125
- margin:0 1em 1em 5px;
126
- }
127
- #customcontactforms-admin #create-forms {
128
- float:left;
129
- width:500px;
130
- height:22em;
131
- border-left:1px solid #ccc;
132
- margin:0 1em 1em 1em;
133
- }
134
- #customcontactforms-admin #create-forms .inside ul li {
135
- font-size:.8em;
136
- }
137
- #customcontactforms-admin .manage-h3 {
138
- clear:both;
139
- margin-top:20px;
140
- }
141
- #customcontactforms-admin #manage-fields {
142
- width:1000px;
143
- }
144
- #customcontactforms-admin #manage-fixed-fields {
145
- width:1000px;
146
- }
147
- #customcontactforms-admin .evenrow {
148
- background-color:#f5f5f5;
149
- }
150
- #customcontactforms-admin .nobordertop {
151
- border-top:none;
152
- }
153
- #customcontactforms-admin .borderbottom {
154
- border-bottom:2px solid black;
155
- }
156
- #customcontactforms-admin .attached_fields {
157
- float:left;
158
- width:600px;
159
- }
160
- #customcontactforms-admin .attach_field {
161
- float:right;
162
- width:360px;
163
- }
164
- #customcontactforms-admin label span {
165
- font-weight:bold;
166
- }
167
- .width25 {
168
- width:25px;
169
- }
170
- .width50 {
171
- width:50px;
172
- }
173
- .width75 {
174
- width:75px;
175
- }
176
- .width100 {
177
- width:100px;
178
- }
179
- .width125 {
180
- width:125px;
181
- }
182
- .width150 {
183
- width:150px;
184
- }
185
- .width175 {
186
- width:175px;
187
- }
188
- .width200 {
189
- width:200px;
190
- }
191
- .red { color:#F00; }
192
- .bold { font-weight:bold; }
193
- .italic { font-style:italic; }
 
 
 
 
 
 
 
 
1
+ /* Custom Contact Forms CSS */
2
+ form.customcontactform {
3
+ margin:8px;
4
+ width:95%;
5
+ max-width:600px;
6
+ font-size:1em;
7
+ padding:4px;
8
+ color:#333333;
9
+ }
10
+ form.customcontactform-sidebar {
11
+ width:100%;
12
+ max-width:600px;
13
+ padding:4px;
14
+ color:#333333;
15
+ font-size:1em;
16
+ }
17
+ form.customcontactform ul, form.customcontactform-sidebar ul {
18
+ list-style-type:none;
19
+ }
20
+ form.customcontactform ul li, form.customcontactform-sidebar ul li {
21
+ margin:.3em 0 .3em 0;
22
+ padding:4px 0 4px 0;
23
+ overflow:hidden;
24
+ }
25
+ form.customcontactform ul li {
26
+ border-bottom:1px dashed #999;
27
+ }
28
+ form.customcontactform h4, form.customcontactform-sidebar h4 {
29
+ font-size:1.4em;
30
+ font-weight:bold;
31
+ }
32
+ form.customcontactform ul li label {
33
+ display:block;
34
+ padding:0;
35
+ width:100%;
36
+ }
37
+ form.customcontactform-sidebar ul li label { width:100%; }
38
+ form.customcontactform ul li label.checkbox, form.customcontactform-sidebar ul li label.checkbox {
39
+ display:inline;
40
+ width:20%;
41
+ }
42
+ form.customcontactform ul li input[type=text], form.customcontactform ul li textarea, form.customcontactform-sidebar ul li input[type=text], form.customcontactform-sidebar ul li textarea {
43
+ border-width:1px;
44
+ border-style:solid;
45
+ border-spacing:0;
46
+ font-weight:normal;
47
+ width:16em;
48
+ padding:2px;
49
+ clear:both;
50
+ margin:0;
51
+ font-size:1.1em;
52
+ font-family:Verdana, Arial, Helvetica, sans-serif;
53
+ -moz-border-radius:4px;
54
+ -khtml-border-radius:4px;
55
+ -webkit-border-radius:4px;
56
+ border-radius:4px;
57
+ word-wrap:break-word;
58
+ }
59
+ form.customcontactform p, form.customcontactform-sidebar p { padding:0 0 4px 17px; margin:0; }
60
+ form.customcontactform ul li input[type=submit], form.customcontactform ul li .submit, form.customcontactform-sidebar ul li .submit {
61
+ font-size:1em; margin-left:8px;
62
+ }
63
+ form.customcontactform ul li input[type=checkbox], form.customcontactform-sidebar ul li input[type=checkbox] {
64
+ width:20px;
65
+ padding:0;
66
+ margin:0;
67
+ }
68
+ form.customcontactform-sidebar ul li input[type=text], form.customcontactform-sidebar ul li textarea {
69
+ width:90%;
70
+ font-size:12px;
71
+ }
72
+ /* ------------------ custom contact forms admin panel ---------------- */
73
+ #customcontactforms-admin {
74
+ vertical-align:top;
75
+ margin:1em 0 30px 25px;
76
+ }
77
+ #customcontactforms-admin input, textarea, select {
78
+ font-size:1em;
79
+ }
80
+ #customcontactforms-admin .icon32 {
81
+ margin:-6px 6px 9px 5px;
82
+ }
83
+ #customcontactforms-admin .inside {
84
+ padding:5px 10px 10px 10px;
85
+ }
86
+ #customcontactforms-admin h3 {
87
+ margin:0 0 7px 0;
88
+ height:25px;
89
+ padding: 7px 0 0 9px;
90
+ }
91
+ #customcontactforms-admin #instructions {
92
+ float:left;
93
+ height:28em;
94
+ width:29em;
95
+ margin:20px 1em 1em 5px;
96
+ }
97
+ #customcontactforms-admin #upgrade {
98
+ width:900px;
99
+ background-color:#FFFFCC;
100
+ color:#000000;
101
+ padding:5px;
102
+ border:1px solid #999;
103
+ margin: 0 0 9px 0;
104
+ }
105
+ #customcontactforms-admin #upgrade .head { color:red; font-size:1.4em; margin:0px; }
106
+ #customcontactforms-admin #upgrade p:first-child { margin-top:0; }
107
+ #customcontactforms-admin #instructions p:first-child {
108
+ padding-top:0;
109
+ margin-top:0;
110
+ }
111
+ #customcontactforms-admin #general-settings {
112
+ float:left;
113
+ clear:both;
114
+ height:53em;
115
+ width:29em;
116
+ margin:20px 1em 1em 5px;
117
+ }
118
+ #customcontactforms-admin #general-settings form ul li.descrip {
119
+ font-style:italic;
120
+ padding-left:20px;
121
+ }
122
+ #customcontactforms-admin #general-settings form ul li.show-widget {
123
+ margin-top:1em;
124
+ padding-top:.4em;
125
+ border-top:1px solid #ccc;
126
+ }
127
+ #customcontactforms-admin #create-fields {
128
+ float:left;
129
+ height:22em;
130
+ clear:left;
131
+ width:450px;
132
+ margin:0 1em 1em 5px;
133
+ }
134
+ #customcontactforms-admin #create-forms {
135
+ float:left;
136
+ width:500px;
137
+ height:22em;
138
+ border-left:1px solid #ccc;
139
+ margin:0 1em 1em 1em;
140
+ }
141
+ #customcontactforms-admin #create-forms .inside ul li {
142
+ font-size:.8em;
143
+ }
144
+ #customcontactforms-admin .manage-h3 {
145
+ clear:both;
146
+ margin-top:20px;
147
+ }
148
+ #customcontactforms-admin #manage-fields {
149
+ width:1000px;
150
+ }
151
+ #customcontactforms-admin #manage-fixed-fields {
152
+ width:1000px;
153
+ }
154
+ #customcontactforms-admin .evenrow {
155
+ background-color:#f5f5f5;
156
+ }
157
+ #customcontactforms-admin .nobordertop {
158
+ border-top:none;
159
+ }
160
+ #customcontactforms-admin .borderbottom {
161
+ border-bottom:2px solid black;
162
+ }
163
+ #customcontactforms-admin .attached_fields {
164
+ float:left;
165
+ width:600px;
166
+ }
167
+ #customcontactforms-admin .attach_field {
168
+ float:right;
169
+ width:360px;
170
+ }
171
+ #customcontactforms-admin label span {
172
+ font-weight:bold;
173
+ }
174
+ .width25 {
175
+ width:25px;
176
+ }
177
+ .width50 {
178
+ width:50px;
179
+ }
180
+ .width75 {
181
+ width:75px;
182
+ }
183
+ .width100 {
184
+ width:100px;
185
+ }
186
+ .width125 {
187
+ width:125px;
188
+ }
189
+ .width150 {
190
+ width:150px;
191
+ }
192
+ .width175 {
193
+ width:175px;
194
+ }
195
+ .width200 {
196
+ width:200px;
197
+ }
198
+ .red { color:#F00; }
199
+ .bold { font-weight:bold; }
200
+ .italic { font-style:italic; }
201
+ .center { text-align:center; margin-left:auto; margin-right:auto; }
custom-contact-forms.php CHANGED
@@ -3,12 +3,11 @@
3
  Plugin Name: Custom Contact Forms
4
  Plugin URI: http://taylorlovett.com/wordpress-plugins
5
  Description: Custom Contact Forms is a plugin for handling and displaying custom web forms [customcontact form=1] in any page, post, category, or archive in which you want the form to show. This plugin allows you to create fields with a variety of options and to attach them to specific forms you create; definitely allows for more customization than any other Wordpress Contact Form plugin; comes with a customizable captcha spam blocker! Also comes with a web form widget to drag-and-drop in to your sidebar. <a href="options-general.php?page=custom-contact-forms" title="Maryland Wordpress Developer">Plugin Settings</a>
6
- Version: 1.1.3
7
  Author: <a href="http://www.taylorlovett.com" title="Maryland Wordpress Developer">Taylor Lovett</a>
8
  Author URI: http://www.taylorlovett.com
9
  Contributors: Taylor Lovett
10
  */
11
-
12
  /*
13
  Copyright (C) 2010-2011 Taylor Lovett, taylorlovett.com (admin@taylorlovett.com)
14
  This program is free software; you can redistribute it and/or modify
@@ -74,7 +73,6 @@ if (!class_exists('CustomContactForms')) {
74
  $form_options .= '<option value="'.$form->id.'"'.$sel.'>'.$form->form_slug.'</option>';
75
  }
76
  if (empty($form_options)) { ?>
77
-
78
  <p>Create a form in the Custom Contact Forms settings page.</p>
79
  <?php
80
  } else {
@@ -153,6 +151,16 @@ if (!class_exists('CustomContactForms')) {
153
  <div id="customcontactforms-admin">
154
  <div id="icon-themes" class="icon32"></div>
155
  <h2>Custom Contact Forms</h2>
 
 
 
 
 
 
 
 
 
 
156
  <div id="create-fields" class="postbox">
157
  <h3 class="hndle"><span>Create A Form Field</span></h3>
158
  <div class="inside">
3
  Plugin Name: Custom Contact Forms
4
  Plugin URI: http://taylorlovett.com/wordpress-plugins
5
  Description: Custom Contact Forms is a plugin for handling and displaying custom web forms [customcontact form=1] in any page, post, category, or archive in which you want the form to show. This plugin allows you to create fields with a variety of options and to attach them to specific forms you create; definitely allows for more customization than any other Wordpress Contact Form plugin; comes with a customizable captcha spam blocker! Also comes with a web form widget to drag-and-drop in to your sidebar. <a href="options-general.php?page=custom-contact-forms" title="Maryland Wordpress Developer">Plugin Settings</a>
6
+ Version: 1.2.0
7
  Author: <a href="http://www.taylorlovett.com" title="Maryland Wordpress Developer">Taylor Lovett</a>
8
  Author URI: http://www.taylorlovett.com
9
  Contributors: Taylor Lovett
10
  */
 
11
  /*
12
  Copyright (C) 2010-2011 Taylor Lovett, taylorlovett.com (admin@taylorlovett.com)
13
  This program is free software; you can redistribute it and/or modify
73
  $form_options .= '<option value="'.$form->id.'"'.$sel.'>'.$form->form_slug.'</option>';
74
  }
75
  if (empty($form_options)) { ?>
 
76
  <p>Create a form in the Custom Contact Forms settings page.</p>
77
  <?php
78
  } else {
151
  <div id="customcontactforms-admin">
152
  <div id="icon-themes" class="icon32"></div>
153
  <h2>Custom Contact Forms</h2>
154
+ <div id="upgrade">
155
+ <p>Want to <i>change the appearance of your forms</i> with a simple to use manager? The Style Manager allows style every aspect of your form: <b>Change form border style, form border width, form width, form font family, title font size, title font color, text field width, text field border color, text field font size, text field font color, submit button width/height, submit button font color, and more!</b></p>
156
+ <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
157
+ <input type="hidden" name="cmd" value="_s-xclick">
158
+ <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHkAYJKoZIhvcNAQcEoIIHgTCCB30CAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEg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GCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEwMDgwMTA1NTEyNVowIwYJKoZIhvcNAQkEMRYEFOvPtjEkUXc+Sw5MJGO6wBnV+NaEMA0GCSqGSIb3DQEBAQUABIGAv2yfD9m3B4byAv1I9IW8YEZz8HRus2VeGaqbYwnO6pK6FAG36fBkIF5jHvCerCBmn31YfU3EF1xKYC97Aw3sQN5CScofqY2kU3l5dySkyqScGwIsLn0oGYc9LSoSR00K07rl80KVF2gNSrQYAOh3ScLTmSc5MaQfS0z7jkuNbGk=-----END PKCS7-----
159
+ ">
160
+ <p class="head center">Upgrade to the Pro Version for $5.00 USD:</p><input style="margin-left:400px;" class="center" type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
161
+ <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
162
+ </form>
163
+ </div>
164
  <div id="create-fields" class="postbox">
165
  <h3 class="hndle"><span>Create A Form Field</span></h3>
166
  <div class="inside">
image.php CHANGED
@@ -1,16 +1,15 @@
1
- <?php
2
- /*
3
- Custom Contact Forms Plugin
4
- By Taylor Lovett - http://www.taylorlovett.com
5
- Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
- */
7
- header("Content-type: image/png");
8
- require_once('custom-contact-forms-images.php');
9
- $image = new CustomContactFormsImages();
10
- $str = rand(10000, 99999);
11
- if (!session_id())
12
- session_start();
13
- $_SESSION[captcha] = $str;
14
- $image->createImageWithText($str);
15
-
16
- ?>
1
+ <?php
2
+ /*
3
+ Custom Contact Forms Plugin
4
+ By Taylor Lovett - http://www.taylorlovett.com
5
+ Plugin URL: http://www.taylorlovett.com/wordpress-plugins
6
+ */
7
+ header("Content-type: image/png");
8
+ require_once('custom-contact-forms-images.php');
9
+ $image = new CustomContactFormsImages();
10
+ $str = rand(10000, 99999);
11
+ if (!session_id())
12
+ session_start();
13
+ $_SESSION[captcha] = $str;
14
+ $image->createImageWithText($str);
15
+ ?>
 
images/_notes/dwsync.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0" encoding="utf-8" ?>
2
  <dwsync>
3
- <file name="gd1.png" server="ftp.taylorlovett.com/www/" local="129249397200000000" remote="129249397200000000" />
4
- <file name="gd2.png" server="ftp.taylorlovett.com/www/" local="129249397200000000" remote="129249397200000000" />
5
- <file name="gd3.png" server="ftp.taylorlovett.com/www/" local="129249397200000000" remote="129249397200000000" />
6
- <file name="gd4.png" server="ftp.taylorlovett.com/www/" local="129249397200000000" remote="129249397200000000" />
7
  </dwsync>
1
  <?xml version="1.0" encoding="utf-8" ?>
2
  <dwsync>
3
+ <file name="gd1.png" server="ftp.taylorlovett.com/www/" local="129251131800000000" remote="129251131800000000" />
4
+ <file name="gd2.png" server="ftp.taylorlovett.com/www/" local="129251131800000000" remote="129251131800000000" />
5
+ <file name="gd3.png" server="ftp.taylorlovett.com/www/" local="129251131800000000" remote="129251131800000000" />
6
+ <file name="gd4.png" server="ftp.taylorlovett.com/www/" local="129251131800000000" remote="129251131800000000" />
7
  </dwsync>
readme.txt CHANGED
@@ -3,39 +3,33 @@ Plugin Name: Custom Contact Forms
3
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
4
  Requires at least: 2.7.1
5
  Tested up to: 3.0.1
6
- Stable tag: 1.1.3
7
  Contributors: Taylor Lovett
8
  Download link: http://www.taylorlovett.com/wordpress-plugins/
9
  Author: Taylor Lovett
10
  Author URI: http://www.taylorlovett.com
11
-
12
  == Description ==
13
  Custom Contact Forms is a plugin for handling and displaying custom web forms [customcontact form=1] in any page, post, category, or archive in which you want the form to show. This plugin allows you to create fields with a variety of options and to attach them to specific forms you create; definitely allows for more customization than any other Wordpress Contact Form plugin; comes with a customizable captcha spam blocker! Also comes with a web form widget to drag-and-drop in to your sidebar.
14
-
15
  == Installation ==
16
  1. Upload to /wp-content/plugins
17
  2. Activate the plugin from your Wordpress Admin Panel
18
  3. Configure the plugin, create fields, and create forms in the Settings page called Custom Contact Forms
19
  4. Display those forms in posts and pages by inserting the code: [customcontact form=FORMID]
20
-
21
  == Configuring and Using the Plugin ==
22
  1. Create a form in the Custom Contact Forms setting page. To get to the settings page, click the Custom Contact Forms link in the admin panel sidebar
23
  2. Create fields and attach those fields to the forms of your choice. * Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them.
24
  3. Display those forms in posts and pages by inserting the code: [customcontact form=FORMID]. Replace FORMID with the id listed to the left of the form slug next to the form of your choice above.
25
  4. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar.
26
  5. Configure the General Settings appropriately; this is important if you want to receive your web form messages!
27
-
28
  == Support ==
29
  For questions, feature requests, and support concerning the Custom Contact Forms plugin, please email me at:
30
  admin@taylorlovett.com
31
  I respond to emails same-day! If you want to be an official tester, email me and I'll put you on this list.
32
-
33
  Official Testers:
34
  Mark Lassarre
35
-
36
  == Upgrade Notice ==
37
  Create forms styles, manage them, and attach them to forms! Coming soon.
38
-
39
  == Change Log ==
40
  1.0.0:
41
  * Plugin Release
@@ -54,4 +48,6 @@ Create forms styles, manage them, and attach them to forms! Coming soon.
54
  * custom-contact-forms-db.php - create_tables function edited to work for Wordpress MU due to error in wp-admin/includes/upgrade.php
55
  1.1.3
56
  * custom-contact-forms.php - Captcha label bug fixed
57
- * custom-contact-forms-db.php - Default captcha label changed
 
 
3
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
4
  Requires at least: 2.7.1
5
  Tested up to: 3.0.1
6
+ Stable tag: 1.2.0
7
  Contributors: Taylor Lovett
8
  Download link: http://www.taylorlovett.com/wordpress-plugins/
9
  Author: Taylor Lovett
10
  Author URI: http://www.taylorlovett.com
 
11
  == Description ==
12
  Custom Contact Forms is a plugin for handling and displaying custom web forms [customcontact form=1] in any page, post, category, or archive in which you want the form to show. This plugin allows you to create fields with a variety of options and to attach them to specific forms you create; definitely allows for more customization than any other Wordpress Contact Form plugin; comes with a customizable captcha spam blocker! Also comes with a web form widget to drag-and-drop in to your sidebar.
 
13
  == Installation ==
14
  1. Upload to /wp-content/plugins
15
  2. Activate the plugin from your Wordpress Admin Panel
16
  3. Configure the plugin, create fields, and create forms in the Settings page called Custom Contact Forms
17
  4. Display those forms in posts and pages by inserting the code: [customcontact form=FORMID]
 
18
  == Configuring and Using the Plugin ==
19
  1. Create a form in the Custom Contact Forms setting page. To get to the settings page, click the Custom Contact Forms link in the admin panel sidebar
20
  2. Create fields and attach those fields to the forms of your choice. * Attach the fields in the order that you want them to show up in the form. If you mess up you can detach and reattach them.
21
  3. Display those forms in posts and pages by inserting the code: [customcontact form=FORMID]. Replace FORMID with the id listed to the left of the form slug next to the form of your choice above.
22
  4. Add a form to your sidebar, by dragging the Custom Contact Form widget in to your sidebar.
23
  5. Configure the General Settings appropriately; this is important if you want to receive your web form messages!
24
+ 6. Create form styles to change the appearance of your contact forms.
25
  == Support ==
26
  For questions, feature requests, and support concerning the Custom Contact Forms plugin, please email me at:
27
  admin@taylorlovett.com
28
  I respond to emails same-day! If you want to be an official tester, email me and I'll put you on this list.
 
29
  Official Testers:
30
  Mark Lassarre
 
31
  == Upgrade Notice ==
32
  Create forms styles, manage them, and attach them to forms! Coming soon.
 
33
  == Change Log ==
34
  1.0.0:
35
  * Plugin Release
48
  * custom-contact-forms-db.php - create_tables function edited to work for Wordpress MU due to error in wp-admin/includes/upgrade.php
49
  1.1.3
50
  * custom-contact-forms.php - Captcha label bug fixed
51
+ * custom-contact-forms-db.php - Default captcha label changed
52
+ 1.2.0
53
+ * custom-contact-forms.php - Option to update to Custom Contact Forms Pro