Support

Home Forums Event Espresso Premium Add Personal-ID to the name badge info

Add Personal-ID to the name badge info

Posted: November 5, 2015 at 2:46 pm

Viewing 5 reply threads


Thomas

November 5, 2015 at 2:46 pm

Hi,

I am using EE v3.1.36.6.P together with the ticketing add-on, allowing for group registrations.

I need to add the personal-id to the name badges. This is the four-digit ID unique for every registered attendee, not the long one (registration-ID) used for group registrations.

Now I read that the short codes are not available for the badges, so can you tell me how we could get this personal-ID on our badges?

Thanks,
Thomas


Tony

  • Support Staff

November 6, 2015 at 4:21 am

Hi Thomas,

The latest version of EE3 is 3.1.37.6 which include fixes to work with the latest WordPress security fixes so I would recommend updating.

The personal-id field mentioned, is that the ID field generated by Event Espresso or a custom field? If it’s the EE attendee ID That should be included within the ticket template by default.

Could you add a screenshot showing what you would like to add and where please?


Thomas

November 6, 2015 at 1:39 pm

Hi Tony,

Thanks, a screenshot is here:
http://solusio.com/AttendeeID_on_badge.gif

Yes, the EE attendee-ID is already shown by default on the ticket, but I need to have it also on the badge, si this possible?

Regarding the update to 3.1.37.6, is this just a vulnerability issue? I am asking because the customer’s website is password protected, so a kind of Intranet site which reduces security issues, I am not really concerned about. If this is a fix regarding a functionality issue, please let me know.

Cheers,
Thomas


Tony

  • Support Staff

November 9, 2015 at 4:10 am

Regarding the update to 3.1.37.6, is this just a vulnerability issue?

Its kind of both.

With the latest version of WordPress (including all backported versions) if a value is longer than the data character limit then the update will fail. Previously WP would truncate the value and insert it into the database.

So for example Ticket Name has a limit of 100 chars, if you go over this then the query fails to update correctly but still creates a row within the database which has values of 0. This causes problems further down the line when you create a new event, EE sees these rows as blank prices and you end up with multiple prices within a new event which then prevent you from creating/updating the event.

3.1.37+ has fixes to prevent this from happening.

Yes, the EE attendee-ID is already shown by default on the ticket, but I need to have it also on the badge, si this possible?

Yers its possible, however that looks like a custom ticket template so it would need to added to that.

If you go to /wp-content/uploads/espresso/tickets/ do you have a templates directory there with a custom template?


Thomas

November 9, 2015 at 7:05 am

Thanks for asking Tony,

I copied the templates located in wp-content/espresso-ticketing/templates
to
wp-content/uploads/espresso/tickets/templates

But when editing tickets/badges under WP-plugins, I still see under “Edit Plugins”: Editing espresso-ticketing/espresso-ticketing.php (active)

So, when editing my ticket template using the “badge-sm” template, the file badge-sm.php within
/wp-content/plugins/espresso-ticketing/templates
gets modified, but I expected my custom template under
wp-content/uploads/espresso/tickets/templates
should get modified…?

In any case, I managed to add the att-ID to the badge by adding the shortcode to the badge-sm template file and uploaded it via my FTP-client to the site.

Is there a way to edit the custom templates under “uploads” via the WP-plugins editor? Or do I have to do this always manually aside?

Regarding the update I will consider your feedback.

Thanks, Thomas


Tony

  • Support Staff

November 9, 2015 at 8:30 am

Is there a way to edit the custom templates under “uploads” via the WP-plugins editor? Or do I have to do this always manually aside?

Not currently.

The WP Plugins editor does not take the custom templates into consideration so you need to manually edit the files and upload them via FTP.

I’m glad you get this working, please let us know if you have any further questions.

Viewing 5 reply threads

The support post ‘Add Personal-ID to the name badge info’ 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.

Event Espresso