Take guest emails
Posted
#5531
(In Topic #1287)

Standard 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!
Posted

Site director

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
- 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.
Posted

Standard member

Chris Graham said
Look on the edit ticket type form, of each ticket type.
From “Post #5,532”, 5th February 2019, 9:55 pm
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}.
Posted

Site director

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
- 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.
1 guest and 0 members have just viewed this.