PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

multisite forms

  1. jbdurand
    Member

    Hello
    I wish to duplicate a form within a multisite installation (formely called mu, now in WP 3.X).
    Each time a new blog will be created there should be a page tab "form" in the menu. The page would include a gravity form. The same form would be on all the blogs.
    I exported the form and imported it manually but I wish to do it automatically when the blog is created.
    Any suggestion for this?
    Best regards.

    Posted 13 years ago on Friday April 1, 2011 | Permalink
  2. You can configure your multi-site install to pre-generate forms as well as license keys by adding code to your wp-config.php file. You can find documentation on this here:

    http://www.gravityhelp.com/documentation/page/WP_Config_Options

    Posted 13 years ago on Friday April 1, 2011 | Permalink
  3. jbdurand
    Member

    As explained in the url, I tried to do the following :

    copy these 4 lines at the end of the wp-config.php file :

    define("GF_LICENSE_KEY", "7f42f2e9XXXXXXX85c63761");
    define("GF_RECAPTCHA_PUBLIC_KEY", "7f42f2e9XXXXXXX85c63761");
    define("GF_RECAPTCHA_PRIVATE_KEY", "7f42f2e9XXXXXXX85c63761");
    define("GF_IMPORT_FILE", "http://wp.XXXXX.COM/wp-content/uploads/gravity4formstest.xml");

    put a xml of the exported 4 forms gravity4formstest.xml on the server

    And for the moment nothing happened. no message. It doesn't copy the forms to the new blog.
    maybe I didn't understand. or I don't have a licence key...

    Posted 13 years ago on Saturday April 2, 2011 | Permalink
  4. jbdurand
    Member

    I tried something completely different that happened to work really fine with gravity forms : the wp-replicator plugin (35$). Now I can create multisite blogs, each including gravity forms in pages or articles. great. It clones the site you want for each new user registration. If any gravity users have the same feature wish : http://wpebooks.com/replicator/
    Best regards.

    Posted 13 years ago on Saturday April 2, 2011 | Permalink
  5. @jbdurand Those wp-config options should work. Were they all not working or only some? If the forms weren't importing via the XML file using an http:// request you can try the full absolute path on the server and not via http://. Some servers block the request. But either way i'm glad you found a way to do it, thanks for the info on the replicator plugin.

    Posted 13 years ago on Monday April 4, 2011 | Permalink
  6. jbdurand
    Member

    Hello Carl.
    There is another plugin for replication of parameters in a multisite WP installation : YD Network-wide Options
    http://wordpress.org/extend/plugins/yd-wpmu-sitewide-options/
    It's free, not well documented and I have not been able to replicate gravity forms with it (themes replication works fine, plugin replication is unclear).
    by comparison http://wpebooks.com/replicator/ worked immediately after installation and provides immediate support by forum.

    By the way, I would be really very interested in a showcase listing of sites using gravity forms.
    I guess some users do really amazing things with your great plugin (eg http://happytails.co/ I think does ecommerce with gravity).
    You told that you would do such a showcase list after the site redesign. Can we expect it in the short term?

    Best regards.

    Posted 13 years ago on Monday April 4, 2011 | Permalink
  7. Carl made a note in another forum that bears repeating here: Please note that these only get applied to new sites activated in multi-site. It won't pre-populate existing sites as it only runs on activation. Source: http://www.gravityhelp.com/forums/topic/global-recaptcha-keys-on-multi-site

    Also, I've been using a free plugin called Site Creation Wizard to allow users to choose which sites to have clones of, and have found that the Site Creation Wizard also doesn't replicate forms or reCAPTCHA keys. Site Creation Wizard: http://wordpress.org/extend/plugins/site-creation-wizard/

    Posted 13 years ago on Monday August 22, 2011 | Permalink
  8. @paire If you need to replicate forms or license keys and reCAPTCHA keys you should be able to use the hooks mentioned in this post to handle this for you... when a new site is created.

    Posted 13 years ago on Monday August 22, 2011 | Permalink