Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Registration ID too long | Event Espresso - Staging Server
Hi
I am using the premium version of EE – Version 3.1.25.P
In this version there a way to shorten the long registration ID code that the attendee will receive? How can I get the Reg ID to be a shorter number?
You can create a custom filter (filter_hook_espresso_registration_id) to create a unique id.
Here is an example of what is there now:
//Build the registration id
function espresso_build_registration_id($event_id){
return uniqid($event_id . '-');
}
//Registration id filter
add_filter('filter_hook_espresso_registration_id', 'espresso_build_registration_id', 10, 1);
Thanks for that… I am not too familiar with creating custom filters.
I got your example but what part do I replace? Where would I put that if I want it to start at “100” for example.
Hi Seth
Yes anything shorter than what it currently is. I am back to using the Lite version at the moment but if the premium version allows this I will keep it. How do I create a filter for that?
Thanks
K.
If the registration id is too short, it could cause problems because then it will not be absolutely unique. And also make it easier for hackers to guess the registration ids and possibly steal information about your attendees etc.
If you need to use a shorter number, I would recommend using the attendee id field instead.
Hi Seth
Thanks for getting back to me… So If I use the attendee ID field? is there a shortcode for this that could be used in the confirmation email? I could not find the shortcode for it.
Thanks agian.
K.
Viewing 8 reply threads
The support post ‘Registration ID too long’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.