http://wpkgr.com/ provides a way to select commonly used plugins and themes to be automagically downloaded and activated during install provided they are hosted on the WP.org repository. This WPBits post outlines how to make your own defaults (posts, pages, options, etc) using the same /wp-content/install.php file to add to or replace the Hello World features with commonly used categories, pages, etc.
Wondering if anyone else has done anything similar to this and GF.
The following potential hazards come to mind as I'm about to start trying to build a custom install script that will allow me to deploy the "standard configuration" stuff I do for a site rather than having to click through many steps in the admin console to get to the preferred baseline state (default landing page, permalinks structure, etc).
- How to have the install.php connect to the GF repository
- How to do so without storing my license key in the code. /wp-admin/install.php calls a function display_setup_form that doesn't have an action or filter tied to it, but would be the best case scenario to include a text field on the install screen to populate license key. Adding a constant which I remove before deployment might be the next best solution.
- Assuming #2 can be solved as a install screen customization without core mod, how the affiliate program might work if this were something I shared for others to use to sign-up for their own GF prior to registration. Sort of a "click here to buy it and then paste in your license key and the install will do the rest" type of thing