Easy Forms for MailChimp - Version 4.3.1

Version Description

  • Removed the_content filter, added custom filter to prevent other plugins from hooking in
  • Re-work redirect function to prevent infinite loop (and no redirect) issue
Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 Easy Forms for MailChimp
Version 4.3.1
Comparing to
See all releases

Code changes from version 4.2.2 to 4.3.1

classes/class.yksemeBase.php CHANGED
@@ -74,6 +74,10 @@ public function initialize()
74
  add_action('admin_print_styles', array(&$this, 'addStyles'));
75
  add_action('admin_print_scripts', array(&$this, 'addScripts'));
76
  add_action('admin_init', array( &$this, 'yks_easy_mc_plugin_activation_redirect' ) );
 
 
 
 
77
  // tinymce buttons
78
  // only add filters and actions on wp 3.9 and above
79
  if ( get_bloginfo( 'version' ) >= '3.9' ) {
@@ -1390,10 +1394,11 @@ public function addUserToMailchimp($p)
1390
 
1391
  // Interest group loop to build the GROUPINGS array
1392
  // The GROUPINGS array passes our interest group, and values back to the specific form
1393
- $interest_group_option = json_decode($fd['interest-group-data'], true);
1394
-
 
1395
  // if interest groups exist, continue and form an array
1396
- if ( $interest_group_option ) {
1397
 
1398
  // print_r($interest_group_option);
1399
  $mv['GROUPINGS'] = array();
@@ -1781,10 +1786,16 @@ public function getFrontendFormJavascript($list='')
1781
  break;
1782
  // radio
1783
  case 'radio':
1784
- $js .= "if($".$prefix."('.{".$field['name']."}:checked').length <= 0)
1785
- {
1786
- msg += '* {".$field['label']."}'+'\\n';
1787
  err++;
 
 
 
 
 
 
1788
  }";
1789
  break;
1790
  }
@@ -1872,15 +1883,14 @@ public function getFrontendFormDisplay($list='', $submit_text)
1872
  var formRedirectPage = '<?php echo $redirect_url ?>';
1873
  var formID = '<?php echo $form_id[1] ?>';
1874
  jQuery('#yks-mailchimp-form_0-'+formID).submit(function() {
1875
- var i = 0;
1876
- setInterval(function(){
1877
  if ( jQuery('.yks-success').is(':visible') ) {
1878
- i++;
1879
- if ( i == 1 ) {
1880
- window.location.replace(formRedirectPage);
1881
- }
1882
  }
1883
- }, 1000);
 
1884
  });
1885
  });
1886
  </script>
@@ -1959,15 +1969,14 @@ public function getFrontendFormDisplay($list='', $submit_text)
1959
  var formRedirectPage = '<?php echo $redirect_url ?>';
1960
  var formID = '<?php echo $form_id[1] ?>';
1961
  jQuery('#yks-mailchimp-form_0-'+formID).submit(function() {
1962
- var i = 0;
1963
- setInterval(function(){
1964
  if ( jQuery('.yks-success').is(':visible') ) {
1965
- i++;
1966
- if ( i == 1 ) {
1967
- window.location.replace(formRedirectPage);
1968
- }
1969
  }
1970
- }, 1000);
 
1971
  });
1972
  });
1973
  </script>
@@ -2324,6 +2333,27 @@ private function runUpdateTasks_1_3_0()
2324
  }
2325
  }
2326
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2327
 
2328
  // Check if cURL is enabled at the server level
2329
  // used on the options.php page
74
  add_action('admin_print_styles', array(&$this, 'addStyles'));
75
  add_action('admin_print_scripts', array(&$this, 'addScripts'));
76
  add_action('admin_init', array( &$this, 'yks_easy_mc_plugin_activation_redirect' ) );
77
+ // adding our custom content action
78
+ // used to prevent other plugins from hooking
79
+ // into the_content (such as jetpack sharedadddy, sharethis etc.)
80
+ add_action( 'init', array( &$this, 'yks_mc_content' ), 1 );
81
  // tinymce buttons
82
  // only add filters and actions on wp 3.9 and above
83
  if ( get_bloginfo( 'version' ) >= '3.9' ) {
1394
 
1395
  // Interest group loop to build the GROUPINGS array
1396
  // The GROUPINGS array passes our interest group, and values back to the specific form
1397
+ if ( isset($fd['interest-group-data']) ) {
1398
+ $interest_group_option = json_decode($fd['interest-group-data'], true);
1399
+ }
1400
  // if interest groups exist, continue and form an array
1401
+ if ( isset($interest_group_option) ) {
1402
 
1403
  // print_r($interest_group_option);
1404
  $mv['GROUPINGS'] = array();
1786
  break;
1787
  // radio
1788
  case 'radio':
1789
+ $js .= "if($".$prefix."('.".$field['name'].":checked').length <= 0)
1790
+ {
1791
+ msg += '<li>".$field['label']."\\n</li>';
1792
  err++;
1793
+ $".$prefixa."('label[for=".$field['id']."]').next().find('input').addClass('yks_error_field_required shake animated').delay(800).queue(function(next){
1794
+ $".$prefixa."(this).removeClass('shake animated');
1795
+ next();
1796
+ });
1797
+ } else {
1798
+ $".$prefixa."('#".$field['id']."').removeClass('yks_error_field_required')
1799
  }";
1800
  break;
1801
  }
1883
  var formRedirectPage = '<?php echo $redirect_url ?>';
1884
  var formID = '<?php echo $form_id[1] ?>';
1885
  jQuery('#yks-mailchimp-form_0-'+formID).submit(function() {
1886
+ var interval = setInterval(function() {
 
1887
  if ( jQuery('.yks-success').is(':visible') ) {
1888
+ window.location.replace(formRedirectPage);
1889
+ clearInterval(interval);
1890
+ return;
 
1891
  }
1892
+ //do whatever here..
1893
+ }, 2000);
1894
  });
1895
  });
1896
  </script>
1969
  var formRedirectPage = '<?php echo $redirect_url ?>';
1970
  var formID = '<?php echo $form_id[1] ?>';
1971
  jQuery('#yks-mailchimp-form_0-'+formID).submit(function() {
1972
+ var interval = setInterval(function() {
 
1973
  if ( jQuery('.yks-success').is(':visible') ) {
1974
+ window.location.replace(formRedirectPage);
1975
+ clearInterval(interval);
1976
+ return;
 
1977
  }
1978
+ //do whatever here..
1979
+ }, 2000);
1980
  });
1981
  });
1982
  </script>
2333
  }
2334
  }
2335
 
2336
+ /****
2337
+ **
2338
+ ** Custom The_Content filter
2339
+ ** used to prevent other plugins from hooking here
2340
+ **
2341
+ ****/
2342
+ function yks_mc_content() {
2343
+ //Create our own version of the_content so that others can't accidentally loop into our output - Taken from default-filters.php, shortcodes.php, and media.php
2344
+ if ( !has_filter( 'yks_mc_content', 'wptexturize' ) ) {
2345
+ add_filter( 'yks_mc_content', 'wptexturize' );
2346
+ add_filter( 'yks_mc_content', 'convert_smilies' );
2347
+ add_filter( 'yks_mc_content', 'convert_chars' );
2348
+ add_filter( 'yks_mc_content', 'wpautop' );
2349
+ add_filter( 'yks_mc_content', 'shortcode_unautop' );
2350
+ add_filter( 'yks_mc_content', 'prepend_attachment' );
2351
+ $vidembed = new WP_Embed();
2352
+ add_filter( 'yks_mc_content', array( &$vidembed, 'run_shortcode'), 8 );
2353
+ add_filter( 'yks_mc_content', array( &$vidembed, 'autoembed'), 8 );
2354
+ add_filter( 'yks_mc_content', 'do_shortcode', 11);
2355
+ } //end has_filter
2356
+ } //end yks_mc_content
2357
 
2358
  // Check if cURL is enabled at the server level
2359
  // used on the options.php page
languages/yikes-inc-easy-mailchimp-extender-fr_FR.mo ADDED
Binary file
languages/yikes-inc-easy-mailchimp-extender-fr_FR.po ADDED
@@ -0,0 +1,831 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Yikes Inc. Easy MailChimp Plugin\n"
4
+ "POT-Creation-Date: 2014-06-05 16:14-0500\n"
5
+ "PO-Revision-Date: 2014-06-05 16:16-0500\n"
6
+ "Last-Translator: Evan <evan.m.herman@gmail.com>\n"
7
+ "Language-Team: Yikes Inc. <evan@yikesinc.com>\n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-SearchPath-0: ../.\n"
17
+
18
+ #: .././classes/class.yksemeBase.php:126
19
+ #: .././classes/class.yksemeBase.php:1310
20
+ msgid "Thank You for subscribing!"
21
+ msgstr "Merci pour votre inscription!"
22
+
23
+ #: .././classes/class.yksemeBase.php:127
24
+ #: .././classes/class.yksemeBase.php:1311
25
+ msgid ""
26
+ "Thank You for subscribing! Check your email for the confirmation message."
27
+ msgstr ""
28
+ "Merci pour votre inscription! Vérifiez votre e-mail pour le message de "
29
+ "confirmation."
30
+
31
+ #: .././classes/class.yksemeBase.php:128
32
+ msgid "Select Your Area of Interest"
33
+ msgstr "Sélectionnez votre domaine d'intérêt"
34
+
35
+ #: .././classes/class.yksemeBase.php:919
36
+ msgid "Click on a subscriber to see further information"
37
+ msgstr "Cliquez sur un abonné de voir plus d'informations"
38
+
39
+ #: .././classes/class.yksemeBase.php:924
40
+ msgid "E-Mail"
41
+ msgstr "Courriel: "
42
+
43
+ #: .././classes/class.yksemeBase.php:925
44
+ msgid "Date Subscribed"
45
+ msgstr "Date de souscrit"
46
+
47
+ #: .././classes/class.yksemeBase.php:946
48
+ msgid "Sorry You Don't Currently Have Any Subscribers In This List!"
49
+ msgstr "Désolé vous n'avez pas actuellement Les abonnés de cette liste!"
50
+
51
+ #: .././classes/class.yksemeBase.php:1003
52
+ msgid "Back to Subscriber List"
53
+ msgstr "Retour à la liste des abonnés"
54
+
55
+ #: .././classes/class.yksemeBase.php:1004
56
+ msgid "Subscriber Details"
57
+ msgstr "Abonné Détails"
58
+
59
+ #: .././classes/class.yksemeBase.php:1015
60
+ msgid "Overview"
61
+ msgstr "Présentation"
62
+
63
+ #: .././classes/class.yksemeBase.php:1020
64
+ msgid "First Name"
65
+ msgstr "Prénom"
66
+
67
+ #: .././classes/class.yksemeBase.php:1023
68
+ msgid "Last Updated"
69
+ msgstr "Dernière Mise à Jour"
70
+
71
+ #: .././classes/class.yksemeBase.php:1026
72
+ msgid "Preferred Email Type"
73
+ msgstr "Email préféré type"
74
+
75
+ #: .././classes/class.yksemeBase.php:1033
76
+ msgid "Last Name"
77
+ msgstr "Nom de famille"
78
+
79
+ #: .././classes/class.yksemeBase.php:1036
80
+ msgid "Language"
81
+ msgstr "Langue"
82
+
83
+ #: .././classes/class.yksemeBase.php:1063
84
+ msgid "Groups Subscribed To"
85
+ msgstr "Groupes souscrit à"
86
+
87
+ #: .././classes/class.yksemeBase.php:1113
88
+ msgid "Subscriber Notes"
89
+ msgstr "Notes abonnés"
90
+
91
+ #: .././classes/class.yksemeBase.php:1118
92
+ msgid "Written by"
93
+ msgstr "Ecrit par"
94
+
95
+ #: .././classes/class.yksemeBase.php:1118
96
+ msgid "Created on"
97
+ msgstr "Créé le"
98
+
99
+ #: .././classes/class.yksemeBase.php:1274
100
+ #: .././classes/class.yksemeBase.php:1276
101
+ msgid "MailChimp Forms"
102
+ msgstr "MailChimp formes"
103
+
104
+ #: .././classes/class.yksemeBase.php:1276
105
+ msgid "MailChimp Settings"
106
+ msgstr "Paramètres MailChimp"
107
+
108
+ #: .././classes/class.yksemeBase.php:1277
109
+ msgid "Manage List Forms"
110
+ msgstr "Gérer la liste formes"
111
+
112
+ #: .././classes/class.yksemeBase.php:1278 .././pages/about.php:5
113
+ msgid "About YIKES, Inc."
114
+ msgstr "À propos de YIKES, Inc."
115
+
116
+ #: .././classes/class.yksemeBase.php:1466
117
+ msgid "One or more fields are empty"
118
+ msgstr "Un ou plusieurs champs sont vides"
119
+
120
+ #: .././classes/class.yksemeBase.php:1518
121
+ msgid "Your List Was Successfully Saved!"
122
+ msgstr "Votre liste a été enregistrée avec succès!"
123
+
124
+ #: .././classes/class.yksemeBase.php:1521
125
+ msgid "Your settings were not saved (or you did not change them)."
126
+ msgstr ""
127
+ "Vos paramètres n'ont pas été enregistrés (ou que vous n'avez pas à changer)."
128
+
129
+ #: .././classes/class.yksemeBase.php:1523
130
+ msgid "I'm sorry there was an error with your request."
131
+ msgstr "Je suis désolé qu'il y avait une erreur avec votre demande."
132
+
133
+ #: .././classes/class.yksemeBase.php:1529
134
+ msgid "MailChimp List name"
135
+ msgstr "Liste MailChimp nom"
136
+
137
+ #: .././classes/class.yksemeBase.php:1535
138
+ #: .././classes/class.yksemeBase.php:1545
139
+ #, php-format
140
+ msgid "%1$s"
141
+ msgstr "%1$s"
142
+
143
+ #: .././classes/class.yksemeBase.php:1553
144
+ msgid "MailChimp List ID"
145
+ msgstr "MailChimp Liste ID"
146
+
147
+ #: .././classes/class.yksemeBase.php:1559
148
+ msgid "Shortcode"
149
+ msgstr "ShortCode"
150
+
151
+ #: .././classes/class.yksemeBase.php:1562
152
+ msgid ""
153
+ "Paste this shortcode into whatever page or post you want to add this form to"
154
+ msgstr ""
155
+ "Collez ce shortcode dans n'importe quelle page ou message que vous voulez "
156
+ "ajouter cette forme de"
157
+
158
+ #: .././classes/class.yksemeBase.php:1567
159
+ msgid "PHP Snippet"
160
+ msgstr "Snippet PHP"
161
+
162
+ #: .././classes/class.yksemeBase.php:1570
163
+ msgid "Use this code to add this form to a template file"
164
+ msgstr "Utilisez ce code pour ajouter cette forme à un fichier de modèle"
165
+
166
+ #: .././classes/class.yksemeBase.php:1575
167
+ msgid "Number of Subscribers"
168
+ msgstr "Nombre d'abonnés"
169
+
170
+ #: .././classes/class.yksemeBase.php:1584
171
+ msgid "Form Fields"
172
+ msgstr "Formulaire champs"
173
+
174
+ #: .././classes/class.yksemeBase.php:1586
175
+ msgid ""
176
+ "Check the fields you want included in your form (Email Address is required)."
177
+ msgstr ""
178
+ "Vérifiez les champs que vous souhaitez inclure dans votre formulaire "
179
+ "(adresse e-mail est requise)."
180
+
181
+ #: .././classes/class.yksemeBase.php:1589
182
+ msgid ""
183
+ "Use the green arrows to drag-and-drop the fields and rearrange their order."
184
+ msgstr ""
185
+ "Utilisez les flèches vertes pour faire glisser et déposer les champs et les "
186
+ "réorganiser."
187
+
188
+ #: .././classes/class.yksemeBase.php:1595
189
+ msgid "Active Fields"
190
+ msgstr "Les champs actifs"
191
+
192
+ #: .././classes/class.yksemeBase.php:1604
193
+ msgid "Drag"
194
+ msgstr "Traîner"
195
+
196
+ #: .././classes/class.yksemeBase.php:1604
197
+ msgid "drop"
198
+ msgstr "tomber"
199
+
200
+ #: .././classes/class.yksemeBase.php:1609
201
+ msgid "Merge field"
202
+ msgstr "Champ de fusion"
203
+
204
+ #: .././classes/class.yksemeBase.php:1610
205
+ msgid "Placeholder"
206
+ msgstr "Emplacement"
207
+
208
+ #: .././classes/class.yksemeBase.php:1618
209
+ msgid "Redirect User On Submission"
210
+ msgstr "Rediriger l'utilisateur sur la soumission"
211
+
212
+ #: .././classes/class.yksemeBase.php:1622
213
+ msgid "choose a page to redirect the user to after they submit the form."
214
+ msgstr ""
215
+ "choisir une page de rediriger l'utilisateur vers après leur soumettre le "
216
+ "formulaire."
217
+
218
+ #: .././classes/class.yksemeBase.php:1625
219
+ msgid "Select A Post/Page"
220
+ msgstr "Sélectionner un post / page"
221
+
222
+ #: .././classes/class.yksemeBase.php:1682
223
+ msgid "Save Form Settings"
224
+ msgstr "Enregistrer les paramètres de formulaire"
225
+
226
+ #: .././classes/class.yksemeBase.php:1683
227
+ msgid "Delete Form"
228
+ msgstr "Effacer le formulaire"
229
+
230
+ #: .././classes/class.yksemeBase.php:1684
231
+ msgid "Re-Import Form Fields from MailChimp"
232
+ msgstr "Re-Import des champs de formulaire de MailChimp"
233
+
234
+ #: .././classes/class.yksemeBase.php:2223
235
+ msgid "Sign Me Up For MAILCHIMP-REPLACE-THIS-TEXT's Newsletter"
236
+ msgstr "Je m'inscris à la newsletter de MailChimp-REPLACE-CE-TEXT"
237
+
238
+ #: .././pages/about.php:42
239
+ msgid "YIKES, Inc. Web Design and Development"
240
+ msgstr "OUPS, Inc. Conception et développement Web"
241
+
242
+ #: .././pages/about.php:44
243
+ msgid "Smart, effective, beautifully designed web solutions"
244
+ msgstr "Des solutions intelligentes, efficaces, magnifiquement conçus web"
245
+
246
+ #: .././pages/about.php:47
247
+ msgid ""
248
+ "YIKES is located in the Fishtown neighborhood of Philadelphia where we build "
249
+ "custom WordPress themes and plugins every day."
250
+ msgstr ""
251
+ "YIKES est situé dans le quartier de Fishtown Philadelphie où nous "
252
+ "construisons personnalisé thèmes et plugins WordPress chaque jour."
253
+
254
+ #: .././pages/about.php:51
255
+ msgid ""
256
+ "At YIKES we love WordPress! Co-Owner, Tracy Levesque has presented at "
257
+ "WordCamps"
258
+ msgstr ""
259
+ "Au YIKES nous aimons WordPress! Co-propriétaire, Tracy Levesque a présenté à "
260
+ "WordCamps"
261
+
262
+ #: .././pages/about.php:51
263
+ msgid "and"
264
+ msgstr "et"
265
+
266
+ #: .././pages/about.php:51
267
+ msgid "She also teaches WordPress classes for"
268
+ msgstr "Elle donne également des cours de WordPress pour"
269
+
270
+ #: .././pages/about.php:55
271
+ msgid ""
272
+ "In addition to making great WordPress sites we are also committed to the "
273
+ "sustainable business movement. We observe the triple bottom line: people, "
274
+ "planet, profit and work to help build a more socially, environmentally and "
275
+ "financially sustainable local economy. We even have a"
276
+ msgstr ""
277
+ "En plus de faire de grands sites WordPress, nous sommes également engagés à "
278
+ "la circulation de l'entreprise durable. Nous observons le triple bottom "
279
+ "line: people, planet, profit et de travail pour aider à construire une "
280
+ "économie locale plus socialement, écologiquement et financièrement viable. "
281
+ "Nous avons même un"
282
+
283
+ #: .././pages/about.php:55
284
+ msgid "LEED Platinum office"
285
+ msgstr "Bureau LEED Platinum"
286
+
287
+ #: .././pages/about.php:59
288
+ msgid ""
289
+ "If you're interested in hiring us for WordPress development, or just want to "
290
+ "learn more about us, please visit"
291
+ msgstr ""
292
+ "Si vous êtes intéressé à nous embaucher pour le développement WordPress, ou "
293
+ "voulez juste en savoir plus sur nous, s'il vous plaît visitez"
294
+
295
+ #: .././pages/lists.php:51
296
+ msgid "Oops.. The list ID you entered appears to be incorrect."
297
+ msgstr "Oups .. L'ID de liste que vous avez entré n'est pas correcte."
298
+
299
+ #: .././pages/lists.php:65
300
+ msgid "There was an error!"
301
+ msgstr "Il y avait une erreur!"
302
+
303
+ #: .././pages/lists.php:156
304
+ msgid "You need to select a Mailchimp list in order to create a form for it"
305
+ msgstr ""
306
+ "Vous devez sélectionner une liste MailChimp afin de créer un formulaire pour "
307
+ "qu'il"
308
+
309
+ #: .././pages/lists.php:215
310
+ msgid "Are you sure you want to delete this form?"
311
+ msgstr "Etes-vous sûr de vouloir supprimer cette forme?"
312
+
313
+ #: .././pages/lists.php:258
314
+ msgid ""
315
+ "Are you sure you want to re-import this form and its fields from MailChimp?"
316
+ msgstr ""
317
+ "Etes-vous sûr de vouloir ré-importer ce formulaire et ses champs de "
318
+ "MailChimp?"
319
+
320
+ #: .././pages/lists.php:279
321
+ msgid " was successfully updated"
322
+ msgstr "a été mis à jour avec succès"
323
+
324
+ #: .././pages/lists.php:293
325
+ msgid "It looks like this form is already up to date!"
326
+ msgstr "Il ressemble à ce formulaire est déjà à jour!"
327
+
328
+ #: .././pages/lists.php:418
329
+ msgid "Are you sure you want to unsubscribe"
330
+ msgstr "Etes-vous sûr de vouloir vous désinscrire"
331
+
332
+ #: .././pages/lists.php:418
333
+ msgid "from this list?"
334
+ msgstr "de cette liste?"
335
+
336
+ #: .././pages/lists.php:434
337
+ msgid "was successfully unsubscribed from this list."
338
+ msgstr "a été désinscrit succès de cette liste."
339
+
340
+ #: .././pages/lists.php:544 .././pages/options.php:234
341
+ #: .././pages/options.php:465
342
+ msgid "Easy Mailchimp Forms by YIKES, Inc."
343
+ msgstr "Facile MailChimp Formulaires par YIKES, Inc."
344
+
345
+ #: .././pages/lists.php:550
346
+ msgid "Before you can add MailChimp forms to your site, you need to"
347
+ msgstr ""
348
+ "Avant de pouvoir ajouter des formulaires MailChimp à votre site, vous avez "
349
+ "besoin de"
350
+
351
+ #: .././pages/lists.php:550
352
+ msgid "go to the MailChimp Settings page"
353
+ msgstr "aller à la page Paramètres MailChimp"
354
+
355
+ #: .././pages/lists.php:550 .././templates/yikes-mailchimp-widget.php:156
356
+ msgid "and add your API Key."
357
+ msgstr "et ajouter votre clé API."
358
+
359
+ #: .././pages/lists.php:558
360
+ msgid "You must enter a valid API key to import and manage your lists."
361
+ msgstr ""
362
+ "Vous devez entrer une clé API valide pour importer et gérer vos listes."
363
+
364
+ #: .././pages/lists.php:569
365
+ msgid "Your Lists"
366
+ msgstr "Vos listes"
367
+
368
+ #: .././pages/lists.php:579
369
+ msgid "Manage Forms"
370
+ msgstr "Gérer les formulaires"
371
+
372
+ #: .././pages/options.php:46
373
+ msgid "The options were saved successfully!"
374
+ msgstr "Les options ont été enregistrées avec succès!"
375
+
376
+ #: .././pages/options.php:49
377
+ msgid "The options could not be saved (or you did not change them)."
378
+ msgstr ""
379
+ "Les options ne pouvaient être sauvés (ou que vous n'avez pas à changer)."
380
+
381
+ #: .././pages/options.php:104
382
+ msgid "Valid API Key"
383
+ msgstr "Clé API valide"
384
+
385
+ #: .././pages/options.php:110
386
+ msgid "Sorry, that is an invalid MailChimp API key."
387
+ msgstr "Désolé, c'est une clé non valide API MailChimp."
388
+
389
+ #: .././pages/options.php:116
390
+ msgid ""
391
+ "Sorry, that is an invalid MailChimp API key. Please check the console for "
392
+ "further information."
393
+ msgstr ""
394
+ "Désolé, c'est une clé non valide API MailChimp. S'il vous plaît vérifier la "
395
+ "console pour plus d'informations."
396
+
397
+ #: .././pages/options.php:125
398
+ msgid "Error: Please enter a valid Mail Chimp API Key."
399
+ msgstr "Erreur: S'il vous plaît entrer un email chimpanzé clé API valide."
400
+
401
+ #: .././pages/options.php:143
402
+ msgid ""
403
+ "Are you sure you want to reset your MailChimp settings? This cannot be "
404
+ "undone."
405
+ msgstr ""
406
+ "Etes-vous sûr que vous voulez réinitialiser vos paramètres MailChimp? Cela "
407
+ "ne peut pas être annulée."
408
+
409
+ #: .././pages/options.php:156
410
+ msgid "MailChimp settings have successfully been reset"
411
+ msgstr "MailChimp paramètres ont été réinitialisés avec succès"
412
+
413
+ #: .././pages/options.php:237
414
+ msgid "Manage Mailchimp Forms Settings"
415
+ msgstr "Gérer MailChimp Forms Paramètres"
416
+
417
+ #: .././pages/options.php:243
418
+ msgid "WordPress Version Number Error"
419
+ msgstr "WordPress numéro de version erreur"
420
+
421
+ #: .././pages/options.php:244
422
+ msgid ""
423
+ "We're sorry, but it looks like your using an outdated version of WordPress. "
424
+ "You won't be able to access the tinyMCE button to insert forms into pages "
425
+ "and posts unless you update to 3.9 or later."
426
+ msgstr ""
427
+ "Nous sommes désolés, mais il semble que votre utilisation d'une version à "
428
+ "jour de WordPress. Vous ne serez pas en mesure d'accéder au bouton de "
429
+ "TinyMCE pour insérer des formes dans des pages et des postes, sauf si vous "
430
+ "mettez à jour vers 3.9 ou une version ultérieure."
431
+
432
+ #: .././pages/options.php:253
433
+ msgid "LocalHost Detected :"
434
+ msgstr "LocalHost détecté:"
435
+
436
+ #: .././pages/options.php:254
437
+ msgid ""
438
+ "It looks like your using Easy MailChimp Forms by YIKES Inc. on localhost."
439
+ msgstr ""
440
+ "Il semble que votre utilisation d'Easy MailChimp formes par YIKES Inc. sur "
441
+ "localhost."
442
+
443
+ #: .././pages/options.php:255
444
+ msgid ""
445
+ "If you are unable to validate your API key, and receive the error message"
446
+ msgstr ""
447
+ "Si vous ne parvenez pas à valider votre clé API, et recevez le message "
448
+ "d'erreur"
449
+
450
+ #: .././pages/options.php:255
451
+ msgid "\"SSL certificate problem: unable to get local issuer certificate\" "
452
+ msgstr ""
453
+ "\"Problème de certificat SSL: impossible d'obtenir locale certificat de "
454
+ "l'émetteur\" "
455
+
456
+ #: .././pages/options.php:255
457
+ msgid "follow the tutorial located "
458
+ msgstr "suivre le tutoriel situé "
459
+
460
+ #: .././pages/options.php:268
461
+ msgid "Your Mailchimp API Key"
462
+ msgstr "Votre clé API MailChimp"
463
+
464
+ #: .././pages/options.php:276
465
+ msgid ""
466
+ "Please enter your MailChimp API Key above. The API Key allows your WordPress "
467
+ "site to communicate with your MailChimp account."
468
+ msgstr ""
469
+ "S'il vous plaît, entrez votre clé API MailChimp ci-dessus. La clé API permet "
470
+ "à votre site WordPress pour communiquer avec votre compte MailChimp."
471
+
472
+ #: .././pages/options.php:277
473
+ msgid "For more help, visit the MailChimp Support article"
474
+ msgstr "Pour plus d'aide, consultez l'article MailChimp soutien"
475
+
476
+ #: .././pages/options.php:277
477
+ msgid "Where can I find my API Key?"
478
+ msgstr "Où puis-je trouver ma clé de l'API?"
479
+
480
+ #: .././pages/options.php:282
481
+ msgid "Preferred Form Layout"
482
+ msgstr "Privilégiées disposition du formulaire"
483
+
484
+ #: .././pages/options.php:285
485
+ msgid "table"
486
+ msgstr "table"
487
+
488
+ #: .././pages/options.php:286
489
+ msgid "div"
490
+ msgstr "div"
491
+
492
+ #: .././pages/options.php:294
493
+ msgid "Choose whether you want your forms to use a table or div layout."
494
+ msgstr ""
495
+ "Choisissez si vous voulez que vos formulaires à utiliser une table ou div "
496
+ "disposition."
497
+
498
+ #: .././pages/options.php:299
499
+ msgid "Advanced Error Messaging"
500
+ msgstr "Messagerie Erreur avancée"
501
+
502
+ #: .././pages/options.php:302
503
+ msgid "Disabled"
504
+ msgstr "Désactivé"
505
+
506
+ #: .././pages/options.php:303
507
+ msgid "Enabled"
508
+ msgstr "Activé"
509
+
510
+ #: .././pages/options.php:311
511
+ msgid ""
512
+ "Enable if you're having problems with your forms sending data to MailChimp. "
513
+ "Enabling Advanced Error Messaging will show you the exact error codes "
514
+ "MailChimp is returning."
515
+ msgstr ""
516
+ "Activer si vous avez des problèmes avec vos formes envoi de données à "
517
+ "MailChimp. Activation avancée Messagerie d'erreur vous indiquera les codes "
518
+ "d'erreur exact MailChimp est de retour."
519
+
520
+ #: .././pages/options.php:319
521
+ msgid "Single Opt-In"
522
+ msgstr "Simple Opt-In"
523
+
524
+ #: .././pages/options.php:320
525
+ msgid "Double Opt-In"
526
+ msgstr "Double Opt-In"
527
+
528
+ #: .././pages/options.php:328
529
+ msgid ""
530
+ "A single opt-in will add the user to your list without any further "
531
+ "interaction."
532
+ msgstr ""
533
+ "Un opt-in unique va ajouter l'utilisateur à votre liste sans autre "
534
+ "interaction."
535
+
536
+ #: .././pages/options.php:329
537
+ msgid ""
538
+ "A double opt-in will send an email to the user asking them to confirm their "
539
+ "subscription."
540
+ msgstr ""
541
+ "Un double opt-in va envoyer un e-mail à l'utilisateur en leur demandant de "
542
+ "confirmer leur abonnement."
543
+
544
+ #: .././pages/options.php:330
545
+ msgid "This will also dictate the opt-in settings for people leaving comments."
546
+ msgstr ""
547
+ "Ce sera également dicter les paramètres d'opt-in pour les personnes laissant "
548
+ "des commentaires."
549
+
550
+ #: .././pages/options.php:335
551
+ msgid "Custom Opt-In Message"
552
+ msgstr "Personnalisé Opt-In message"
553
+
554
+ #: .././pages/options.php:337
555
+ msgid "Double Opt-In Message"
556
+ msgstr "Double Opt-In message"
557
+
558
+ #: .././pages/options.php:341
559
+ msgid "Single Opt-In Message"
560
+ msgstr "Simple Opt-In message"
561
+
562
+ #: .././pages/options.php:351
563
+ msgid "Note: You can include html markup in your confirmation message."
564
+ msgstr ""
565
+ "Remarque: Vous pouvez inclure les balises HTML dans votre message de "
566
+ "confirmation."
567
+
568
+ #: .././pages/options.php:356
569
+ msgid "Interest Group Label"
570
+ msgstr "Label Groupe d'intérêt"
571
+
572
+ #: .././pages/options.php:365
573
+ msgid ""
574
+ "Text to display above interest groups. Leave blank to use MailChimp interest "
575
+ "group names."
576
+ msgstr ""
577
+ "Texte à afficher au-dessus des groupes d'intérêt. Laissez vide pour utiliser "
578
+ "MailChimp noms de groupes d'intérêt."
579
+
580
+ #: .././pages/options.php:370
581
+ msgid "Display opt-in checkbox on comment forms?"
582
+ msgstr "Affichage opt-in case sur les formulaires de commentaires?"
583
+
584
+ #: .././pages/options.php:373
585
+ msgid "Hide"
586
+ msgstr "Cacher"
587
+
588
+ #: .././pages/options.php:374
589
+ msgid "Show"
590
+ msgstr "Afficher"
591
+
592
+ #: .././pages/options.php:382
593
+ msgid ""
594
+ "This will display a checkbox just above the submit button on all comment "
595
+ "forms. If selected, any users leaving comments will also be added to the "
596
+ "mailing list."
597
+ msgstr ""
598
+ "Cela permet d'afficher une case à cocher au-dessus du bouton d'envoi de "
599
+ "toutes les formes de commentaire. Si elle est sélectionnée, tous les "
600
+ "utilisateurs qui quittent commentaires seront également ajoutés à la liste "
601
+ "de diffusion."
602
+
603
+ #: .././pages/options.php:387
604
+ msgid "Custom Comment Checkbox Text"
605
+ msgstr "Commentaire personnalisé cocher texte"
606
+
607
+ #: .././pages/options.php:394
608
+ msgid "Default List"
609
+ msgstr "Liste par Défaut"
610
+
611
+ #: .././pages/options.php:409
612
+ msgid ""
613
+ "This is the default list users will be subscribed to when submitting a "
614
+ "comment."
615
+ msgstr ""
616
+ "Il s'agit de la liste par défaut les utilisateurs seront souscrites lors de "
617
+ "la présentation d'un commentaire."
618
+
619
+ #: .././pages/options.php:410
620
+ msgid ""
621
+ "It is best to select a form where only the email , first name and/or last "
622
+ "name are required or you may run into issues."
623
+ msgstr ""
624
+ "Il est préférable de choisir une forme où seul le courrier électronique, le "
625
+ "prénom et / ou nom de famille sont tenus ou vous pouvez rencontrer des "
626
+ "problèmes."
627
+
628
+ #: .././pages/options.php:422
629
+ msgid "Plugin Information"
630
+ msgstr "Informations Plugin"
631
+
632
+ #: .././pages/options.php:425
633
+ msgid "If you experience any issues with our plugin, please"
634
+ msgstr "Si vous rencontrez des problèmes avec notre plugin, s'il vous plaît"
635
+
636
+ #: .././pages/options.php:425
637
+ msgid "submit a New Issue on our Github Issue Tracker"
638
+ msgstr "présenter une nouvelle émission sur notre Tracker Github d'émission"
639
+
640
+ #: .././pages/options.php:425
641
+ msgid ""
642
+ "Please include the information below to help us troubleshoot your problem."
643
+ msgstr ""
644
+ "S'il vous plaît inclure les informations ci-dessous pour nous aider à régler "
645
+ "votre problème."
646
+
647
+ #: .././pages/options.php:433
648
+ msgid "Plugin Version"
649
+ msgstr "Version Plugin"
650
+
651
+ #: .././pages/options.php:437
652
+ msgid "Wordpress Version"
653
+ msgstr "Version Wordpress"
654
+
655
+ #: .././pages/options.php:441
656
+ msgid "Browser Information"
657
+ msgstr "Information sur le navigateur"
658
+
659
+ #: .././pages/options.php:469
660
+ msgid "Error"
661
+ msgstr "Erreur"
662
+
663
+ #: .././pages/options.php:470
664
+ msgid ""
665
+ "We're sorry, but cURL is disabled on your server. The MailChimp API utilizes "
666
+ "cURL to send and retrieve data."
667
+ msgstr ""
668
+ "Nous sommes désolés, mais cURL est désactivé sur votre serveur. L'API "
669
+ "MailChimp utilise cURL pour envoyer et récupérer des données."
670
+
671
+ #: .././pages/options.php:475
672
+ msgid "Help!"
673
+ msgstr "A l'aide!"
674
+
675
+ #: .././pages/options.php:475
676
+ msgid "What is cURL?"
677
+ msgstr "Quelle est cURL?"
678
+
679
+ #: .././pages/options.php:475
680
+ msgid "Check phpinfo()"
681
+ msgstr "Vérifiez la fonction phpinfo ()"
682
+
683
+ #: .././pages/options.php:477
684
+ msgid "Steps To Resolve The Issue"
685
+ msgstr "Étapes pour résoudre le problème"
686
+
687
+ #: .././pages/options.php:481
688
+ msgid ""
689
+ "You can enable cURL by turning on the cURL module within your php.ini file"
690
+ msgstr ""
691
+ "Vous pouvez activer cURL en tournant sur le module cURL dans votre fichier "
692
+ "php.ini"
693
+
694
+ #: .././pages/options.php:481
695
+ msgid "You should find the php.ini file located here : "
696
+ msgstr "Vous devriez trouver le fichier php.ini situé ici: "
697
+
698
+ #: .././pages/options.php:482
699
+ msgid ""
700
+ "Once found, open up php.ini and locate the line \";extension=php_curl.dll\"."
701
+ msgstr ""
702
+ "Une fois trouvé, ouvrez le fichier php.ini et recherchez la ligne \"; "
703
+ "extension = php_curl.dll\"."
704
+
705
+ #: .././pages/options.php:483
706
+ msgid ""
707
+ "Remove the semi colon before the line, to un-comment it and make the cURL "
708
+ "module active."
709
+ msgstr ""
710
+ "Retirez le point-virgule avant la ligne, pour non-commenter et faire le "
711
+ "module cURL active."
712
+
713
+ #: .././pages/options.php:484
714
+ msgid "Re-save and close the file."
715
+ msgstr "Re-enregistrer et fermer le fichier."
716
+
717
+ #: .././pages/options.php:485
718
+ msgid "Restart your Apache and MySQL services and re-load this page."
719
+ msgstr "Redémarrez vos services Apache et MySQL et re-charge sur cette page."
720
+
721
+ #: .././templates/shortcode_error.php:1
722
+ msgid "There was an error calling the mailchimp list."
723
+ msgstr "Il y avait une erreur d'appeler la liste de mailchimp."
724
+
725
+ #: .././templates/shortcode_error_data.php:1
726
+ msgid ""
727
+ "The list doesn't exist! Make sure you have imported the list on the \"Manage "
728
+ "List Forms\" page."
729
+ msgstr ""
730
+ "La liste n'existe pas! Assurez-vous que vous avez importé la liste sur le "
731
+ "\"Gérer Formulaires de liste\" page."
732
+
733
+ #: .././templates/shortcode_error_exists.php:1
734
+ msgid "This list was already placed on this page!"
735
+ msgstr "Cette liste a été déjà mis sur cette page!"
736
+
737
+ #: .././templates/shortcode_error_no_API_key.php:1
738
+ msgid "Woops! No Valid API Key Found. Double check your settings."
739
+ msgstr ""
740
+ "Oups! Pas de clé API valide n'a été trouvée. Double vérifier vos paramètres."
741
+
742
+ #: .././templates/shortcode_form.php:13
743
+ msgid "Oops.. Don't forget to fill-in the following fields"
744
+ msgstr "Oups .. Ne pas oublier de remplir les champs suivants"
745
+
746
+ #: .././templates/shortcode_form.php:14
747
+ msgid "Error - The following fields are required, and may not be left blank "
748
+ msgstr ""
749
+ "Erreur - Les champs suivants sont obligatoires, et ne peuvent pas être "
750
+ "laissées en blanc"
751
+
752
+ #: .././templates/shortcode_form.php:112
753
+ msgid "required field"
754
+ msgstr "champ obligatoire"
755
+
756
+ #: .././templates/yikes-mailchimp-widget.php:15
757
+ #: .././templates/yikes-mailchimp-widget.php:18
758
+ msgid "MailChimp Signup Form"
759
+ msgstr "MailChimp Formulaire d'inscription"
760
+
761
+ #: .././templates/yikes-mailchimp-widget.php:27
762
+ msgid "Select Which Form You Would Like To Display:"
763
+ msgstr "Sélectionnez quelle forme vous souhaitez afficher:"
764
+
765
+ #: .././templates/yikes-mailchimp-widget.php:30
766
+ msgid "Select a Form to Display"
767
+ msgstr "Sélectionnez un formulaire pour afficher"
768
+
769
+ #: .././templates/yikes-mailchimp-widget.php:47
770
+ msgid "Please import MailChimp forms"
771
+ msgstr "S'il vous plaît importer des formulaires MailChimp"
772
+
773
+ #: .././templates/yikes-mailchimp-widget.php:49
774
+ msgid "Please import some lists from MailChimp"
775
+ msgstr "S'il vous plaît importer des listes de MailChimp"
776
+
777
+ #: .././templates/yikes-mailchimp-widget.php:52
778
+ msgid "Import Lists Now"
779
+ msgstr "Listes d'importation maintenant"
780
+
781
+ #: .././templates/yikes-mailchimp-widget.php:73
782
+ msgid ""
783
+ "Oops! It looks like you haven't imported any lists yet. You must import at "
784
+ "least one list to use the Easy MailChimp widget."
785
+ msgstr ""
786
+ "Oops! Il semble que vous n'avez pas encore importé des listes. Vous devez "
787
+ "importer au moins une liste à utiliser le widget facile MailChimp."
788
+
789
+ #: .././templates/yikes-mailchimp-widget.php:80
790
+ msgid ""
791
+ "Oops! It looks like you forgot to select a form to display here. Go to "
792
+ "'Appearance > Widgets' and select a form to display."
793
+ msgstr ""
794
+ "Oops! On dirait que vous avez oublié de sélectionner un formulaire pour "
795
+ "afficher ici. Allez sur 'Apparence> Widgets »et sélectionnez une forme à "
796
+ "afficher."
797
+
798
+ #: .././templates/yikes-mailchimp-widget.php:117
799
+ msgid "Sign Up For Our Newsletter"
800
+ msgstr "Inscrivez-vous à notre Newsletter"
801
+
802
+ #: .././templates/yikes-mailchimp-widget.php:129
803
+ msgid "Sign Me Up"
804
+ msgstr "Je m'inscris"
805
+
806
+ #: .././templates/yikes-mailchimp-widget.php:133
807
+ msgid "Title:"
808
+ msgstr "Titre:"
809
+
810
+ #: .././templates/yikes-mailchimp-widget.php:138
811
+ msgid "Form Text:"
812
+ msgstr "Formulaire de texte:"
813
+
814
+ #: .././templates/yikes-mailchimp-widget.php:146
815
+ msgid "Submit Button Text:"
816
+ msgstr "Bouton Envoyer texte:"
817
+
818
+ #: .././templates/yikes-mailchimp-widget.php:156
819
+ msgid "Oops! It looks like you haven't added your API key! Head over to the"
820
+ msgstr ""
821
+ "Oops! Il semble que vous n'avez pas ajouté votre clé API! Rendez-vous sur le"
822
+
823
+ #: .././templates/yikes-mailchimp-widget.php:156
824
+ msgid "Settings page"
825
+ msgstr "page Paramètres"
826
+
827
+ #~ msgid "No forms have been added yet."
828
+ #~ msgstr "Aucune forme n'a encore été ajoutée."
829
+
830
+ #~ msgid "Re-load this page."
831
+ #~ msgstr "Recharger cette page."
pages/options.php CHANGED
@@ -43,10 +43,10 @@ jQuery(document).ready(function ($) {
43
  dataType: 'json',
44
  success: function (MAILCHIMP) {
45
  if (MAILCHIMP == '1') {
46
- $('#yks-status').html('<div class="updated"><p><?php _e('The options were saved successfully!', 'yikes-inc-easy-mailchimp-extender'); ?></p></div>');
47
  $('#yks-status').slideDown('fast');
48
  } else {
49
- $('#yks-status').html('<div class="error"><p><?php _e('The options could not be saved (or you did not change them).', 'yikes-inc-easy-mailchimp-extender'); ?></p></div>');
50
  $('#yks-status').slideDown('fast');
51
  console.log(MAILCHIMP);
52
  }
@@ -107,13 +107,13 @@ jQuery(document).ready(function ($) {
107
  // if our response contains 'Invalid MailChimp API Key' - display an error
108
  } else if (response.indexOf('Invalid Mailchimp API Key') > -1) {
109
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
110
- jQuery('.mailChimp_api_key_validation_message').html('<img src="<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?>" alt=message > <?php _e('Sorry, that is an invalid MailChimp API key.','yikes-inc-easy-mailchimp-extender'); ?>').css("color", "red").fadeIn();
111
  });
112
  console.log('MailChimp API Response : '+response);
113
  } else {
114
  // if our response contains anything else, other than whats above, just let them know its invalid
115
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
116
- jQuery('.mailChimp_api_key_validation_message').html('<img src="<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?>" alt=message > <?php _e('Sorry, that is an invalid MailChimp API key. Please check the console for further information.','yikes-inc-easy-mailchimp-extender'); ?>').css("color", "red").fadeIn();
117
  });
118
  console.log('MailChimp API Response : '+response);
119
  };
@@ -122,7 +122,7 @@ jQuery(document).ready(function ($) {
122
  } else {
123
  // if the length of the API input value is less than 1 (aka 0)
124
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
125
- jQuery('.mailChimp_api_key_validation_message').html('<img src="<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?>" alt=message > <?php _e('Error: Please enter a valid Mail Chimp API Key.','yikes-inc-easy-mailchimp-extender'); ?>').css("color", "red").fadeIn();
126
  });
127
  }
128
  }, 1);
43
  dataType: 'json',
44
  success: function (MAILCHIMP) {
45
  if (MAILCHIMP == '1') {
46
+ $('#yks-status').html('<div class=updated><p><?php _e('The options were saved successfully!', 'yikes-inc-easy-mailchimp-extender'); ?></p></div>');
47
  $('#yks-status').slideDown('fast');
48
  } else {
49
+ $('#yks-status').html("<div class=error><p><?php _e("The options could not be saved (or you did not change them).", "yikes-inc-easy-mailchimp-extender"); ?></p></div>");
50
  $('#yks-status').slideDown('fast');
51
  console.log(MAILCHIMP);
52
  }
107
  // if our response contains 'Invalid MailChimp API Key' - display an error
108
  } else if (response.indexOf('Invalid Mailchimp API Key') > -1) {
109
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
110
+ jQuery('.mailChimp_api_key_validation_message').html("<img src=<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?> alt=message > <?php _e("Sorry, that is an invalid MailChimp API key.","yikes-inc-easy-mailchimp-extender"); ?>").css("color", "red").fadeIn();
111
  });
112
  console.log('MailChimp API Response : '+response);
113
  } else {
114
  // if our response contains anything else, other than whats above, just let them know its invalid
115
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
116
+ jQuery('.mailChimp_api_key_validation_message').html("<img src=<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?> alt=message > <?php _e("Sorry, that is an invalid MailChimp API key. Please check the console for further information.","yikes-inc-easy-mailchimp-extender"); ?>").css("color", "red").fadeIn();
117
  });
118
  console.log('MailChimp API Response : '+response);
119
  };
122
  } else {
123
  // if the length of the API input value is less than 1 (aka 0)
124
  jQuery('.mailChimp_api_key_preloader').fadeOut('fast', function() {
125
+ jQuery('.mailChimp_api_key_validation_message').html("<img src=<?php echo plugins_url().'/yikes-inc-easy-mailchimp-extender/images/yikes-mc-error-icon.png'; ?> alt=message > <?php _e("Error: Please enter a valid Mail Chimp API Key.", "yikes-inc-easy-mailchimp-extender"); ?>").css("color", "red").fadeIn();
126
  });
127
  }
128
  }, 1);
readme.md CHANGED
@@ -24,6 +24,13 @@ Features
24
  1. Easily add forms to pages and posts with a button in the page/post editor
25
  1. Use cURL error detection to troubleshoot MailChimp connection issues
26
 
 
 
 
 
 
 
 
27
  Installation
28
  ===========
29
 
@@ -410,6 +417,14 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
410
 
411
  Changes
412
  ===========
 
 
 
 
 
 
 
 
413
  ### 4.2.2
414
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
415
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
24
  1. Easily add forms to pages and posts with a button in the page/post editor
25
  1. Use cURL error detection to troubleshoot MailChimp connection issues
26
 
27
+ Coming Soon
28
+ ===========
29
+ 1. ReCaptcha for spam prevention
30
+ 1. MailChimp Campaign statistic tracking
31
+ 1. Track list growth, campaign opens, un-subscribes, user interactivity and much more!
32
+ 1. View further MailChimp account details such as account level, emails left for the month etc.
33
+
34
  Installation
35
  ===========
36
 
417
 
418
  Changes
419
  ===========
420
+ ### 4.3.1
421
+ * Removed the_content filter, added custom filter to prevent other plugins from hooking in
422
+ * Re-work redirect function to prevent infinite loop (and no redirect) issue
423
+
424
+ ### 4.3
425
+ * Updated radio button fields
426
+ * Re-worked related JS and PHP functions
427
+
428
  ### 4.2.2
429
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
430
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yikesinc.com
4
  Tags: mailchimp, marketing, email, mailing lists, newsletter, signup, forms, signup form
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
- Stable tag: 4.2.2
8
  License: GPLv2 or later
9
 
10
  Easy MailChimp Forms allows you to painlessly add MailChimp signup forms to your WordPress site.
@@ -33,6 +33,13 @@ Easy MailChimp Forms allows you to painlessly add MailChimp signup forms to your
33
  * Use cURL error detection to troubleshoot MailChimp connection issues
34
 
35
 
 
 
 
 
 
 
 
36
  Instructions on how to use the plugin can be [found in the FAQ](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/faq/). If you experience any problems, please submit a New Issue on our [Github Issue Tracker](https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender/issues) and we'll look in to it as soon as possible.
37
 
38
 
@@ -439,6 +446,14 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
439
 
440
  == Changelog ==
441
 
 
 
 
 
 
 
 
 
442
  = 4.2.2 =
443
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
444
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
@@ -544,9 +559,9 @@ These functions should be used in conjunction with the `yikes_mc_get_form_data`
544
  * Initial Release
545
 
546
  == Upgrade Notice ==
547
- = 4.2.2 =
548
- * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
549
- * Prevents warning being thrown for users on shared hosts with an open_basedir set.
550
 
551
  = 3.0 =
552
  * Update Mail Chimp API to v2.0
4
  Tags: mailchimp, marketing, email, mailing lists, newsletter, signup, forms, signup form
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
+ Stable tag: 4.3.1
8
  License: GPLv2 or later
9
 
10
  Easy MailChimp Forms allows you to painlessly add MailChimp signup forms to your WordPress site.
33
  * Use cURL error detection to troubleshoot MailChimp connection issues
34
 
35
 
36
+ **Coming to v.4.4**
37
+
38
+ * ReCaptcha for spam prevention
39
+ * MailChimp Campaign statistic tracking
40
+ * Track list growth, campaign opens, un-subscribes, user interactivity and much more!
41
+ * View further MailChimp account details such as account level, emails left for the month etc.
42
+
43
  Instructions on how to use the plugin can be [found in the FAQ](http://wordpress.org/plugins/yikes-inc-easy-mailchimp-extender/faq/). If you experience any problems, please submit a New Issue on our [Github Issue Tracker](https://github.com/yikesinc/yikes-inc-easy-mailchimp-extender/issues) and we'll look in to it as soon as possible.
44
 
45
 
446
 
447
  == Changelog ==
448
 
449
+ = 4.3.1 =
450
+ * Removed the_content filter, added custom filter to prevent other plugins from hooking in
451
+ * Re-work redirect function to prevent infinite loop (and no redirect) issue
452
+
453
+ = 4.3 =
454
+ * Updated radio button fields
455
+ * Re-worked related JS and PHP functions
456
+
457
  = 4.2.2 =
458
  * Added open_basedir conditional check to toggle CURLOPT_FOLLOWLOCATION based on users server settings
459
  * Prevents warning being thrown for users on shared hosts with an open_basedir set
559
  * Initial Release
560
 
561
  == Upgrade Notice ==
562
+ = 4.3.1 =
563
+ * Removed the_content filter, added custom filter to prevent other plugins from hooking in
564
+ * Re-work redirect function to prevent infinite loop (and no redirect) issue
565
 
566
  = 3.0 =
567
  * Update Mail Chimp API to v2.0
templates/shortcode_form.php CHANGED
@@ -26,8 +26,8 @@ $ymce = jQuery.noConflict();
26
  return (err > 0 ? false : true);
27
  }
28
  $ymce('#yks-mailchimp-form_<?php echo $list['id']; ?>').submit(function(e){
29
- var singleOptinMessage = '<?php echo preg_replace("/\r?\n/", "\\n", apply_filters('the_content' , $this->optionVal['single-optin-message'])); ?>';
30
- var doubleOptinMessage = '<?php echo preg_replace("/\r?\n/", "\\n", apply_filters('the_content' , $this->optionVal['double-optin-message'])); ?>';
31
  var optinValue = '<?php echo $this->optionVal['optin']; ?>';
32
  e.preventDefault();
33
  // Make sure the api key exists
26
  return (err > 0 ? false : true);
27
  }
28
  $ymce('#yks-mailchimp-form_<?php echo $list['id']; ?>').submit(function(e){
29
+ var singleOptinMessage = '<?php echo str_replace( '\'' , '"' , preg_replace('/\r?\n/', '\\n', apply_filters('yks_mc_content' , $this->optionVal['single-optin-message']))); ?>';
30
+ var doubleOptinMessage = '<?php echo str_replace( '\'' , '"' , preg_replace('/\r?\n/', '\\n', apply_filters('yks_mc_content' , $this->optionVal['double-optin-message']))); ?>';
31
  var optinValue = '<?php echo $this->optionVal['optin']; ?>';
32
  e.preventDefault();
33
  // Make sure the api key exists
yikes-inc-easy-mailchimp-extender.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Easy MailChimp Forms
5
  Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
6
  Description: Mailchimp API integration in the form of a shortcode or php snippet
7
- Version: 4.2.2
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL2
@@ -30,7 +30,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
 
31
  /** Configuration **/
32
  if(!defined('YKSEME_DEBUG')) define('YKSEME_DEBUG', false);
33
- if(!defined('YKSEME_VERSION_CURRENT')) define('YKSEME_VERSION_CURRENT', '4.2.2');
34
  if(!defined('YKSEME_REQ_PHP')) define('YKSEME_REQ_PHP', '5.0');
35
  if(!defined('YKSEME_AUTHOR')) define('YKSEME_AUTHOR', 'YIKES Inc');
36
  if(!defined('YKSEME_SITE')) define('YKSEME_SITE', site_url().'/');
4
  Plugin Name: Easy MailChimp Forms
5
  Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
6
  Description: Mailchimp API integration in the form of a shortcode or php snippet
7
+ Version: 4.3.1
8
  Author: YIKES Inc
9
  Author URI: http://yikesinc.com
10
  License: GPL2
30
 
31
  /** Configuration **/
32
  if(!defined('YKSEME_DEBUG')) define('YKSEME_DEBUG', false);
33
+ if(!defined('YKSEME_VERSION_CURRENT')) define('YKSEME_VERSION_CURRENT', '4.3.1');
34
  if(!defined('YKSEME_REQ_PHP')) define('YKSEME_REQ_PHP', '5.0');
35
  if(!defined('YKSEME_AUTHOR')) define('YKSEME_AUTHOR', 'YIKES Inc');
36
  if(!defined('YKSEME_SITE')) define('YKSEME_SITE', site_url().'/');