Removal of change tick status when a comment is ad

  • Brendan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #20599 by Brendan
Hello,

Can someone help me.

The way my system is set up i have about 15 ticket status and i would like to remove the feature where the status is changed when a comment is added.

I have some experience in coding but a simple remove this from here, would be great.

Thank you.

Brendan Mills

Director

iRepairs
Latton Bush Centre
Southern Way
Harlow
Essex
CM18 7BL

01279 210091

www.irepairsharlow.co.uk
facebook.com/RepairMyMac

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #20603 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Removal of change tick status when a comment is ad
Hi Brendan

Please submit a support ticket sending us administrator and FTP account of your site so that we can edit code alitle to get it works in the way you want

Tuan

Please Log in or Create an account to join the conversation.

  • Brendan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #20619 by Brendan
Could you please tell which files the code which needs to be adjusted is in so i can do it.

I would not like to grant admin logins to anyone.

Brendan Mills

Director

iRepairs
Latton Bush Centre
Southern Way
Harlow
Essex
CM18 7BL

01279 210091

www.irepairsharlow.co.uk
facebook.com/RepairMyMac

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #20629 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Removal of change tick status when a comment is ad
Hi Brendan

Please follow the instructions below :

1. Open the file administrator/components/com_helpdeskpro/models/ticket.php

2. Find the code below and remove it:
Code:
if ($isCustomerAddComment) { $ticket->status_id = $config->ticket_status_when_customer_add_comment ; } else { $ticket->status_id = $config->ticket_status_when_admin_add_comment ; }

After that, it should work as expected .

Regards,

Tuan
The following user(s) said Thank You: Brendan

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #20653 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Removal of change tick status when a comment is ad
Hi Bredan

I decided to change the core download package alitle so that you won't have to edit the code anymore. Please :

1. Login to your account, access to My Downloads menu item, download latest version of Helpdesk Pro and upgrade it to your site.

2. Go to Helpdesk Pro -> Configuration, find the two config options Ticket Status when customers add comment and Ticket status when admin/manager add comment , set them to Don't change status.

After that, it will work as expected .

Regards,

Tuan

PS : Since Helpdesk Pro is a new extension, if it is possible, could you please spend few minutes to help me by giving it a 5 stars rating and a nice review at extensions.joomla.org/extensions/clients...ties/help-desk/22376 to support my development.
The following user(s) said Thank You: Brendan

Please Log in or Create an account to join the conversation.

  • Brendan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #20658 by Brendan
Wow, that is great.

I had already done the first suggestion where i deleted the code which worked, thank you.

Nice to see you added it as a feature.

I will leave you a 5 star review.

Cheers

Brendan Mills

Director

iRepairs
Latton Bush Centre
Southern Way
Harlow
Essex
CM18 7BL

01279 210091

www.irepairsharlow.co.uk
facebook.com/RepairMyMac

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #20660 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Removal of change tick status when a comment is ad
Great. Thanks Brendan. The sooner you give the extension the rating and review, the better for me. So please do it ASAP !

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Brendan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 6 months ago #20661 by Brendan
ok just done it,

awaiting admin review on joomla.

I must say, I'm very taken in by the great service you offer and will from now on offer my help with anything you need, e.g. feature request ideas, beat testing, reviews, forum assistance.

Hope you get a great response from the joomla community.

Cheers

Brendan Mills

Director

iRepairs
Latton Bush Centre
Southern Way
Harlow
Essex
CM18 7BL

01279 210091

www.irepairsharlow.co.uk
facebook.com/RepairMyMac

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
11 years 6 months ago #20662 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Removal of change tick status when a comment is ad
Thanks Brendan so much for your help. If you have any ideas to improve the extension, make it better, please suggest it to me. I am sure that I will implement it !

Regards,

Tuan
The following user(s) said Thank You: Brendan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc