Recurring call Plugin

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Recurring call Plugin

Post by cas »

This plugin incorporates recurring "calls" into Mantis.
The field "severity" is extended with 6 additional definitions :
74:Daily Recurring task
75:Weekly Recurring task
76:Monthly Recurring task
77:Quarterly Recurring task
78:Half-yearly Recurring task
79:Yearly Recurring task
If a call (issue) in the system reaches a predefined Status (default: resolved),
it creates a new call, again with a predefined status(default: assigned).
It then sets a new duedate based upon call type, i.e. type=76, it adds one month to the duedate.
It does work only with the standard working days which means that a month is defined as 22 working days (also configurable).

available here:
http://www.mantisbt.org/bugs/view.php?id=12533
edelmar
Posts: 6
Joined: 28 Oct 2017, 10:52

Re: Recurring call Plugin

Post by edelmar »

I am testing the Recurring Calls plugin and I am not able to make it work. I downloaded version Recurcall.204 and I activated the plugin correctly on my Mantis 2.1.0, but in field field "severity" is not extended with 6 additional definitions

Please, do you know what may be failing?

Thank you very much for your help
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Recurring call Plugin

Post by cas »

You need to do more than activating the plugin.
Check out the readme. There you will find how to get the additional definitions.

In addition to installing the plugin itself, one needs to make some changes to 2 files.
So the next step is making these changes:
in config_inc.php we need to define these new definitions:
$g_severity_enum_string = '10:Minor Change,20:Major Change,30:Request,40:tweak,50:Minor Issue,60:Major Issue,70:crash,74:Daily Recurring task,75:Weekly Recurring task,76:Monthly Recurring task,77:Quarterly Recurring task,78:Half-yearly Recurring task,79:Yearly Recurring task,80:block,90:Not Applicable';

This also needs to be done in custom_strings_inc.php(if file not exists, please create):
$s_severity_enum_string = '10:Minor Change,20:Major Change,30:Request,40:tweak,50:Minor Issue,60:Major Issue,70:crash,74:Daily Recurring task,75:Weekly Recurring task,76:Monthly Recurring task,77:Quarterly Recurring task,78:Half-yearly Recurring task,79:Yearly Recurring task,80:block,90:Not Applicable';

For renaming "severity" to "Call Type", we need the following overrides, again in custom_strings_inc.php:
$s_severity = 'Call Type';
$s_graph_imp_severity_title = 'Synthesis graphs by Call Type';
$s_by_severity_pct = 'by Call Type percentage';
$s_by_severity_mix = 'by Call Type and status';
$s_severity_link = 'Per Call Type';
$s_email_severity = 'Call Type';
$s_with_minimum_severity = 'With Minimum Call Type of';
$s_must_enter_severity = 'You must select a Call Type';
$s_select_severity = 'Select Call Type';
$s_by_severity = 'By Call Type';

For version 1.2.1 and above, make sure to have this statement in confg_inc.php:
$g_path = 'http://path to your mantis installation/';
edelmar
Posts: 6
Joined: 28 Oct 2017, 10:52

Re: Recurring call Plugin

Post by edelmar »

Thank you very much for your quick response. It has been a great help for me.

I have some questions:

Is the custom_strings_inc.php file located in the core folder or in the root folder?
In what file can I translate the new definitions into Spanish?

Again thanks your help
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Recurring call Plugin

Post by cas »

As of version 2, this file needs to be located in the config directory.
If you want to have this in Spanish, put the Spanish text in there too.
As for the plugin, translation needs to go into plugins\RecurCall\lang\string_spanish.txt (one can replace "spanish" with "Catalan" if you wish).
edelmar
Posts: 6
Joined: 28 Oct 2017, 10:52

Re: Recurring call Plugin

Post by edelmar »

I have been able to correctly configure the plugin, including the Spanish translations.

You are very generous with your selfless help.

Thank you very much.
Post Reply