Take guest emails

Post

Posted
Rating:
#5531 (In Topic #1287)
Joe
Avatar
Standard member
Joe is in the usergroup ‘Honoured member’

Ticket system

I'm trying to locate the setting to require guest emails during ticket creation. I remember seeing it, but searching the Adminzone didn't yield any results.

Right now it's marked as "optional" on the ticket page but if they're a guest, it would be silly not to take their email – otherwise I have no way to contact them!
Online now: No Back to the top

Post

Posted
Rating:
#5532
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Look on the edit ticket type form, of each ticket type.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#5536
Joe
Avatar
Standard member
Joe is in the usergroup ‘Honoured member’

Chris Graham said

Look on the edit ticket type form, of each ticket type.

Got it. But, I think there may be a bug somewhere. Though all my ticket types require guest emails, it always shows (optional) on the support ticket screen. Looking at the code in COMMENTS_POSTING_FORM, {EMAIL_OPTIONAL} always returns 1 regardless of the "Guest e-mail addresses mandatory" setting.

The actual functionality of REQUIRING the guests email address works - I get an error after submission if I don't supply an email address. It's just that the ticket screen is showing it as optional so there's something up with {EMAIL_OPTIONAL}.
Online now: No Back to the top

Post

Posted
Rating:
#5540
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Right, you did find a bug.
Make the change to tickets.php as shown in this commit:
https://github.com/ocproducts/composr/commit/d0bee2500e2f7fd53584452dcfeecdb07b7cd5fa

I changed the text for the option in the admin UI, too, but ignore that change (I actually further tweaked it in my next commit based on what I confirmed you discovered).

In the ideal world the UI text would update as the ticket type selection is changed, but that'd require too much work at this point.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Back to Top