Setting up Reminder plugin: Common issues

General discussion of Mantis.

Moderators: Contributor, Developer

Post Reply
nolankam
Posts: 9
Joined: Dec 30, 2018 2:33 am

Setting up Reminder plugin: Common issues

Post by nolankam » Dec 30, 2018 11:32 pm

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.

atrol
Site Admin
Posts: 7616
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Setting up Reminder plugin: Common issues

Post by atrol » Dec 31, 2018 7:56 am

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
Please use Search before posting and read the Manual

cas
Posts: 528
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Setting up Reminder plugin: Common issues

Post by cas » Jan 02, 2019 6:06 am

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:

atrol
Site Admin
Posts: 7616
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Setting up Reminder plugin: Common issues

Post by atrol » Jan 02, 2019 6:20 am

cas wrote:
Jan 02, 2019 6:06 am
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)
Please use Search before posting and read the Manual

cas
Posts: 528
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Setting up Reminder plugin: Common issues

Post by cas » Jan 02, 2019 6:23 am

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:

Brannan
Posts: 1
Joined: Jan 16, 2019 4:38 am

Re: Setting up Reminder plugin: Common issues

Post by Brannan » Jan 17, 2019 6:41 am

atrol wrote:
Jan 02, 2019 6:20 am
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?

atrol
Site Admin
Posts: 7616
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Setting up Reminder plugin: Common issues

Post by atrol » Jan 17, 2019 9:04 am

@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.
Please use Search before posting and read the Manual

Post Reply