Setting up Reminder plugin: Common issues

General discussion of Mantis.

Moderators: Developer, Contributor

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

Setting up Reminder plugin: Common issues

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Setting up Reminder plugin: Common issues

Post 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
Please use Search before posting and read the Manual
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setting up Reminder plugin: Common issues

Post 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:
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Setting up Reminder plugin: Common issues

Post 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)
Please use Search before posting and read the Manual
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Setting up Reminder plugin: Common issues

Post 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:
Brannan
Posts: 1
Joined: 16 Jan 2019, 09:38

Re: Setting up Reminder plugin: Common issues

Post 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?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Setting up Reminder plugin: Common issues

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