Support

Home Forums Event Espresso Premium printable ticket custom QR code

printable ticket custom QR code

Posted: September 17, 2019 at 7:26 pm

Viewing 14 reply threads


SiXProduction1600E

September 17, 2019 at 7:26 pm

hello – I have been trying to add a custom QR code to printable tickets in order that attendees can network using a QR code scanning app that reads vCard information from QR codes – I can add the code (which generates fine) and have specified the ‘BEGIN:VCARD:’ lines within the html message but I cannot produce a QR that will scan. Pasted below:
QR Code

Is there anything obvious I’m doing wrong?


SiXProduction1600E

September 17, 2019 at 7:26 pm

`<img src=http://chart.apis.google.com/chart?cht=qr&chs=200×200&chl=BEGIN:VCARD;VERSION:3.0;N:[RECIPIENT_LNAME];[RECIPIENT_FNAME];FN:Displayname;EMAIL:[RECIPIENT_EMAIL];END:VCARD&chld=H|0 alt=”QR Code” />


Tony

  • Support Staff

September 18, 2019 at 2:10 am

Hi there,

That QR code scans for me.

When you say it won’t scan do you mean the reader you are using can’t read it at all or the details are invalid?


SiXProduction1600E

September 18, 2019 at 4:03 am

Hi – yes the code will scan, but I can’t read the vcard information from it – i.e. the first and last name and email address that was added by the registering attendee – it seems the code to create a QR code is intact but the references to include the name and email address I’ve specified wrongly – unless you’re able to read the code and see these details?


Tony

  • Support Staff

September 18, 2019 at 4:51 am

Ok, so that’s a different issue to a QR code that will not scan.

unless you’re able to read the code and see these details?

The shortcodes used to output those details won’t parse here, so it’s expected that they show only the shortcodes and not the details for the links you’ve provided.

Where are you placing the above links?


SiXProduction1600E

September 18, 2019 at 5:04 am

I’ve pasted the line above into a custom message html (text view) – alongside the usual name, event logo short codes etc – the QR code itself renders fine but clearly isn’t creating a QR code that contains the entered personal details


Tony

  • Support Staff

September 18, 2019 at 5:25 am

So you’re editing it to the ticket template directly, correct?

Can you post a link to the front end ticket so I can take a look?
(You can set your reply to private if preferred)

I added your example to our demo site to check it worked as expected there and it does load the details:

https://demoee.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=ticketing&context=registrant&token=1-ff39f2f3888fd8d237f1e7cfb48dd6dc&GRP_ID=1&id=0

I don’t think the format of the vcard is correct as it doesn’t work as a vcard as is but the details for those EE shortcodes are loading.


Tony

  • Support Staff

September 18, 2019 at 5:46 am

A quick google search on creating a working google charts VCARD found this:

http://russell.heilling.net/coding/qrcodes/

Matching that format makes your URL look like this:

<img src=http://chart.apis.google.com/chart?cht=qr&chs=200x200&chl=BEGIN:VCARD%0d%0aVERSION:3.0%0d%0aN:[RECIPIENT_LNAME];[RECIPIENT_FNAME]%0d%0aFN:[RECIPIENT_FNAME]%20[RECIPIENT_LNAME]%0d%0aEMAIL:[RECIPIENT_EMAIL]%0d%0aEND:VCARD

Which works as a vcard for me.

Its basically a URL encoded CRLF between each value:

BEGIN:VCARD
%0d%0a
VERSION:3.0
%0d%0a
N:[RECIPIENT_LNAME];[RECIPIENT_FNAME]
%0d%0a
FN:[RECIPIENT_FNAME]%20[RECIPIENT_LNAME]
%0d%0a
EMAIL:[RECIPIENT_EMAIL]
%0d%0a
END:VCARD

Create a single string with all of the above and set that as the value on &chl=

You can add additional values if you follow the above format.

—-

Note the above is separate from your shortcodes not parsing if that’s what is happening so I’ll still need a link to the output to see what is happening.


SiXProduction1600E

September 20, 2019 at 5:21 pm

Many thanks Tony – the code above has fixed the problem I was having. I realise my basic html skils aten’t quite up to it. As such, I’m struggling with the other layout problems I need from my custom message – can Event Espresso create a new custom message for me as a quoted/bespoke job? If so, how do I go about enquiring/speccing this?
thanks again


Josh

  • Support Staff

September 23, 2019 at 7:27 am

Hi,

Event Espresso staff is not available for custom work, but we can recommend contacting codeable.io. They can give you a quote for the customizations you specify.


SiXProduction1600E

September 26, 2019 at 2:10 am

Thanks – they want $760 for one page of html
not great value…


SiXProduction1600E

September 26, 2019 at 2:11 am

I’m guessing that someone else must have created this kind of thing before – is there not a shared library of custom ticket message templates?


Tony

  • Support Staff

September 26, 2019 at 3:02 am

So far users have not shared their custom templates, or at least I’ve not seen any wanting to share them.

So no, there is not a shared library of custom ticket templates.

What is it that you are trying to do with the template?


SiXProduction1600E

September 26, 2019 at 11:10 am

I would like to make some style edits (use different fonts) and create a layout that would allow registrants to fold the sheet up to fit inside a clear plastic sleeve to use as a quick self-seve Name Badge at the event – I have moved the key name badge elements into one area of the ticket sheet but would also like to add dashed lines around the area to fold and match the design of the badge more closely to my brand.
Elsewhere in the support forum I have found the following link – I have tried placing these files in the relevant folders on my server but I haven’t been able to take advantage of the name badge template
https://github.com/joshfeck/eemtp-name-badge-template-pack


Tony

  • Support Staff

September 26, 2019 at 3:49 pm

Elsewhere in the support forum I have found the following link – I have tried placing these files in the relevant folders on my server

Where exactly did you place the files?

The reason I ask is what you linked to, is a plugin, meaning you add it as a plugin and activate it for it to show a name badge template in the ticket template.

So you’d have something like this – https://monosnap.com/file/gDCJUJ36sRyPBQAtiYvh4GAGQDW4SD

Then in the ticket template, you can select it – https://monosnap.com/file/rOuAS1e2uSGw0npttQkCASLBYHj2cu

Important note if you switch templates, the current template you are editing will be LOST. Click the ‘Create Custom’ button to create a custom version of the template, then select the badge template on that so you can experiment on that.

I’m pretty sure that template is not what you are looking for though, it’s a starting point for a badge with no other details, it looks like this – https://monosnap.com/file/9xzj6ZLRgL1EdIIAAFseaB0CnuglHx

Its not a polished template but was created as a pointer into how to create template packs and custom templates.

With regards to you placing files within directories, if your editing/adding files to the Event Espresso plugin directory (or any plugin) then you heading for a rough ride.

When you update a plugin within WordPress it doesn’t actually ‘update’ anything, it removes the current version of the plugin, downloads the latest zip and extracts it in its place. So updates are essentially updates by replacement, not incremental, which means any changes you make will be completely lost each and every time you update.

So you’re much better off using the hooks available within EE to add content than editing any files. The plugin linked above can be edited as its not an add-on, it’s a starter.

Viewing 14 reply threads

The support post ‘printable ticket custom QR code’ 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