Home › Forums › Ticket Products › Event Tickets Plus › SECRET NUMBER
- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by GDPR20191125.
-
AuthorPosts
-
January 21, 2018 at 2:09 am #1431714GDPR20191125Participant
Hello!
First of all, thank you for you plug-in.
I need to get some customisation about your plug-in please…
I would like to know if it’s possible to get the secret number a bit shorter (on 5 characters) and with uppercase please ?Thanks
January 22, 2018 at 1:55 pm #1432898AndrasKeymasterHi suika,
Thanks for reaching out!
Unfortunately that cannot be done easily at the moment.
The only way to do it would be changing 6 core files. However with a plugin update your changes would be lost, so this is not recommended.
Cheers,
AndrasJanuary 23, 2018 at 2:52 am #1433304AndrasKeymasterHi again,
I pulled in some extra help for this.
If you use the following snippet, that will change the security code for your RSVPs.
add_action( 'event_tickets_rsvp_attendee_created', 'change_rsvp_security_code' );
function change_rsvp_security_code( $attendee_id ) {
update_post_meta( $attendee_id, '_tribe_rsvp_security_code', 'REPLACEMENTCODE' );
} );You will need to create a function that generates your unique security code and call that instead of having there ‘REPLACEMENTCODE’.
You can use that as a base to change the codes for tickets selling WooCommerce if needed.
Hope this helps.
Cheers,
AndrasFebruary 14, 2018 at 8:36 am #1452973Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘SECRET NUMBER’ is closed to new replies.