Extension:MailChimpSubscription
This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
![]() Release status: unmaintained |
|
---|---|
Implementation | User interface, MyWiki |
Description | Allows users to subscribe to MailChimp List using API by adding a subscription checkbox to account creation form |
Author(s) | (Drappmdtalk) |
Latest version | 1.0 (2013-10-31) |
MediaWiki | 1.21+ |
PHP | 5+ |
Database changes | No |
License | GPL |
Download | Available from external source |
Example | wikem.org |
|
|
The MailChimpSubscription extension integrates MediaWiki registration page with MailChimp API.
InstallationEdit
- Download and place the file(s) in a directory called
MailChimpSubscription
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:require_once "$IP/extensions/MailChimpSubscription/MailChimpSubscription.php";
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
ConfigurationEdit
Text that will be displayed near subscription checkbox$wgMailChimpSubscription['fieldText'] = 'Send me the newsletter (max 1 email a month)';
API key from your MailChimp account$wgMailChimpSubscription['apiKey'] = 'put you API key here';
Your MailChimp list id (to which user will be subscribed)$wgMailChimpSubscription['listId'] = 'put your list id';