Please post all pre-sales questions of all products on this forum

barcode reader

  • Richard Southern
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #124608 by Richard Southern
barcode reader was created by Richard Southern
Hi,

We are writing our own barcode reader and have a coupple of questions regarding updating the database - northophall.perryworld.co.uk/webcodecamjs-master

We have written the code to capture the QR code and can dentify the attendee
What we want next is to update the database to register the client has checked in - which table and what fields do we need to update to capture this

Any help wold really be appreciated

Many Thanks
Rich

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #124609 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic barcode reader
Hi Rich

Try to look at components/com_eventbooking/controller/scan.php, method eb_qrcode_checkin to see how we handle it

Tuan

Please Log in or Create an account to join the conversation.

  • Richard Southern
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #124610 by Richard Southern
Replied by Richard Southern on topic barcode reader
Hi Tuan,

In the code it mentions iCody - is this now available as a while back they had stopped developing it

Thanks
Rich

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #124611 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic barcode reader
Hi Rich

No, that code is related to a different mobile app which is used to checkin registrants eventbookingdoc.joomservices.com/advance...using-eb-checkin-app

The logic is the same. It gets the registration code from the qr code, then find the registration record and perform checking in

Please try to read it and hopefully, you will be able to handle what you want

Tuan

Please Log in or Create an account to join the conversation.

  • Richard Southern
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #124612 by Richard Southern
Replied by Richard Southern on topic barcode reader
Thanks again,

I think I understand it - all we need to update are the following when an attendee checks in

Checked_in, Checked_in_at and Checked_in_count
Is that correct?

Cheers
Rich

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #124613 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic barcode reader
Hi Rich

Yes, that's correct

Tuan

Please Log in or Create an account to join the conversation.

  • Richard Southern
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #124647 by Richard Southern
Replied by Richard Southern on topic barcode reader
Hi Tuan,
Sorry for all the questions
Is it possible within Event Booking to generate the QRcode to also include a URL for example
northophall.perryworld.co.uk/scanning?code=registrationcode
This would allow us to scan the barcode and send it to our webpage where we can update the attendee as checked in

Hope that makes sense

Cheers
Rich

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #124651 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic barcode reader
Hi Rich

If you need that specific URL, you need to customize the code yourself. Or why not using this built-in feature eventbookingdoc.joomservices.com/advance...ng-qrcode-reader-app ?

Tuan

Please Log in or Create an account to join the conversation.

  • Richard Southern
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 11 months ago #124660 by Richard Southern
Replied by Richard Southern on topic barcode reader
Hi Tuan,

We just need to add a specific URL to the QR Code
Could you possibly point us in the right direction on where we would edit the code to achieve this

Thanks
Rich

Please Log in or Create an account to join the conversation.

More
5 years 11 months ago #124662 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic barcode reader
Hi Rich

Look at the file components/com_eventbooking/helper/registration.php, find the method processQRCODE and customize it to meet your need

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham NgocGiang Dinh TruongMr. Dam