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 install network activate plugin or mu-plugins ?

  1. Hi,
    I want to install it on a multisite. The plugin should be available to all websites so I guess that I have a choice between activating the plugin for the network or putting it in the mu-plugins folder. But what will be the difference? Or is it equal to my situation?

    Posted 14 years ago on Sunday October 17, 2010 | Permalink
  2. I would suggest using Network Activation. If you are running it in multi-site I would also suggest pre-populating your license key for new sites that are created in multi-site by adding code to your wp-config.php file.

    Customize this code with your license key and add it to your wp-config.php file:

    define(‘GF_LICENSE_KEY’,'YOUR_KEY_GOES_HERE’);

    What this will do is pre-populate the license key on the settings page so you don't have to do it for each site. Just keep in mind it will only do this when a site is first created, so existing sites won't be pre-populated.

    Posted 14 years ago on Monday October 18, 2010 | Permalink
  3. kfawcett
    Member

    Any way to hard code the reCaptcha?

    Posted 13 years ago on Sunday December 5, 2010 | Permalink
  4. kfawcett
    Member

    Adding the above code to my site crashes it. Any idea why?

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  5. No idea why off the top of my head other than not implementing the code properly. It should work. Others are using it, as are we. Make sure the key is correct int he code is added properly in the wp-config.php file. What exactly do you mean by "crashes it", do you receive an error?

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  6. kfawcett
    Member

    I add this exact code 'define(‘GF_LICENSE_KEY’,'my site key here’);' to the bottom of my wp-config.php file and then I get an error stating "Server error.

    The website encountered an error while retrieving http://mysite.com/. It may be down for maintenance or configured incorrectly.

    Here are some suggestions:
    Reload this web page later.
    More information on this error

    If no one else is having problems then it must be something else on my site conflicting with it.

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  7. It's possible, try deactivating everything and then try and let me know how it goes.

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  8. You say you added the code to the bottom of the wp-config file. Did you add it to the very bottom? If so, move it up above the comment that says

    /* That's all, stop editing! Happy blogging. */

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  9. kfawcett
    Member

    Webfocusdesign,

    That didn't help. Thanks though.

    Posted 13 years ago on Wednesday December 15, 2010 | Permalink
  10. kfawcett, did you try replacing the slanted quotes with regular apostrophes? Worked like a charm for me.

    Carl, is there a way to pre-populate the reCAPTCHA keys?

    Thank you in advance

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink
  11. Hi Miller,

    Check out this page of the documentation for details on all information that can be prepopulated:

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

    Posted 13 years ago on Wednesday March 23, 2011 | Permalink
  12. Thanks David, that is exactly what I was looking for! Not sure how I overlooked that.

    Posted 13 years ago on Thursday March 24, 2011 | Permalink