Locations of certain parts of the code.

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Uleepera
Posts: 1
Joined: Tue Jul 19, 2005 5:30 am

Locations of certain parts of the code.

Post by Uleepera »

Script URL: http://www.togw.com/hd/
Version of script: 0.93
Version of PHP: 4.3.x
Hosting company: Custom
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: didn't try any... I read through the posts.

Write your message below:

I'm trying to locate certain portions of the code for modifacation, unfortunitly I learned to code rather differently in structure and I'm having some trouble locating the sections I need. I will outline below what I'm looking for in the hopes that someone knows where the sections are.

1. The section at the top of the pages that outlines the urls for the site, for example, Mysite > Mysite support system > Submit a ticket as I would like to remove the links entirly.

2. The section that would call index.php?a=add to submit a ticket as I would like to modify it to check for a user being logged on first.

3. The section listing the users to logon for the admin section. I do not want a dropdown, rather an input text field.

4. The sectiont that handles catagories... I want to add the ability to use sub-catagories.

Any help is greatly appreciated, if it's not to much work involved I will post my findings and guides to modifing the code for any interested parties.

-Marc
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: Locations of certain parts of the code.

Post by Klemen »

Uleepera wrote:1. The section at the top of the pages that outlines the urls for the site, for example, Mysite > Mysite support system > Submit a ticket as I would like to remove the links entirly.
index.php, reply_ticket.php, submit_ticket.php, ticket.php
Uleepera wrote:2. The section that would call index.php?a=add to submit a ticket as I would like to modify it to check for a user being logged on first.
index.php function print_add_ticket(), then submits to submit_ticket.php
Uleepera wrote:3. The section listing the users to logon for the admin section. I do not want a dropdown, rather an input text field.
admin.php function print_login()
Uleepera wrote:4. The sectiont that handles catagories... I want to add the ability to use sub-catagories.
manage_categories.php

Regards
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
hardworker
Posts: 3
Joined: Fri Oct 21, 2005 4:16 pm

Validation form

Post by hardworker »

Where do I go to change the validation form? I added some other fields to the form, and the "message" section is optional. Also, I do not need the "subject" field, but even though I removed it from the form, it keeps telling me "Enter Subject"
zphd24
Posts: 5
Joined: Thu Jan 05, 2006 4:13 pm

Post by zphd24 »

Interesting to see this topic come up today, as I'm in the process of doing the exact same thing.

I've added an "Invoice" column in the dB, and added the appropriate code where I could see, but I'm still getting an error:

Can't execute SQL:
INSERT INTO `hesk_tickets` ( `id`,`trackid`,`name`,`email`, invoice`, `category`,`priority`,`subject`,`message`,`dt`,`ip`,`status` )
VALUES ( '','3Q3DXT55S','Tester McTesty','test@test.com', '933456`, '1','3','Testing Invoice','Invoice testing',NOW(),'xx.xx.xxx.xx','1' )

MySQL said:
Unknown column '933456' in 'field list'

Any suggestions for what I missed?
zphd24
Posts: 5
Joined: Thu Jan 05, 2006 4:13 pm

Post by zphd24 »

zphd24 wrote:Interesting to see this topic come up today, as I'm in the process of doing the exact same thing.

I've added an "Invoice" column in the dB, and added the appropriate code where I could see, but I'm still getting an error:

Can't execute SQL:
INSERT INTO `hesk_tickets` ( `id`,`trackid`,`name`,`email`, invoice`, `category`,`priority`,`subject`,`message`,`dt`,`ip`,`status` )
VALUES ( '','3Q3DXT55S','Tester McTesty','test@test.com', '933456`, '1','3','Testing Invoice','Invoice testing',NOW(),'xx.xx.xxx.xx','1' )

MySQL said:
Unknown column '933456' in 'field list'

Any suggestions for what I missed?
Nevermind, got it sorted out! :)
Post Reply