Page 1 of 1

Setting up Reminder plugin: Common issues

Posted: 31 Dec 2018, 04:32
by nolankam
I had just managed to install the Reminder plugin so I wanted to list down the challenges in case someone else faces similar problems.

Where to download the plugin: https://github.com/mantisbt-plugins/Reminder

Problem: One of the common problems is you can't see the plugin for installation under the Manage->Manage Plugins page. This because of incorrect path or folder name.
Solution
The plugin should be copied to /mantis/htdocs/plugin folder. The structure must be /mantis/htdocs/plugin/Reminder with the emphasis that the folder name should be Reminder instead of Reminder-master.
(reminder to chmod if you have issues copying)

After you have done this, the plugin should be visible in the Manage Plugin page.

Problem: Although the plugin is now visible, there is no button to install. Specifically, it is indicated as "outdated dependencies".
Solution
My workaround to this problem is to edit the Reminder.php file. Under the function Register, it is indicating a dependency for 1.3.0. If you are using a more updated version such as 2.x, this check will prevent installation from happening.

Code: Select all

	function register() {
		$this->name        = 'Reminder';
		$this->description = lang_get( 'reminder_plugin_desc' );
		$this->version     = '2.0';
		$this->requires    = array('MantisCore'       => '1.3.0',);
		$this->author      = 'Cas Nuy';
		$this->contact     = 'Cas-at-nuy.info';
		$this->url         = 'http://www.nuy.info';
		$this->page        = 'config';
	}
Replace 1.3.0 with the latest version such as 2.0.0 in the code. I do not know what will be the behavior and I am not the owner of this plugin. You undertake this at your own risk.

Re: Setting up Reminder plugin: Common issues

Posted: 31 Dec 2018, 12:56
by atrol
I had a short look at this 3rd party plugin

There is also a branch that should work out of the box with MantisBT 2.x
https://github.com/mantisbt-plugins/Rem ... ersion-2.X

Re: Setting up Reminder plugin: Common issues

Posted: 02 Jan 2019, 11:06
by cas
Nolankam,
as mentioned by Atrol, you need to use the richt version, just making the change you described will not be sufficient.
Actually I did release a newer version (2.05) here:
https://www.nuy.info/mantis2/view.php?id=1
Still need to update github :oops:

Re: Setting up Reminder plugin: Common issues

Posted: 02 Jan 2019, 11:20
by atrol
cas wrote: 02 Jan 2019, 11:06 Still need to update github :oops:
Of course, you should :wink:
And it would be fine if you use project "Plugin - Reminder" at https://www.mantisbt.org/bugs instead of using another bugtracker for it.
I am not sure if you are aware that you have full "Manager" access right for it (and some more of your plugins)

Re: Setting up Reminder plugin: Common issues

Posted: 02 Jan 2019, 11:23
by cas
Atrol,
you are right and yes i am aware.
It is always first on my own instance so i can do some testing. That is where it ends most of the time.
I will verify my plugins and see if updates are needed on both platforms :mrgreen:

Re: Setting up Reminder plugin: Common issues

Posted: 17 Jan 2019, 11:41
by Brannan
atrol wrote: 02 Jan 2019, 11:20 I am not sure if you are aware that you have full "Manager" access right for it (and some more of your plugins)
Does everyone have the full access to the Manager, Atrol?

Re: Setting up Reminder plugin: Common issues

Posted: 17 Jan 2019, 14:04
by atrol
@Brannan I am not sure if I understand your question.
Not everyone has Manager access to a project, just those users where an Administrator configured Manager access for a user.