167 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
partnuz says

Hi Thomas

Thanks for the great work, but it doesn’t seem to work like it should. If one of the plugins is out of date i simply get the notice. But there is no option for the user to update the plugin.

This is how it currently looks:

This is how Stefan’s version looks:

You’ll see the difference. With your version i do get the notice, but there’s absolutely no way to update the plugin.

It doesn’t have this option. I asked the author some time ago and he replied few days ago https://github.com/thomasgriffin/TGM-Plugin-Activation/issues/163

@hogash perhaps you could create your version but instead of modifying core file you could use OOP inheritance. For example

class Original{ code… }

class Yours extends Original{ overwrite few functions }

This way it would be much easier to allow other developers to improve your code.

243 posts The Joomla Guy
  • Power Elite Author: Sold more than $1M on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Made it to the Authors' Hall of Fame
+9 more
hogash says

HI,

I am working on a new Wordpress theme, however, i have many things to take care before integrating the new version TGM plugin.

As soon as i reach the step where i need to implement TGM i will have another shoot at it and share the code with all of you.

Best regards, Stefan

8 posts
  • Sells items exclusively on Envato Market
  • Has sold $10,000+ on Envato Market
  • Located in Europe
  • Has been part of the Envato Community for over 1 year
+2 more
artless says

Hi,

i’ve merged the new tgmpa version ( 2.4.0 ) and hogash update function together. Also added “Update” function as “Bulk Action” to update more than one item at once and for easier usability.

http://pastebin.com/b9t1YQLC

It works for me, but test it before you implement it to your projects.

Have a nice day! Christian

110 posts Live. Love. ASAP
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 4 years
+6 more
liviu_cerchez says

Hi,

i’ve merged the new tgmpa version ( 2.4.0 ) and hogash update function together. Also added “Update” function as “Bulk Action” to update more than one item at once and for easier usability.

http://pastebin.com/b9t1YQLC

It works for me, but test it before you implement it to your projects.

Have a nice day! Christian

Thank you Christian, I’ll probably be testing and using this updated version in my items. If you ever modify it, post an update on this thread please. I appreciate your work and time on this.

8 posts
  • Sells items exclusively on Envato Market
  • Has sold $10,000+ on Envato Market
  • Located in Europe
  • Has been part of the Envato Community for over 1 year
+2 more
artless says

You’re welcome.

Little Update: The original version 2.4.0 has a bug, which appears when you click on the “Install” link for a single plugin and your plugin source url has parameters, for example: http://s3.amazon.com/?parameter1=3232&parameter2=23232

I’ve fixed the bug and updated the pastebin: http://pastebin.com/b9t1YQLC

140 posts
  • Sells items exclusively on Envato Market
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 3 years
+2 more
FranklinM2 says

I’ve updated the gist to version 2.4.0. Thanks @artless

Main: https://gist.github.com/FrankM1/6327490
Config: https://gist.github.com/FrankM1/6327495

As always test before deploying.

922 posts
  • Has referred 500+ members
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 500+ items on Envato Market
+13 more
MDNW says

I noticed that on Multisite installations, updating more than one plugin at once (ie: checking all boxes and hitting update) will trigger a blank-page-fail (and it will only update the first plugin that it attempts)... but updating them one at a time seems to work fine.

It’s not really a huge issue, but it’s worth logging in case anyone else encounters this (or if anyone has a solution!). For the time being, I’m just going to add text to instruct users to update plugins “one at a time” to be safe :)

Question: What does the “THEMENAME” declaration at the top of your config file do? Is that necessary?

Great work though – this little modification is awesome!

3 posts
  • Sells items exclusively on Envato Market
  • Has sold $40,000+ on Envato Market
  • Located in United Kingdom
  • Has been part of the Envato Community for over 5 years
+2 more
Artivity says

Question: What does the “THEMENAME” declaration at the top of your config file do? Is that necessary?

Looks like it’s been taken from the version that hogash posted originally and just declares a text domain that’s referenced in the main tgm plugin file. No need for it at all in the version that FranklinM2 has put up on GitHub as the main tgm file on there has a text domain already hard coded in as per the original plugin class.

As you say though, very handy this!

41 posts
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+4 more
fireform says

Hi guys,
I’m using FranklinM2’s version and have been noticed that plugins hosted at WordPress Repository and which need to be updated aren’t visible on “Install Required Plugins” page. Also no nag about newer version. But all is good with pre-packaged plugins. Any thoughts?

Example:
array(
    'name' => 'Contact Form 7',
    'slug' => 'contact-form-7',
    'version' => '3.8.3',
    'required' => true,
    'external_url' => ''
),
So current CF7 version is 3.9 and it isn’t visible and no message about update.
140 posts
  • Sells items exclusively on Envato Market
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 3 years
+2 more
FranklinM2 says

HI @fireform,

Now that you mention it I have noticed it too. I’ll look into the code and see what’s going on.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by