PDA

View Full Version : None login raising Tickets


b_avery@yahoo.com
08-07-04, 09:44 PM
I've searched through the Forum and can't find the answer to this question so forgive me it has been mentioned before.

I would like to setup a page just for anyone to log a ticket on the ticket system, is it possible to have a single web page that you enter all the basic information and then anyone can submit a ticket?

mytto
09-07-04, 01:15 AM
I would create an account like 'anonymous' with only access to Ticket module, and try to auto-log-in with a hidden form filled with the account password.

Aluion
09-07-04, 09:44 AM
You can do this by inserting the value for a support ticket directly into the dotproject database. I have a script here (http://catnet.port5.com/script.zip) which does this that I had used on my site before.

If you want to use it, just upload everything to a directory and change global.inc to the values you've set in include/config.php. Make sure you restrict access to global.inc (CHMOD 640) so people can not download it and read your database password. You may also want to edit ticket.php and change the message that the user recieves after a ticket has been logged, and perhaps put a link back to your main site.

This was made when I wasn't very fluent in PHP, and is a concept work at best. I hacked out this using a much more complex script as the basis.

I tried to clean it up and give it something resembling a user interface, but you will probably want to customise it more. It should work for most, if not all, versions of dotproject without much modification.