I would like to use "Support" as a normal contact us form, therefore, user don't have to register to submit "support". I previously did this with "inline registration" module, still it's troublesome where user is required to fill up username. Now, giving anonymous user permission to create "support",
I was thinking of using cck fields for "support-ticket". But I need to get user's default values (incase they already login) from Profiles/content profile. There's CCK hook_default_value http://drupal.org/node/371502 but not really helpful.
On the default value "PHP code" it stated To figure out the expected format, you can use the devel load tab provided by devel module on a support_ticket content page. but not so sure ..
thank you ..
| Comment | File | Size | Author |
|---|---|---|---|
| #31 | support-anonymtickets-3.patch | 8.68 KB | fuzzy76 |
| #28 | anontickets-557012.patch | 9.53 KB | fuzzy76 |
| #16 | support_anonymous2.patch | 9.03 KB | matt v. |
| #12 | support_anonymous.patch | 9.07 KB | matt v. |
| #11 | support_anonymous_01.zip | 1.93 KB | dmitrii |
Comments
Comment #1
matt v. commentedI found this issue when searching for the same functionality for a site I work on. We would like for anonymous users to be able to submit support tickets, in case they run into an issue in signing up for an account.
One issue that could be problematic using CCK to add additional fields would be the emails the the Support module sends because it's currently using the email address stored in a user's profile. You may be able to override the email functionality using hook_mail_alter though. However, if you're going to go to the trouble of writing some custom code, it seems to make more sense to write a patch that adds the desired functionality to the Support module.
Comment #2
najibx commentedComment #3
jeremy commentedAt this point anonymous tickets are not supported. The main problem is indeed the email notification issue. Patches are very welcome to solve this.
Comment #4
ceege111 commentedI would like this also. Willing put it out on elance - anyone want to contribute $ to the effort?
Comment #5
dmitrii commentedI have written a small module that allows you to create anonymous tickets. Source code is included.
In a nutshell, what makes this module:
PS: Discuss possible on my site. The site is in Russian, but there is installed Google Translate :)
Comment #6
OnkelTem commentedI expect anonymous support would behave like this:
1) Anonymous user creates a ticket and gets a special link to it with complex ID, which the user may use later to open the ticket again.
2) Anonymous is not even required to enter own email, but if he does this, notifications via mail should works.
3) Anonymous is not even forced to write down the ID - it could be saved in SESSION and restored once user visits website again.
Any ideas how this could be implemented?
Comment #7
BenK commentedSubscribing...
Comment #8
lelizondo commentedI've created a tutorial on how to do integration with 'webform' and 'support'. Anonymous users can submit a webform and the result will be saved as a support ticket. Also, a new user will be created for the anonymous user and he/she will be notified automatically when the ticket is updated since the new user and the support ticket author is the same.
http://drupal.org/node/801250
Please test and help me improve it, is not perfect.
Comment #9
charshman commentedSubscribing... we'd also greatly benefit from anonymous ticket submission.
Comment #10
puzz1ed1 commenteddmitrii module works well, but how does the user receive a response, as it does not appear to collect an email address
Comment #11
dmitrii commentedHello Steve
Thank you for testing my module.
You should add CCK fields into content type Support ticket (/admin/content/node-type/support-ticket/fields):
- Company (field_support_ticket_user)
- E-Mail (field_support_ticket_email)
- any other you whant
Workflow:
- anonimous users add supports tickets
- ticket administrator create new user for ticket author using data from additional cck fields and change ticket "Authored by" field to this user
PS: new version (with minor changes) of the module is in attached file
Comment #12
matt v. commentedI wanted to try making a patch to allow anonymous ticket submissions without having to use CCK. This is a different approach than the one taken in dmitrii's module above.
I'm attaching a patch for the dev version of Support. I've only done initial testing, but it seems to be working, so far. I'd be interested in feedback from anyone who might test it.
The attached patch also includes the patch I wrote for #934266: Global "Auto-assign new tickets to" field not auto-completing. If needed, I can separate it out later.
Comment #13
3rdLOF commentedI tried to apply this patch, but it reports not finding a file to patch.
Comment #14
3rdLOF commentedNever mind. Did not see the reference to the DEV version. My bad.
Comment #15
3rdLOF commentedActually, it won't patch with the DEV version neither.
Comment #16
matt v. commentedkannary,
Sorry for the confusion. I used git to generate the patch and didn't take a close enough look at what it created. Please try this updated patch. To double check, I just tested that it applies to the current DRUPAL-6--1 (6.x-1.x-dev) version of the module.
And thanks for testing. I'm eager to hear your feedback.
Comment #17
3rdLOF commentedThanks, I sort of figure out that was the problem.
Actually I simply applied the patch manually, which worked out excellent. Great job and thanks for both the reply and the effort.
Comment #18
heorhi lazarevich commentedAnother way to allow anonymous users to submit support tickets is to use the Inline Registration module http://drupal.org/project/inline_registration. It works for me.
Comment #20
matt v. commented@webremake, the Inline Registration module may work for some use cases, but not necessarily all. In our case, we want users to be able to submit tickets, even if they're unable to register or login for some reason. Plus, we want to minimize the amount of information the user has to provide (ie, simplify the form).
I think the patch adds useful functionality, so I'm reopening the issue.
Comment #21
schildi commented@Matt V.
I applied your patch for anonymous users and recognized that
When trying to delete the new user I get the error message that the email address is empty
When fetching emails it announces that 1 message was downloaded. But the according ticked queue stays empty
Since I am completely new to the module:
Please tell me if I handled the settings in the wrong way or if these effects are bugs.
Comment #22
kripkorn commentedit work for me, thankz for the patch, even you have to do manually.
Comment #23
Luki_be commentedIs it still the patch from 16 that's needed to have anonymous tickets possible?
Comment #24
dqddunno, as far as I can see in v7 its already supported ...
Comment #25
Luki_be commentedI need v6 :-)
Comment #26
tiborg commentedthis is work with drupal 7 version? thank you
Comment #27
fuzzy76 commentedIt's actually sad that a support system won't be able to do tickets about login problems because it requires the user to log in. Unless you use mail collection, which allow other problems (user sends from another mail address than the one registered).
However, I just applied this patch manually to 6.x-1.8, and it looks to be working so far. I'll test it some more, and re-roll it against dev when I'm confident it's ok.
Comment #28
fuzzy76 commentedAttached patch rerolled against 6.x-1.x-dev
Comment #29
fuzzy76 commentedWe are running the patch above (well, actually a D7 port of it) in production. The only problem we have encountered so far is that there is no validation of the mail field.
Comment #30
vramiguez commentedHi Fuzzy76, I'm trying to apply the patch in D7 but the code is different. The changes that need to be applied in the support.module don't match with the file. Could you please confirm how you implemented the patch in D7? Thanks!
Comment #31
fuzzy76 commentedAttached is the patch we are using. It's half a year old, and I don't even remember who on my team did it, so it comes completely without warranties. :)
Comment #32
vramiguez commentedfuzzy76, thanks for your quick reply!!!
That patch is related with D7, although it didn't work for me :( ... Will continue looking.. Thanks!!
Comment #33
purencool commented