To upgrade deprecated Wordpress Plugin
CF7-3rdparty Integration to the new version
Forms 3rdparty Integration, or migrate settings of either plugin between sites.
From discussion at
http://wordpress.org/support/topic/how-to-upgrade-from-old-version-to-this-one?replies=1 and more recent request
https://github.com/zaus/forms-3rdparty-integration/issues/17.
Your mileage may vary...
- You should have both plugins enabled with at least one service configured and saved. This is so you have both complete sets of options available for comparison, because you may have to add some extra properties beyond just copy/paste.
- Upload this to your plugins folder (i.e. install)
- Go to the Tools admin page, underneath it will be "Forms 3rdparty Migrate"
- Choose the "mode", which corresponds to the currently selected plugin you want to work with. When reviewing, will show that plugin's settings. When updating, will set that plugin's settings.
- Choose 'Review' to see the currently selected plugin settings serialized to JSON, and copy them to export. If you are on > PHP 5.4, you'll get prettified output, otherwise...sorry.
- Choose 'Raw Review' to see the currently selected plugin settings in a 'nicely formatted' array.
- Choose 'Test' to see what your pasted JSON would like as a nicely formatted array (i.e. like 'Raw Review')
- Choose 'Update' to set the currently selected plugin from the values in the textarea. Submitted values should be JSON.
- Select the 'Convert' option if you are migrating between CF7-3rdparty and Forms-3rdparty plugins -- this will perform minor variable renaming for you.
- Select the 'Merge' option to combine settings with existing. Unselect to overwrite.
- If "upgrading" from CF7 to Forms, make sure to add any additional properties present in the 'new' format (such as labels) are added, otherwise you might get some PHP warnings when you go back to the Forms-3rdparty admin page. This part might not be necessary if you don't have PHP warnings turned on.
- Check the integration plugin admin page to make sure your settings are all there.
- Try the new services.
NOTE Because all of the services are serialized to a single field, there is a limit to how many services you can configure at once.
0.3.0
Moved out of gist and formalized as real plugin.
0.1.0
semi-dangerous hack, mostly proof of concept.