Barcode problem

  • DuckieTM
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #144283 by DuckieTM
Barcode problem was created by DuckieTM
Hallo all,

I use to have the barcode enabled in an PDF when registering (version 3.12), i have now updated to the latest version but can't get it to work:

CALL TO UNDEFINED METHOD EVENTBOOKINGHELPERREGISTRATION::COUNTAWAITINGPAYMENTREGISTRATIONS()

i have changed the files (found in an post) : currencies.php and registration.php in order to get an normal barcode, not QR as our barcode scanners can't handle this
How do i get normal barcodes working again in this version.

 

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

More
3 years 10 months ago #144284 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Barcode problem
Hello

You should update your site to latest version of the extension and check to see if the issue still happens. If it happens, submit a support ticket so that we can check it further for you

The method you mentioned is available in latest version of the extension. If the old version you are using the method is not available, not sure why it is used in the code. Maybe you made some kind of customization there?

Tuan

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

  • DuckieTM
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago - 3 years 10 months ago #144288 by DuckieTM
Replied by DuckieTM on topic Barcode problem
Yes i made some modify there as normal barcode isn't any option in eventbooking only QR code's.
I don't know why .....
 
Last edit: 3 years 10 months ago by DuckieTM.

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

More
3 years 10 months ago #144289 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Barcode problem
Hello

Without seeing your customization code, I don't know what's wrong. Maybe you can get the countAwaitingPaymentRegistrations from latest version and copy it to the file registration.php on your site?

Attached is the file components/com_eventbooking/helper/registration.php from latest version

Regards,

Tuan
Attachments:

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

  • DuckieTM
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago - 3 years 10 months ago #144290 by DuckieTM
Replied by DuckieTM on topic Barcode problem
I removed the old one, installed the latest and the i get :

 

So it wont insert any barcode into the PDF
Last edit: 3 years 10 months ago by DuckieTM.

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

More
3 years 10 months ago #144291 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Barcode problem
Sure. Because the extension does not support [BARCODE] tag. The tag somehow, added by yourself, so you need to add custom code to handle it

Tuan

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

  • DuckieTM
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #144292 by DuckieTM
Replied by DuckieTM on topic Barcode problem
Oke what is the code for a normal barcode not QRCode ?

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

More
3 years 10 months ago #144293 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Barcode problem
Sorry, we do not have code support [BARCODE], so you will need to write the code yourself. We do not have any code in the extension which support [BARCODE], so we could not guide you

Tuan

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

  • DuckieTM
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #144294 by DuckieTM
Replied by DuckieTM on topic Barcode problem
oke in the : components\com_eventbooking\tcpdf you do provide the code for barcodes.
Also a while ago this was supported.....

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

More
3 years 10 months ago #144295 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Barcode problem
We never support barcode in the extension. We only support QRCODE. So if there is something with barcode, that's because you wrote the code yourself

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

Moderators: Tuan Pham Ngoc