Page 1 of 1

Printing a Ticket for a user

Posted: Wed Sep 28, 2005 9:41 pm
by Gon
Script URL: local
Version of script: 0.93.1 from 17th September 2005
Version of PHP: 5.04
Hosting company: local
Have you searched THIS FORUM for your problem: yes
(if not please do before posting)
If so, what terms did you try: mail ticket, print ticket

Write your message below:
Hi, your code was very usefull to me. And very easy to setup!

I need to print the tickets of a specified user. I try to send mails when a ticket arrives, and didnt work -i dont know why, i read the posts in this forum and cant fix it-. So I think about send a mail to a specified user, and print mails of that specified account automatically... < but doesnt work cause i cant send the mail!
So, I wrote to you if you know how i can put some php code in wich specified page to print the ticket of a specified user that is have access of a specified category.

thanks in advance!! :)

Gonzalo

Posted: Wed Sep 28, 2005 10:04 pm
by Klemen
Hi,

If sending e-mails doesn't work then something is wrong with your PHP setup because Heks uses the standard PHP mail() function to send emails. Check with your hosting company.

You can print a ticket by login into admin panel then click on the ticket and you will see a link "Printer friendly version" and you can print that.

Regards

Re: Printing...

Posted: Thu Sep 29, 2005 12:36 pm
by Gon
Klemen,
I read the other posts that have problems with emails, and try changing configuration of the php server before I post the first message. My hosting server was local, so I can change the configuration by myself. Doesnt work, changing php.ini, i think is a problem of smtp authorization... im on that.

Yep, i see the "print friendly" version button... but i need that was automatically... I mean, you send a ticket to database, and the ticket automatically printed by himself.... I know that is very much, but it will be veeeeeeeeeery usefull!

Thanks in advance.

Gonzalo.
PS: sorry if my english is not very good.. :wink:

Re: Printing...

Posted: Thu Sep 29, 2005 12:49 pm
by Klemen
Gon wrote:Yep, i see the "print friendly" version button... but i need that was automatically... I mean, you send a ticket to database, and the ticket automatically printed by himself.... I know that is very much, but it will be veeeeeeeeeery usefull!
Having a ticket printed automatically after it is added to the database? I don't think that is even possible?!

AT LEAST IT WAS PRINTED!

Posted: Thu Oct 13, 2005 3:50 pm
by Gon
Klemen,
I finally did work the email function, installing an apache, mysql, php and sendmail in a linux debian machine. It works perfectly. So, i have a printer -Kyocera 9500- that gets pop email, checking in intervals from 3 min. So, Hesk send mail, the printers get it and print! It works flawlessly!

So, my question right now is another. How can i put a "all check" checkbox in admin page, so i can delete all the mail.

Or how can i put a function to purge old tickets...?

Maybe this a feature to next add ons :)

C-ya! Thanks for all! :)

Posted: Fri Oct 14, 2005 10:14 pm
by Klemen
Maybe a feature for new versions, but I don't think it would be used much. You can delete all tickets quickly by emptying the hesk_tickets and hesk_replies tables in your MySQL database.