Jump to content

Response Time Widget & Report


Recommended Posts

I am proud to announce the release of "Response Time" our newest addition to the WHMCS Addon family of products.

 

Response Time Report:

This report is a wonderful addition to your WHMCS reports. It displays your average support time and goes into further depth of individual tickets.

 

report_ticket_response.jpg

 

This report also lets you choose a specific date to start the average time from.

 

Response Time Widget:

This widget allows you to display your average response time to your clients.

 

The basics on how to use it:

<script language="javascript" src="widgets/averagesupport.php"></script>

 

This is a more advanced sample of how the widget works:

<script language="javascript" src="widgets/averagesupport.php?format=*minutes Minute(s) and *seconds"' Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

Format is the format of the reply you want back.

*days displays days.

*hours displays hours.

*minutes displays minutes.

*seconds displays seconds.

 

From is the date you want to start the average from.

 

No time is the response you want to receive if the average support time returns 0.

Best of all, it is completely FREE!

 

- Enjoy :D

Link to comment
Share on other sites

  • Replies 72
  • Created
  • Last Reply

Top Posters In This Topic

 

Thanks for the catch. This issue has now been fixed. You just need to update the old report file with the new report file available on whmcsaddon.com .

Link to comment
Share on other sites

should remove maxmind on that as it is fooing up the whole thing

 

We use MaxMind on every order. This is our standard procedure.

 

We are always happy to approve your account if it fails validation as long your details are in order. Just contact support; Someone will get back to you usually within 24hours.

Link to comment
Share on other sites

<script language="javascript" src="widgets/averagesupport.php?format=*minutes Minute(s) and *seconds"' Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

The above line does not work correctly, is there a way of viewing the average support time of a ticket using from=24 hours ago?

 

Displaying the average support responses within a 24 hour period is a more ideal solution?

Link to comment
Share on other sites

Edit:

 

The output in the original header does not work.

 

<script language="javascript" src="widgets/averagesupport.php?format=*minutes Minute(s) and *seconds"' Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

The correct output should be.

 

<script language="javascript" src="/members/widgets/averagesupport.php?format=*minutes Minute(s) and *seconds Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

The above line does not work correctly, is there a way of viewing the average support time of a ticket using from=24 hours ago?

 

Displaying the average support responses within a 24 hour period is a more ideal solution?

Link to comment
Share on other sites

Edit:

 

The output in the original header does not work.

 

<script language="javascript" src="widgets/averagesupport.php?format=*minutes Minute(s) and *seconds"' Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

The correct output should be.

 

<script language="javascript" src="/members/widgets/averagesupport.php?format=*minutes Minute(s) and *seconds Second(s)&from=Dec 30 2010&notime=No Support Requests"></script>

 

The above line does not work correctly, is there a way of viewing the average support time of a ticket using from=24 hours ago?

 

Displaying the average support responses within a 24 hour period is a more ideal solution?

 

The correct line could be different depending on your needs. The above sample shows how to include from files within your WHMCS directory. The link url above should be the relative link to the file "averagesupport.php" found in your WHMCS widgets directory.

 

Getting an average from the last 24hours is possible. Using PHP you can use the time/date commands.

 

Heres how you can format it in a normal php file:

<script language="javascript" src="/members/widgets/averagesupport.php?format=*minutes Minute(s) and *seconds Second(s)&from=<?php echo date('Y-m-d H:i:s', (time() - 86400)); ?>&notime=No Support Requests"></script>

 

In smarty you can do this:

<script language="javascript" src="/members/widgets/averagesupport.php?format=*minutes Minute(s) and *seconds Second(s)&from={php}echo date('Y-m-d H:i:s', (time() - 86400));{/php}&notime=No Support Requests"></script>

 

We have also just released an update to fix a limitation on the from date. It use to check if the original ticket was submitted after the from date/time. Now the widget will check all the replies as well and include them if they are after the from date/time.

 

You just need to redownload the widget to apply the fix :)

Link to comment
Share on other sites

does this work with custom ticket status's? We have a status called "completed" which should be treated the same as closed.... Is there also any way to exclude certain departments or filter by department? I see there is a text file in the zip file but where is that supposed to go? PHP file is encoded.

 

Thanks

Link to comment
Share on other sites

does this work with custom ticket status's? We have a status called "completed" which should be treated the same as closed.... Is there also any way to exclude certain departments or filter by department? I see there is a text file in the zip file but where is that supposed to go? PHP file is encoded.

 

Thanks

 

This absolutely works with custom status's in WHMCS 4.4+

 

In your admin language file(s) (located in /admin/lang/) add the following line:

/*
Response Time Special Variable
This should match your closed ticket status string
*/
$_ADMINLANG["responseTime"]["ticketstatus"] = "completed";

 

We do have plans to release Response Time Pro which will have even more depth in the report like ignoring departments and a few other nifty things.

Link to comment
Share on other sites

This absolutely works with custom status's in WHMCS 4.4+

 

In your admin language file(s) (located in /admin/lang/) add the following line:

/*
Response Time Special Variable
This should match your closed ticket status string
*/
$_ADMINLANG["responseTime"]["ticketstatus"] = "completed";

 

We do have plans to release Response Time Pro which will have even more depth in the report like ignoring departments and a few other nifty things.

 

 

Cool, I'll keep an eye out for the Pro version.

 

Adding that language line doesn't seem to work right. Without that line it says:

You currently have 557 unanswered tickets, with 524 of them closed.

 

With that line added it says:

You currently have 557 unanswered tickets, with 27 of them closed.

 

And with and without it it still says:

Your average response time is: 2 Day(s) 11 Hour(s) 31 Minute(s) and 41 Second(s)

 

So it doesn't seem to be changing the response time based on the "completed" and "closed" status but I also have more than 524 closed tickets.

 

Also what is considered an unanswered ticket? A ticket that never received a response regardless of the status? We only have about 7 that are considered active/open by WHMCS.

Link to comment
Share on other sites

An unanswered ticket is a ticket that has a client response but no answer after it. It will not affect the response time calculation.

 

It would appear that in your case you have both a completed status and a closed status with tickets in them. To fix this you will have to move all tickets from one status to another.

 

At the time of your posting it would appear that you have 6 tickets awaiting response. 524+27=551 Tickets closed/completed out of the 557 unanswered tickets.

Link to comment
Share on other sites

This is a great addon.

 

Does the report/widget calculate the mean or the median? If the former then the value is going to be skewed by any occasional large values (and there are plenty of occasions when it might take a few days to reply to a ticket).

 

I think using the median would be a fairer average, especially with the widget, in producing an average response time customers can expect to receive.

Link to comment
Share on other sites

Thanks.

 

Right now the report calculates the mean and not the median.

 

You do make a good point about using a median rather then a mean. I do think that even with median averages you could have skewed averages regardless. There is no better way to avoid skewed averages then providing immediate responses to tickets. I will definitely look into adding median averages into a future release! Thanks for the idea.

Link to comment
Share on other sites

I'm pleased to hear that you'll take it into consideration.

 

I've looked through the report and the occasions when it's reporting that the response has been slow is actually caused by the client not responding. For example we opened a ticket on 5th December 2007, didn't receive a response so sent a chaser on 17th January 2008 and the report puts that down as a 43 day response time. When in actual fact we opened the ticket and the client never replied :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated