Page 2 of 3
Re: Time spent on a ticket
Posted: Fri Jan 06, 2012 5:43 pm
by Klemen
That, or you may email me the modified files at info at phpjunkyard dot com and I will upload it here for others for convenience.
Re: Time spent on a ticket
Posted: Fri Jan 06, 2012 7:08 pm
by Raven
Yup

or post a link to a .rar hosted on your web site. If that's not poss I don't mind hosting it for you, just let me know

Re: Time spent on a ticket
Posted: Sat Jan 07, 2012 11:38 am
by bert blaas
I just now sent the modified files to you info address.
Looking forward to the next release!
Re: Time spent on a ticket
Posted: Sat Jan 07, 2012 11:54 am
by bert blaas
Oh, please do not forget;
I did put the two mentioned database fields in by hand as seanieboy02 told;
Add a new field into the DB, notes table called 'timeSpent'. int(3) default value of 0.
Add another field into the tickets table called 'totalTimeSpent'. int(3) default value of 0.
Re: Time spent on a ticket
Posted: Mon Jan 09, 2012 10:25 am
by ictconsulting
would you mind to share the mods with me as well? Please send it to maluix[at]tiscali.it
Best regards
Re: Time spent on a ticket
Posted: Mon Jan 09, 2012 3:20 pm
by bert blaas
@ictconsulting: I hope you can download from the given link below.
@Klemen:
Sorry, I found some code was put incorrect and at the wrong places.
My bad, my excuses, the given files will only work half the time,
and I found I read your code only half, being in a rush to make it work our way.
I found the better places to put it, and made some more changes.
For the complete list and download of the changed files I put it all on my site here;
http://www.blaas.cz/software
Still looking how to make reports from it too.
Re: Time spent on a ticket
Posted: Mon Jan 09, 2012 4:56 pm
by Klemen
Hello Bert,
Got the mail - thanks! I will upload your modified files, but can't open blass.cz right now (server down?), will try later.
Re: Time spent on a ticket
Posted: Mon Jan 09, 2012 5:18 pm
by bert blaas
That's the problem with my name.
Born in the Netherlands, but now living in CZ.
It's with two a's,
http://www.blaas.cz
Good luck.
Re: Time spent on a ticket
Posted: Mon Jan 09, 2012 8:19 pm
by Klemen
Actually I clicked your link, but the website was offline (I then missspelled your name in my reply, sorry).
Anyway, thanks again for sharing. Here is a mirror of your files:
BB Mods 2.3
Re: Time spent on a ticket
Posted: Wed Jan 11, 2012 10:59 am
by nickday85
Hi. I have applied this mod, but it doesn't seem to be working. I now have "0:00" next to my tickets on the admin main screen and "0:00 hours" under the notes section on the ticket, but it doesn't seem to update with any time after closing the ticket.
What am I doing wrong?
Cheers
Nick
Re: Time spent on a ticket
Posted: Wed Jan 11, 2012 7:23 pm
by bert blaas
@nickday85,
Some things you can check;
Did you download and install the latest versions of Hesk (2.3) and the Mod?
Did you create the needed extra fields in the database?
Did you fill in the some minutes in the field under the note?
Hope this helps. If not, please let me know.
Bert
Re: Time spent on a ticket
Posted: Fri Jan 13, 2012 10:54 am
by bert blaas
@nickday85,
I am embarrassed to say this, but I found the error you are talking about.
I have sent the new version to Klemen for posting here,
and put the .rar for download in the knowledge base on my website too;
http://www.blaas.cz/help
Re: Time spent on a ticket
Posted: Fri Jan 13, 2012 8:02 pm
by Klemen
Download updated, thanks!
Re: Time spent on a ticket
Posted: Mon Jan 16, 2012 1:11 pm
by nickday85
I'm sorry to say that I'm still having the same problem.
Maybe I'm not quite sure how this mod is supposed to function. Any ideas?
Re: Time spent on a ticket
Posted: Tue Jan 17, 2012 4:52 pm
by bert blaas
@nickday85
Sorry, maybe it's not so intuitive as I hoped it would be;
When you open a ticket in the administrator area you will find the possibility to add a note;
Total time spent on ticket: 0:00 hours
Notes: + Add note
After you click the +Add note link you will see an extra field to add your text in; the Action / Detail field.
Right underneath that field you will find the text;
Time spent (in minutes)
and underneath that a field with a standard 0 (zero) in it.
Change this 0 into the amount of minutes you want to associate with the text you entered in the Action / Detail field.
After you click the Submit button you will see the total amount of time updated for this ticket.
Hope this helps!
Please let me know if it is still not working.