On Gitter there was a question to what extend it would be possible to check easily for new updates on plugins. I gave that some corona thoughts nad came up with a possible solution without any changes to core. The only thing required is to add a file version.txt in the root of each plugin. Clearly it should become part of the plugin documentation such that this becomes the standard.
An initial version is available here : http://www.nuy.info/mantisplugins/Check ... latest.zip
Look forward to the comments and more importantly if you believe this is a good way to handle it
(semi) automatic checking for plugin updates.
Moderators: Developer, Contributor
Re: (semi) automatic checking for plugin updates.
I haven't tried it yet but I think it's awesome that you moved directly from identifying a problem to a solution using the tools available.
Did I saw awesome? I meant
AWESOME!
I really hope more people see this as inspiration to create plugins that do what they want ... then share with everyone else so that there are more examples of v2+ plugins, and more code bases for people to build upon.
Thanks dude!
Did I saw awesome? I meant
AWESOME!
I really hope more people see this as inspiration to create plugins that do what they want ... then share with everyone else so that there are more examples of v2+ plugins, and more code bases for people to build upon.
Thanks dude!
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!
Ask developers to create a plugin that you need - and motivate them to help you!
-
- Posts: 118
- Joined: 05 Jun 2019, 00:17
Re: (semi) automatic checking for plugin updates.
Not Found
The requested URL was not found on this server.
The requested URL was not found on this server.
Re: (semi) automatic checking for plugin updates.
Maybe I'm doing something wrong, but when trying to configure the plugin I get:
APPLICATION WARNING #300
String "plugin_CheckPlugin_plugin_format_title" not found. (in 'C:\inetpub\wwwroot\mantisbt\core\plugin_api.php' line 375)
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Looks like it can't get the language?
function plugin_lang_get( $p_name, $p_basename = null ) {
if( !is_null( $p_basename ) ) {
plugin_push_current( $p_basename );
}
$t_basename = plugin_get_current();
$t_name = 'plugin_' . $t_basename . '_' . $p_name;
line 375 => $t_string = lang_get( $t_name );
if( !is_null( $p_basename ) ) {
plugin_pop_current();
}
return $t_string;
APPLICATION WARNING #300
String "plugin_CheckPlugin_plugin_format_title" not found. (in 'C:\inetpub\wwwroot\mantisbt\core\plugin_api.php' line 375)
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Looks like it can't get the language?
function plugin_lang_get( $p_name, $p_basename = null ) {
if( !is_null( $p_basename ) ) {
plugin_push_current( $p_basename );
}
$t_basename = plugin_get_current();
$t_name = 'plugin_' . $t_basename . '_' . $p_name;
line 375 => $t_string = lang_get( $t_name );
if( !is_null( $p_basename ) ) {
plugin_pop_current();
}
return $t_string;
Re: (semi) automatic checking for plugin updates.
I have adjusted the page in error, please download /pages/config.php (or the plugin in total) and it should work.
Re: (semi) automatic checking for plugin updates.
Please install the plugin in total again after downloading version 1.03