Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS Plugin Installer
#24
(2015-06-30, 18:33:41)df8oe Wrote: New feature wanted... Plugin works great for me but it will be much greater if it recognizes when installed version of plugin is older than the one in the actual list and if so there appears a button "update" beneath "uninstall".... So you can update plugins via webinterface too. I don't have tested if uninstall and then again install works too but you have to activate new installed plugins and maybe you run into problems if activated plugin is uninstalled...

Great plugin already!


I have made a "quick-and-dirty-hack" to solve this....

I dont have spend time in function that compares version of installed plugin and available like the standard plugin module does.

I just have added a new button to every installed plugin. Now not only "Uninstall" is available, but a second button "Reinstall". If you click this button the plugin is installed once again and if there is a new version available you have "updated" the plugin! The only thing is you must have had a look in the standard-plugin-list and remember if there are updates available. Then you can switch to the installer, search for the recommended plugins and click "Reinstall" - thats all!


What to do in source code??

Insert behind  the line:
                      

Code:
<a class="cancel" href="<?php echo $SITEURL . "admin/load.php?id=gs_plugin_installer" ?>&uninstall=<?php echo $plugin->id ?>">Uninstall</a>


the following line:



Code:
<br><a class="cancel" href="<?php echo $SITEURL . "admin/load.php?id=gs_plugin_installer" ?>&install=<?php echo $plugin->id ?>">Reinstall</a>


OK - what 2do:
- write a function that compares versions of installed plugins and available plugins and show plugins where updates are available always on top of the list....

I am not sure plugin is maintained actually so I don't know if the author realizes this or the community...

Greetz
Andreas

BTW:
In source i found a table heading "updated" - but this is never shown in my screens. Is it a bug or is its reason the theme I am using??


The plugin is brand new and I plan on actively supporting and updating it, I am working on a new feature at the moment, as well as cleaning up the code a bit.

The updated column is not currently used for anything, but in the future you will be able to order the plugins by various data like when it was last updated, I added in the field there so i had it to work with in the future.

As far as i understand the default plugin manager has an "update" feature, So It's not in my "todo" list at this moment in time, but if you want to add this feature that'd be nice, you can contribute code in the GitHub repository Smile
Web Developer
Plugins: GS Plugin Installer | Referrer Blocker | Password Protect
Reply


Messages In This Thread
GS Plugin Installer - by HelgeSverre - 2015-06-28, 00:57:33
RE: GS Plugin Installer - by Oleg06 - 2015-06-28, 03:30:45
RE: GS Plugin Installer - by HelgeSverre - 2015-06-28, 04:18:04
RE: GS Plugin Installer - by Oleg06 - 2015-06-28, 04:47:11
RE: GS Plugin Installer - by HelgeSverre - 2015-06-28, 04:55:58
RE: GS Plugin Installer - by Oleg06 - 2015-06-28, 05:15:07
RE: GS Plugin Installer - by shawn_a - 2015-06-28, 06:32:44
RE: GS Plugin Installer - by shawn_a - 2015-06-28, 06:36:15
RE: GS Plugin Installer - by shawn_a - 2015-06-28, 06:49:07
RE: GS Plugin Installer - by HelgeSverre - 2015-06-28, 07:57:57
RE: GS Plugin Installer - by shawn_a - 2015-06-29, 00:06:45
RE: GS Plugin Installer - by HelgeSverre - 2015-06-29, 01:15:11
RE: GS Plugin Installer - by Oleg06 - 2015-06-29, 03:28:40
RE: GS Plugin Installer - by HelgeSverre - 2015-06-29, 03:41:37
RE: GS Plugin Installer - by shawn_a - 2015-06-29, 03:59:18
RE: GS Plugin Installer - by HelgeSverre - 2015-06-29, 04:01:40
RE: GS Plugin Installer - by Oleg06 - 2015-06-29, 06:31:56
RE: GS Plugin Installer - by shawn_a - 2015-06-29, 07:36:36
RE: GS Plugin Installer - by HelgeSverre - 2015-06-29, 08:22:28
RE: GS Plugin Installer - by Oleg06 - 2015-06-29, 08:35:55
RE: GS Plugin Installer - by shawn_a - 2015-06-29, 08:47:36
RE: GS Plugin Installer - by Tyblitz - 2015-06-29, 09:06:41
RE: GS Plugin Installer - by df8oe - 2015-06-30, 18:33:41
RE: GS Plugin Installer - by HelgeSverre - 2015-07-02, 02:36:39
RE: GS Plugin Installer - by df8oe - 2015-07-02, 02:58:36
RE: GS Plugin Installer - by HelgeSverre - 2015-07-02, 04:12:32
RE: GS Plugin Installer - by shawn_a - 2015-07-02, 05:04:27
RE: GS Plugin Installer - by HelgeSverre - 2015-07-02, 08:40:33
RE: GS Plugin Installer - by shawn_a - 2015-07-02, 09:01:59
RE: GS Plugin Installer - by df8oe - 2015-07-03, 04:56:40
RE: GS Plugin Installer - by HelgeSverre - 2015-07-03, 20:10:22
RE: GS Plugin Installer - by Tyblitz - 2015-07-04, 01:04:08
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 02:32:01
RE: GS Plugin Installer - by Tyblitz - 2015-07-04, 07:17:19
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 07:40:02
RE: GS Plugin Installer - by df8oe - 2015-07-04, 02:44:12
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 02:59:06
RE: GS Plugin Installer - by df8oe - 2015-07-04, 03:24:10
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 03:29:14
RE: GS Plugin Installer - by df8oe - 2015-07-04, 03:38:28
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 04:46:13
RE: GS Plugin Installer - by df8oe - 2015-07-04, 07:54:45
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 08:00:03
RE: GS Plugin Installer - by df8oe - 2015-07-04, 18:21:07
RE: GS Plugin Installer - by df8oe - 2015-07-04, 18:37:06
RE: GS Plugin Installer - by Carlos - 2015-07-04, 19:21:31
RE: GS Plugin Installer - by df8oe - 2015-07-04, 19:55:57
RE: GS Plugin Installer - by HelgeSverre - 2015-07-04, 19:59:25
RE: GS Plugin Installer - by datiswous - 2015-07-07, 23:11:05
RE: GS Plugin Installer - by HelgeSverre - 2015-07-13, 22:13:16
RE: GS Plugin Installer - by shawn_a - 2015-07-14, 01:27:03
RE: GS Plugin Installer - by wakh - 2015-07-20, 23:47:16
RE: GS Plugin Installer - by HelgeSverre - 2015-07-21, 16:30:42
RE: GS Plugin Installer - by wakh - 2015-07-21, 19:18:26
RE: GS Plugin Installer - by HelgeSverre - 2015-07-23, 19:54:35
RE: GS Plugin Installer - by wakh - 2015-07-25, 03:37:10
RE: GS Plugin Installer - by HelgeSverre - 2015-07-27, 16:56:11
RE: GS Plugin Installer - by wakh - 2015-07-27, 18:22:37
RE: GS Plugin Installer - by HelgeSverre - 2015-07-28, 20:18:57
RE: GS Plugin Installer - by wakh - 2015-08-24, 09:07:57
RE: GS Plugin Installer - by Tyblitz - 2015-07-28, 21:48:06
RE: GS Plugin Installer - by HelgeSverre - 2015-07-29, 18:48:35
RE: GS Plugin Installer - by phpman - 2015-08-24, 04:03:07
RE: GS Plugin Installer - by wakh - 2015-08-24, 09:11:51
RE: GS Plugin Installer - by Tyblitz - 2015-08-25, 05:47:28
RE: GS Plugin Installer - by HelgeSverre - 2015-08-27, 08:21:45
RE: GS Plugin Installer - by wakh - 2015-08-24, 21:32:39
RE: GS Plugin Installer - by shawn_a - 2015-08-25, 06:44:26
RE: GS Plugin Installer - by wakh - 2015-08-26, 09:13:05
RE: GS Plugin Installer - by deawar - 2015-10-24, 00:17:48
RE: GS Plugin Installer - by HelgeSverre - 2015-10-26, 19:23:54
RE: GS Plugin Installer - by deawar - 2015-10-27, 03:43:45
RE: GS Plugin Installer - by HelgeSverre - 2015-10-27, 17:39:00
RE: GS Plugin Installer - by datiswous - 2015-11-30, 20:54:50
RE: GS Plugin Installer - by phpman - 2016-12-18, 20:55:59
RE: GS Plugin Installer - by HelgeSverre - 2017-02-06, 06:21:24
RE: GS Plugin Installer - by shawn_a - 2017-02-07, 05:49:11
RE: GS Plugin Installer - by zekoolweb - 2017-03-15, 00:46:27
RE: GS Plugin Installer - by Tyblitz - 2019-12-04, 23:25:06



Users browsing this thread: 2 Guest(s)