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 EE3 Show 'you are registered to this event' info on the event list | Event Espresso - Staging Server
Hi,
Like in the subject. I’m using EE3 with custom temlates and I would like to add the ‘you have already registered/paid for this event’ info/badge to my event listing.
Say that user has account and is logged in. The only thing I can see after going through registration/payment/confirmation of that is that the limit of attendants changed, but the info like “YOU’RE ON” would be extremely helpful for users,especially if having a lot of events with similar names
Officially Event Espresso does not include that feature within core, although @Dean created a function to display a message similar to this which is available within this thread:
Yes, it seams (by looking at code there, so it will fit the need.
Perhaps it would be good to make it a function, instead and place such microfeatures in separate functions file in the custom templates folder…
I’m fairly new to EE coding, so perhaps someone introduced that idea earlier ;)
Point is that php+html coding mixture is always somewhat unreadable or potentially explosive. I myself prefer melt html tags into php and spit things out by echoes or flush at the script end, instead other way around, like it’s common in wp and related templates. De gustibus ;)
….
ok, copied that script and proved working. well done guys! :) cheers
Thanks for help, will come back for more, soon.
Viewing 2 reply threads
The support post ‘EE3 Show 'you are registered to this event' info on the event list’ 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.