Giter VIP home page Giter VIP logo

wp-mailchimp's Introduction

=== MailChimp List Subscribe Form ===
Contributors: crowdfavorite
Tags: mailchimp, email, newsletter, signup, marketing, plugin, widget
Requires at least: 2.8
Tested up to: 4.0
Stable tag: 1.4.3

== Description ==

The MailChimp plugin allows you to quickly and easily add a signup form for your MailChimp list as a widget on your WordPress 2.8 or higher site.

Not sure what [MailChimp](http://www.mailchimp.com/features/full_list/) is or if it will be helpful? Signup up for a [FREE Trial Account](http://www.mailchimp.com/signup/) and see for yourself!

After Installation, the setup page will guide you through entering your Login information, selecting your List from our Service, selecting options for the Merge Fields and Interest Groups you have setup, and then add the Widget to your site. The time from starting installation to have the form on your site should be less than 5 minutes - absolutely everything can be done via the Wordpress Setting GUI - no file editing at all!

== Installation ==

This section describes how to install the plugin and get started using it.

= Version 2.8+ =
1. Unzip our archive and upload the entire `mailchimp` directory to your `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings and look for "MailChimp Setup" in the menu
4. Enter your MailChimp API Key and let the plugin verify it.
5. Select One of your lists to have your visitors subscribe to.
6. (optionally) Turn on or off the Monkey Rewards option
7. (optionally) Turn your Merge Vars and Interest Groups `on` and `off`
8. Finally, go to Appearance->Widgets and drag the `MailChimp Widget` widget into one of your Widget Areas
9. And you are DONE!

= Advanced =
If you have a custom coded sidebar or something else special going on where you can't simply enable the widget through the Wordpress GUI, all you need to do is:

If you are using Wordpress v2.8 or higher, you can use the short-code:
` [mailchimpsf_form] `

If you are adding it inside a php code block, pop this in:

` mailchimpSF_signup_form(); `

Or, if you are dropping it in between a bunch of HTML, use this:

`<?php mailchimpSF_signup_form(); ?>`

Where ever you want it to show up.

Note: in some environments you will need to install the Exec_PHP plugin to use that method of display. It can be found here:
http://wordpress.org/extend/plugins/exec-php/

== Developer Mode ==

You can enable "Devleoper Mode" by adding the following line to your `wp-config.php` file just above the "That's all, stope editing!" line.

    define('MAILCHIMP_DEV_MODE', true);

This will enable the MailChimp List Subscribe plugin to operate without the need to connect an external MailChimp Account, and will provide a
subscription form widget that will not actually submit anywhere.

This will allow you to style and configure the widget in non-production environments that are not publicly accessible.

For more Developer Mode customization options see the following article:

http://connect.mailchimp.com/how-to/how-to-article-configuring-developer-mode-for-the-list-subscribe-wordpress-plugin

== Upgrading ==

If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the `MailChimp Widget` back into the sidebar, visit the MailChimp settings page (which will have maintained your prior settings), click the "Update List" button, and you're done!

== Internationalization (i18n) ==
Currently we have the plugin configured so it can be easily translated and the following languages supported:

* ar_SA - Arabic in Saudi Arabia and Middle East (thanks to [Lenin](http://twitter.com/nine_l) for compiling and Nagwa Ibrahim, Egypt for translating)
* bg_BG - Bulgarian in Bulgaria (thanks to [SiteGround](http://www.siteground.com/wordpress-hosting.htm) for contributing)
* ca    - Catalan (thanks to [DeMomentSomTres Vilafranca Web Design](http://demomentsomtres.com) for contributing
* bn_BD - Bangla in Bangladesh (thanks to [Lenin](http://twitter.com/nine_l) for contributing)
* cs_CZ - Czech in the Czech Republic (thanks to [Peter Kahoun](http://kahi.cz/) for contributing)
* da_DK - Danish in Denmark (thanks to Jan Lund for contributing)
* de_DE - German in Germany (thanks to Michael Jaekel for contributing)
* el_GR - Modern Greek in Greece (thanks to Ιωάννης Δημοφέρλιας (John Dimoferlias) for contributing)
* en_US - English in the U.S.
* es_CL - Spanish in Chile (thanks to Tomás Nader for contributing)
* es_ES - Spanish in Spain (thanks to [Claudia Mansilla](http://cricava.com/) for contributing)
* et_ET - Estonian in Estonia (thanks to [Helen Urbanik](http://www.motomaania.ee/) for contributing)
* fr_FR - French in France (thanks to [Maxime Toulliou](http://www.maximetoulliou.com/) for contributing)
* he_IL - Hebrew in Israel (thanks to [שגיב בית](http://www.sagive.co.il) for contributing)
* hu_HU - Hungarian in Hungary (thanks to Okostobi for contributing)
* it_IT - Italian in Italy (thanks to [Stefan Des](http://www.stefandes.com) for contributing)
* ko_KR - Korean (thanks to 백선기 (SK Baek)  for contributing)
* nb_NO - Norwegian (thanks to [Alexander Roterud aka Defrag](http://www.tigerpews.com) for contributing)
* nl_BE - Dutch (thanks to [Filip Stas](http://suddenelfilio.net/) for contributing)
* pt_BR - Portuguese in Brazil (thanks to Maria Manoela Porto for contributing)
* pt_PT - Portuguese in Portugal (thanks to [Tiago Faria](http://xroot.org) for contributing)
* ro_RO - Romanian in Romania (thanks to Alexandru Armin Roșu for contributing)
* ru_RU - Russian in the Russian Federation (thanks to [Илья](http://fatcow.com) for contributing)
* sv_SE - Swedish in Sweden (thanks to [Sebastian Johnsson](http://www.agiley.se/) for contributing)
* tr_TR - Turkish in Turkey (thanks to [Hakan E.](http://kazancexpert.com/) for contributing)

If your language is not listed above, feel free to create a translation. Here are the basic steps:

1. Copy "mailchimp_i18n-en_US.po" to "mailchimp_i18n-LANG_COUNTRY.po" - fill in LANG and COUNTRY with whatever you use for WPLANG in wp-config.php
2. Grab a transalation editor. [POedit](http://www.poedit.net/) works for us
3. Translate each line - if you need some context, just open up mailchimp.php and search for the line number or text
4. [Fork](http://help.github.com/fork-a-repo/) the [repository on github](https://github.com/crowdfavorite/wp-mailchimp)
5. [Clone](http://help.github.com/remotes/#clone) the _develop_ branch
6. Add the appropriately named files to the /po/ directory and edit the /readme.txt to include how you'd like to be attributed
7. Make a [pull request](http://help.github.com/send-pull-requests/)


== Frequently Asked Questions ==

= What in the world is MailChimp? =

Good question! [MailChimp](http://mailchimp.com/features/all/) is full of useful, powerful email marketing features that are easy to use and even a little fun (that's right---we said fun), whether you're an email marketing expert, or a small business just getting started.

To learn more, just check out our site: [MailChimp](http://mailchimp.com/features/all/)


= Wait a minute, you want me to pay to try this? =

*Absolutely not!* We welcome you to come signup for a [FREE Trial Account](http://mailchimp.com/signup/) and see if you find it useful.

= I want this in my language, do you have a translation? =
Maybe! Look in the /po/ directory in our plugin package and see if your language is in there. If it is, great! If it is not, feel from to create one. Here are the basic steps:

1. Copy "mailchimp_i18n-en_US.po" to "mailchimp_i18n-LANG_COUNTRY.po" - fill in LANG and COUNTRY with whatever you use for WPLANG in wp-config.php
2. Grab a transalation editor. [POedit](http://www.poedit.net/) works for us
3. Translate each line - if you need some context, just open up mailchimp.php and search for the line number or text
4. [Fork](http://help.github.com/fork-a-repo/) the [repository on github](https://github.com/crowdfavorite/wp-mailchimp)
5. [Clone](http://help.github.com/remotes/#clone) the _develop_ branch
6. Add the appropriately named files to the /po/ directory and edit the /readme.txt to include how you'd like to be attributed
7. Make a [pull request](http://help.github.com/send-pull-requests/)


== Screenshots ==

1. Entering your MailChimp login info
2. Selecting your MailChimp list
3. Configuring your Signup Form display format (optional)
4. Configuring extra fields on your Signup Form (optional)
5. An example Signup Form Widget

== Upgrade Notice ==

= 1.4.3 =
Fixed an issue with improper URLs to updating profile settings
Fixed an issue in which backslashes, single and double quotes were having an extra slash attached
Fixed an issue in which logging out then attempting to reconnect with OAuth prevented actual login
Updated translation files to support the latest strings
Adjust how alerts are handled to prevent header from being seen
Update instances of home_url to properly refernce admin_url
Update to prevent PHP warnings when WP_DEBUG is enabled

= 1.4.2 =
add customized wp_nonces functions for post-back behavior to fix 4.0 callbacks

= 1.4.1 =
Fix for checkbox weirdness on 3.8

= 1.4 =
Added Developer Mode "Kitchen Sink" to aid in styling without having to authenticate a MailChimp account.

= 1.3 =
Now using OAuth flow within plugin for user authentication

Admin UI refresh

= 1.2.11 =
Merged pull request from https://github.com/headshift/wp-mailchimp adding additional translation strings.

= 1.2.10 =
Fixed submission error when apostrophes are present

= 1.2.8=
Fixes bug where entire phone numbers were only being deposited in the area code portion

= 1.2.6 =
Fixes major bug with "Settings" link on Plugins screen.

= 1.2.5 =
Added support for multiple interest groups, field formatting based on type and date picker.

== Changelog ==

= 1.4.3 =
* Prevent assets from having double slashes in the URL which causes issues with caching plugins
* Prevent WP error bars from overlapping the header image and text
* Fixed an issue which generated the incorrect URL to update a profile
* Fixed an issue which would occasionally prevent connection for users with versions of PHP < 5.6.0

= 1.4.2 =
* Update to address changes in nonces for WP 4.0

= 1.4.1 =
* Update styles to be compatible with upcoming 3.8 wp-admin changes

= 1.4 =
* Developer Mode "Kitchen Sink" takes over plugin for local development
* Developer Mode has filters of changable content
* Fix bug related to required US phone validation

= 1.3 =
* Now using OAuth flow for user authentication
* Admin UI refresh

= 1.2.14 =
* Add link to edit profile within error when duplicate signup occurs

= 1.2.13 =
* Fixed bug preventing address fields from submitting correctly.

= 1.2.12 =
* Update spanish language files (es_ES and es_MX)

= 1.2.9 =
* Fixed bug where multiple checkbox type interest groups were returning an invalid error
* Fixed bug where assets were not enqueueing properly if the plugin directory was not set to 'mailchimp'. Now supports any directory name.

= 1.2.8 =
* Fixed bug where entire phone numbers were only being deposited in the area code portion

= 1.2.7 =
* CSS should now always load correctly on the front end
* Adding Hebrew and Romanian language support
* Updating translation contribution instructions
* Tested version is now 3.3.1

= 1.2.6 =
* Fixed bug with "Settings" link appearing on all plugins (props Jason Lane)
* Resolved issue with unnecessary calls to the MailChimp API during upgrade check
* Resolved PHP warning when there weren't any interest groups

= 1.2.5 =
* Field formatting based on type
* Support for multiple interest groups (a data upgrade procedure must be run by visiting the WordPress dashboard)
* Added jQuery datepicker option to be used with dates.
* Added a handful of new translations
* Fixing various PHP notices and deprecated functions (props Jeffry Ghazally)

= 1.2.4 =
* Version bump for proper listing on wordpress.org

= 1.2.3 =
* Change mailchimpSF_where_am_i() to use plugins_url() in place of WP_PLUGIN_URL to take SSL into account when delivering assets (props John LeBlanc)
* Update MCAPI wrapper to bring back PHP4 support (note: PHP 5.2 to be required starting with WordPress 3.2)

= 1.2.2 =
* Change MCAPI wrapper to use a more unique class name, v1.3 of the API, and a much lighter client library

= 1.2.1 =
* Fixed internationalization path bug.
* Fixed instances where i18n functions weren't necessary in admin.
* Added more strings to be translated.

= 1.2 =
* Recommended Upgrade, please see "Upgrading" section of readme.
* Security and various other improvements

wp-mailchimp's People

Contributors

alexkingorg avatar baukezwaan avatar bigdawggi avatar ejdanderson avatar glennansley avatar jaeh avatar jessedp avatar jondavidjohn avatar marcqueralt avatar mcwill avatar mospaw avatar slushman avatar thisislawatts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-mailchimp's Issues

Extra slash being added in CSS and JS urls

I am using W3 Total Cache to compress and minify my JS and CSS files, and have added the two files used by the MailChimp plugin to the list of files in the following format:

wp-content/plugins/mailchimp/js/scrollTo.js
wp-content/plugins/mailchimp/js/mailchimp.js
wp-content/plugins/mailchimp/js/datepicker.js
wp-content/plugins/mailchimp/css/flick/flick.css

Upon clicking on 'Verify URI', the files show up in windows, and hte URLs are correct. However, when viewing the site live, and inspecting the source code, the URLs are actually being outputted as:

wp-content/plugins/mailchimp//js/scrollTo.js
wp-content/plugins/mailchimp//js/mailchimp.js
wp-content/plugins/mailchimp//js/datepicker.js
wp-content/plugins/mailchimp//css/flick/flick.css

This is then causing them to not be included in the SEO plugin, and because they're being placed in the , whilst the SEO is placing after , I'm getting errors on the datepicker file saying 'jQuery is not defined', because the jQuery file is being loaded after the Datepicker file.

Is there anyway to remove this extra slash that's being added?
mailchimp_wordpress_slash_error

Support sub forms for more than one mailing list

This is a great plugin. It would be even better if you could select which mailing list the subscription form would be paired with using the shortcode:

[mailchimpsf_form id="1234"]

so that I could support subscription to two different lists. Not every WP site can get by with just one list.

I looked through the forks and didn't see that anyone had done that, and didn't see any indication of such support in the UI or the docs.

Sorry, I don't see how to tag this as a feature request, which it most definitely is.

plugin causes Firefox active content blocked warning on SSL pages

I cam across this problem on my live store so I I setup a test site using clean install of WordPress 4.5.3 and the MailChimp signup widget plugin 'Version 1.4.5 | By MailChimp and Crowd Favorite' The site also has woocommerce 2.6.1 as those are the pages using my SSL cert. There are no other plugins.

If you go here with the Firefox browser https://markgason.com/cart/
you will see in the address bar an ! on the secure lock in the address bar warning that Firefox has blocked insecure active content.
Following the instructions for trouble shooting this issue (https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content) go to the Firefox menu Tools/Web Developer/Web Console. You will see 1 warning only.
The URL that is causing the problem displayed in red contains 'mcsf' this is MailChimp code.
I checked my page source code and the Url there is https. The error must come from elsewhere such as the plugin. The plugin contains references to 'mcsf'
Do you have any ideas on how to get rid of this error. It is the only one on my secure pages. It puts customers off using my site.

Error message/link for duplicate email

From user:

When you enter an email address that is already registered, you get an error message with a link to "Update your preferences"

The clickable link is incorrect. In the routine "mailchimp.php", line 1417 (look for the processing of error code 214), and has towards the end ::

http://$username.$dc.list-manage.com/....

whereas it should just be ::

http://$dc.list-manage.com/...

There is also a call to a "<a name" tag that is obviously coded AFTER the error message. Thus unless the user scrolls up, they wont see it.

CSS conflicting with all instances of jQuery UI datepicker

Line 272 in mailchimp.php causes all instances of the jQuery UI datepicker to hide the year dropmenu.

.ui-datepicker-year {
display: none;
}

Changing it to:

ui-mcdatepicker-div .ui-datepicker-year {

display: none;
}

Limits your CSS to just this plugin's usage of the datepicker.

Mailchimp pluging slows down wordpress response time

I am using version 1.4.2 of the mailchimp plugin to allow users to subscribe from my wordpress site and store their information in the mailchimp database. The mailchimp plugin clearly slows down the response time on my website. If the plugin is enabled then the page response time is 10 seconds. If I disable the plugin then response time is between 3 and 4 seconds. This problem has been diagnosed by others. The offending lines are in lines 113 and 114 in mailchimp.php. If I comment out these lines then my website responds more quickly. However, I get errors in administration mode. When will the response time problem be fixed?

mailchimp plugin shows warning incorrectly in wp multisite

Hi,

i am using the mailchimp plugin in multisite wordpress and I have found it shows this warning in the admin page of my sub-sites that do not have the mailchimp plugin enabled:

"You'll need to set up the MailChimp signup widget plugin options before using it. You can make your changes here"

Let me know if you need any more info?

I'm using mailchimp plugin 1.2.6 i think.

Thanks,

Jason

undefined array key "phone_format"

After the latest update to the wp-mailchimp plugin, my site is recording the following error in the php error log:

[16-Dec-2022 17:42:38 UTC] PHP Warning:  Undefined array key "phone_format" in <path>\wp-content\plugins\mailchimp\mailchimp.php on line 861
[16-Dec-2022 17:42:40 UTC] PHP Warning:  Undefined array key "phone_format" in <path>\wp-content\plugins\mailchimp\mailchimp_widget.php on line 436

Custom templates

Hello, i have a question, do you plan to add some filters or custom template to the plugin? Some time with custom design we have a problem to add classes or rewrite the markup...

Thanks,
Arthur

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.