250 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
+8 more
hogash says

Hi guys,

Just wanted to share with you my modified version of TGM plugin.

If you want to see it in action, please check this link : http://www.screenr.com/uYmH

I have added the following 2 features :

1. Plugin updating system : If you place an updated version of the plugin and configure it properly , the clients will get notified to update the plugin ( in my case , all the extra plugins are bundled inside the theme ) This will work like this :

  • a) You add a plugin version 1.0 inside the theme
  • b) In a future theme update , you want to also update the bundled plugin to version 1.1, so , you replace the old plugin with the new one, and also , change the plugin version name inside the TGM config file
  • c) Once your client will update the theme , he will also be notified that there is a newer version of the plugin available and he can update it from the TGM page.

2. WP 3.6 compatible ( Thanks to stmcan )

The modified version can be found here : http://pastebin.com/0jh83Xmw The sample config file can be found here : http://pastebin.com/5BLEASpd

Please note that the changes were only tested for my needs so , before integrating it in a theme check to see that everything works for you.

Best regards, Stefan

3667 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+9 more
KrownThemes says

Hi Stefan

Thanks for the work! I tried it and i see the plugin update notice, but when i try to update it doesn’t work. This is what i get:

Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Could not remove the old plugin.
Plugin update failed.
All plugins installed and activated successfully. Return to the Dashboard

Permissions are set to 755 on the WordPress plugins folder..

3667 posts Ruben Bristian
  • Sells items exclusively on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Has been part of the Envato Community for over 6 years
+9 more
KrownThemes says

Nevermind, i’ve made a mistake.. All works well! :)

250 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
+8 more
hogash says

Hi ,

I am glad it works :)

Best regards, Stefan

3 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
sgeray says

Hi,

@hogash, links are not working any more. Any chance to post it again?

Kind regards.

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

Thanks for sharing this. I’ve created some gists for those using github.

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

3 posts
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 3 years
sgeray says

Much appreciated. Cheers.


Thanks for sharing this. I’ve created some gists for those using github. Main: https://gist.github.com/FrankM1/6327490
Config: https://gist.github.com/FrankM1/6327495
1769 posts Multimedia Artistry
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 3 years
  • Contributed a free file of the month
  • Won a Most Wanted contest
+4 more
dnp_theme says

Thank you everybody, updated my code :)

611 posts
  • Has sold $40,000+ on Envato Market
  • Located in Slovakia
  • Has been part of the Envato Community for over 2 years
  • Won a Most Wanted contest
+3 more
LubosVolovar says

Really great, thank you! It works, but it throws a following notice:

Plugin updated successfully

Notice: Undefined index: repository_id in … /wp-content/plugins/installer/classes/wprc-installer.php on line 638

All plugins installed and activated successfully. Return to the Dashboard

Not a big issue as I am assuming that not many buyers have debug mode enabled, but is there a solution to fix this? I am updating my plugins from theme’s folder.

438 posts Keep Walking
  • Has been part of the Envato Community for over 3 years
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+2 more
UXbarn says

It works great! Thank you so much. :)

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