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.

3rd party addon plugins can't install with v1.5

  1. bradvin
    Member

    Hi Carl,
    There is some new code in v1.5, specifically the method get_addon_info in gravityforms.php (line 862) which gets called whenever another plugin is being installed via the WP admin, by searching and clicking the 'install now' link.

    My problem is that when I install any of the extra 3rd party gravity forms plugins (including Gravity Forms + Custom Post Types) the get_addon_info method intercepts the install because the plugin slug contains the text "gravity". It then makes a call to your GF servers to verify the addon. The problem is these free 3rd party plugins are obviously not registered on your server and therefore you get an error "Install package not available" which aborts the install.

    I had a look at all the official addons, and if the code is changed to rather look for "gravityforms" instead of just "gravity" it will allow for the seamless install of 4 out of 5 of the free 2rd party plugins out there.

    A manual way around this is to upload the 3rd party plugin folder to the server and activate it.
    Another work around is to activate the addons first and then gravity forms last.
    But these just seem like hacks. Can we not come to a reasonable solution that suits us both?

    cheers
    Brad

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  2. Of course Brad, although I didn't run into any problems installing your Custom Post Type Add-On with 1.5 on a test site of mine which already had 1.5 installed. Can you give me some step-by-step instructions I can use to try and replicate the issue and then we can go from there to determine how to resolve it.

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  3. bradvin
    Member

    Hey Carl,
    This is how i get the "Install package not available" error:

    1) Install and activate gravity forms 1.5
    2) under the plugins menu click "Add new"
    3) search for "gravity"
    4) for the first result "Gravity Forms Directory & Addons" click the "install now" link
    5) you should see the "Install package not available" message and the plugin does not install

    thanks for looking into this Carl - much appreciated

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  4. Okay Brad, I am able to replicate it. This is going to be related to last minute changes we made to how the Add-On browser handles updates due to WordPress related security. We will take a look and see what needs to change for the 1.5.1 release in order to make this place nicely with 3rd party Add-Ons from the repository.

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  5. bradvin
    Member

    ok cool Carl
    thanks a mil :)

    Posted 13 years ago on Friday March 25, 2011 | Permalink
  6. Brad,
    Thanks for the detailed post. This was an oversight from my part. I have changed the addon installation process so that it does not rely on the plugin name. It will be included in the next release.

    Posted 13 years ago on Saturday March 26, 2011 | Permalink
  7. By next release, Alex means the upcoming 1.5.1 release which will address any bugs/issues that the final 1.5 release may have uncovered now that more and more users are using it. It will probably be released towards the end of next week to give us time to address any issues that may arise.

    Posted 13 years ago on Saturday March 26, 2011 | Permalink
  8. Sorry this caused any issues - Carl, as you emailed me, I've taken Addons off of the Sidebar and put it in the GF Settings menu.

    Posted 13 years ago on Wednesday April 27, 2011 | Permalink