I’ve just released the brand, spanking, new Open Source Colour QR Code Generator - my first ever plugin!
This plugin enables you to create QR codes from any text string and also allows you to personalise the QR image, as well as save it back to the database if required!
In order to use the plugin you just need to add the Colour QR Code element to the page and then add your required styling options to the element in the Property Editor. Within this editor you can change the following options:
All of the above (except size / padding) can also be created as a Bubble Style type to created a standard QR colour profile.
Creating the QR code is achieved within the workflow where you need to add a Generate a Colour QR Code action. Within the Property Editor for this workflow action you can set the below options:
Text to be encoded
Whether or not to save the QR image to the database
QR image filename for saving to the db
There is also an event which can be added to the Workflow, which is A Colour QR Code is saved. This is fired whenever the Colour QR Code element has saved a file to the database and has the file set as a state on the element.
Whenever the Generate action is run there will be 3 available states:
QR Image (the image file encoded in Base64, which can be used in an image element to show the QR code, without needing to save it to the db)
Saved Image URL (the full URL for the file saved to the db)
Saved Image Filename (the saved Filename including file extension)
Cheers Mat, glad it helped! I needed colour QR codes for one of my webpages too but couldn’t find anything open source available which is why I created it
Would you be able to let me see the app to try and see what is going on?
I am able to generate a QR within a simple popup, however I am sure that due to the differences in the elements / workflow there is a reason why this isn’t working in your app.
@jeffrey.j.obrien I had a similar experience. My best guess is the QR value is being set with an empty value. This might happen if the QR code is generated but the parameter you pass into it is dynamic and takes a moment to load (ie “Do a search for X”). If you artificially add a pause or make sure that value is set prior to generating the QR code you might have better luck. Here’s what I did (linked) https://share.getcloudapp.com/ApuGbLX1 cc @talkingoldfish in case you can shed any light. Thanks for the plugin!!
Hi Stuart @talkingoldfish
I just installed your plugin Colour QR Code Generator and like it a lot! It was super easy to set up. Thank you for making it available for Bubble apps.
I have a question about the privacy of this plugin. Do you on the plugin side collect the data, meaning the text value to encode in the QR code? Do you keep a copy of the text value?
Hi, How do you make this plugin work with the latest/updated bubble stripe plugin? Its failing to save the QR code and run the secondary workflow as stripe loads the stripe console page which loses the page state on the qr code image. (I think this is the issue anyway)
I dont get a problem when running it using the legacy stripe plugin as it doesnt leave the page and opens the payment console in a popup instead.
Im trying everything here and still stuck. Any ideas?
I’ve been running qr code generator with no issues all these while. But I cant seem to generate any qr code since this morning. Any idea what’s going on with this issues displayed as followed?