A visitor can get a QR code for sharing with people who are interested, in a flyer

Created on 19 September 2023, 9 months ago
Updated 1 December 2023, 7 months ago

Problem/Motivation

Recently members of a grassroots group switching to Drutopia used a scam "qr-code-generator.com" by "Denso Wave Corp" AVOID AVOID AVOID to create a QR code for a volunteer signup form (not yet on Drutopia) and unbeknownst to the volunteer the link actually redirected through this predatory service, which one month later demanded $10 a month for the link to keep working, after the QR code was placed on numerous fliers.

Drutopia should make it so easy to produce a simple, valid, direct QR code that falling into such outrageous scams will not happen.

Proposed resolution

When visiting any page on a Drutopia site, a person sees a link to "Share with QR code" which opens a printer-friendly, mini poster style page with a prominent QR code. This could be printed directly as a mini flyer, shown to someone else from one mobile phone to follow on another mobile phone, or simply scavanged for parts (downloading the QR code to add to a custom-made poster, copying the printed URL to send to a group chat, etc).

Remaining tasks

Choose a QR code module:

- (uses chillerlan/php-qrcode)
- https://www.drupal.org/project/endroid_qr_code β†’

Or pick a QR code PHP library to use directly:

https://packagist.org/?query=QR%20code

User interface changes

API changes

None.

Data model changes

None unless we go for dynamic QR codes but probably even if we use a module with that capability we would not be using that style here.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mlncn
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA
  • πŸ‡ΊπŸ‡ΈUnited States mlncn Minneapolis, MN, USA

    This should go in its own feature module.

  • πŸ‡ΊπŸ‡ΈUnited States MegaKeegMan

    Going the route of Endroid QR code module. This module allows you to display link fields as a QR code. This is great, but in order to display the link to the currently viewed node page, you must enter the current nodes URL into a link field, which is awkward. To get around this, I have built the short alias module. This module allows you to automatically generate short aliases for your entites (which are actually redirects under the hood), and then display them. The plan is to create a sub-module for this that integrates Endroid QR codes link field formatter, so that these short alias links can be displayed as a QR code, or as a URL and a QR code.

Production build 0.69.0 2024