Remove Priority and Replace with Company Name

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
SteelGoddess
Posts: 2
Joined: Sun Mar 30, 2008 3:17 am

Remove Priority and Replace with Company Name

Post by SteelGoddess »

Script URL:
Version of script:
Hosting company: hostmonster.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
everyone :-)
Write your message below:

Is there a way to remove the priority field and replace it with a company name field instead?

Also is there a way to have the emails that are sent which are noreply sent from noreply@domain.com?

Thanks a bunch. This really is a nice script. Best one I have tried so far.
It works! Only downfall is its not a joomla mod. It would have been absolutely perfect if it recognized the log in of users. But its still wonderful and definitely worthy of a few beers :-)
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You'd have to do a bunch of editing to remove any fields, but you can easily add new fields (like Company name), just login into admin as an administrator and you can enable custom fields on the "Settings" page (and click the [?] sign for help with settings).

Similarly you can set the "no reply" e-mail on the same page.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
SteelGoddess
Posts: 2
Joined: Sun Mar 30, 2008 3:17 am

Post by SteelGoddess »

I did all the easy stuff...It was easy :-).

Even though I had set noreply@domain.com as the mail, when it sends mail, the email does not say that as the from. Its a variation of my server and domain. I was just wondering if there was a way beyond listing it in the program, to make it send that way.

I did add the fields...Is it possible to move them around? If I add company name as a field, logically I would want it near the name... I can leave priority there..I just want the name and company lines one after the other...

Thanks,
Alicia
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You can try adding this code to all the files that send e-mails (submit_ticket.php, reply_ticket.php, admin_reply_ticket.php). Just add this code just below define('IN_SCRIPT',1);:

Code: Select all

 ini_set('sendmail_from', 'you@address.com');
If that doesn't work then your host is forcing "From:" address to be server default one.

As for custom fields, on the Settings page you can choose to have them displayed before or after the "Message:" field. That's about all the choice you have at the moment unless you can modify the HTML code in index.php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply