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.

License Multiwebsite

  1. Noam
    Member

    Hello,

    I have the developer's license of GravityForms.

    I am running a Wordpress 3 MultiSite with 3 websites.
    Main.tdl
    Second.tdl
    Third.tdl

    As Super Admin, I have entered the license code into the "Support License key" field on the Settings page.

    However, when I log into Second.tdl or Third.tdl, the "Support License key field is empty and it says I need to purchase a license.. How can I use the license key for the entire network?

    Or do I have to enter the license on each additional website?

    Posted 13 years ago on Wednesday January 19, 2011 | Permalink
  2. It is possible to pre-populate the license key so it's automatically setup when a new site is activated in multi-site by adding this line to your wp-config.php:

    define('GF_LICENSE_KEY', 'YOUR-LICENSE-KEY-HERE');

    This only works in Gravity Forms v1.3.13 and higher.

    Posted 13 years ago on Wednesday January 19, 2011 | Permalink
  3. Would it be possible to hide the "Support License Key" field for individual blog admin's as only the Super Admin should have access to that I believe.

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  4. Currently no, there isn't a way to do that. It's shown by default. This is because different sites may have different license keys if each site is a client site. Also in situations like that the user may need to access it to enter their license key. WordPress Multi-Site could be used for a variety of situations such as turnkey sites where limiting it to the Super Admin isn't going to make sense. While we can't do it as a default for this reason, we can look into adding a new hook to enable you to do what you described via a a hook.

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  5. Yes, I was only looking for that functionality on MultiSites that I've set my Developer License in the wp-config file. I was thinking that a check for defined( 'GF_LICENSE_KEY' ) or something would work, but I suppose a hook to enable that could work.

    Posted 13 years ago on Friday April 15, 2011 | Permalink
  6. The check for the defined license key is a good idea, we could probably base it on that and then hide the field for non Super Admins. Thanks for the suggestion!

    Posted 13 years ago on Friday April 15, 2011 | Permalink