Generator

 

Include script:  } Function to generate 3 sizes of QR Code  }

Scanner

 

 

Include script: OpenForum.includeScript("/OpenForum/AddOn/QRCode/Scanner/qr-code-scanner.js"); Create required variables: var qrCodeScanner; var qrcode = { data: "", timeStamp: "", error: true }; Create the scanner and add a listener: OpenForum.init = function() { qrCodeScanner = new QRCodeScanner(); qrCodeScanner.addListener( function( newQR ) { qrcode = newQR; } ); };