Jump to content

Recommended Posts

  • Management
Posted

(TB) QR Code Share Service


This application adds a QR Code to the share button for items and the individual share popup for individual posts/comments/reviews.

 

Features

  • 2 free APIs supported: Invision Community & QuickChart.
  • Options to change the following settings for all APIs: size, margin, error correction level.
    • The QuickChart API supports 3 additional settings: foreground and background color, image format.

 

Notes

  • Test colored QR Codes if you use the QuickChart API. Depending on the chosen colors' contrast the QR code might not work!
  • If you'd like to see more free (or paid) APIs supported let me know.

 

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

  • 1 year later...
  • 2 months later...
  • Management
Posted

Google is finally retiring the QR Code API for good, and they don't have a new alternative. If they have one, I haven't found it, so let me know. For now, they are putting the service offline randomly to signal to people the service is going down.

 

If your pages keep loading and they have share buttons/links, the culprits might be QR code URLs from Google. To fix the issue, switch your API in ACP from Google to QuickChart. I just did the same for this site because I noticed the problem.

 

I'll release a new version soon to remove the Google option. If anyone wants to suggest alternative free APIs as replacements, I'm open to ideas.

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

  • 8 months later...
Posted (edited)
On 1/14/2024 at 5:17 PM, terabyte said:

Google is finally retiring the QR Code API for good, and they don't have a new alternative. If they have one, I haven't found it, so let me know. For now, they are putting the service offline randomly to signal to people the service is going down.

Now I know why the image always broken. 

Also, the QR Code from sharing setting wasn't loading at all. I had to remove and reinstall the app. I noticed that QR Code option wasn't removed from the sharing setting, and now after reinstalling it I have two QR Code at the sharing setting. I removed it from the database table.

Edited by Afrodude
  • Management
Posted

I'll look into that. It seems the uninstall code is not removing the entry properly. 🤔

 

Also, IPS added a new library to generate the QR code, so I'll switch the application to use that.

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

  • Management
Posted

Application updated to version 1.0.2:

  • Replaced the deprecated Google API with the new built-in Invision Community solution.
  • Fixed uninstallation process not deleting the QR Code share service.
Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

Posted
9 minutes ago, terabyte said:
  • Replaced the deprecated Google API with the new built-in Invision Community solution.

To use built-in Invision Community solution, you must have 4.7.16 as minimum or 4.7.17 I guess.

  • Management
Posted
1 hour ago, Afrodude said:

To use built-in Invision Community solution, you must have 4.7.16 as minimum or 4.7.17 I guess.

 

The new built-in option is available from 4.7.16+. 👍

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

Posted

version 1.0.2 now shows errors on support page

 

Screenshot2024-09-17at17-12-17GetSupport.thumb.png.6f8f3380cbb55c397b37277a341d8eac.png

  • Management
Posted

Oh, I see the problem. The error is showing because 4.7 doesn't support use statements. Since I've been testing v5, I've started using shortcuts in my latest code:

public static function modifyForm( Form &$form, $service )

The framework's default function instead uses:

public static function modifyForm( \IPS\Helpers\Form &$form, $service )

 

@BrianCorrell You can ignore that warning, as it's not really an error but a detection issue caused by a bug in the tool.

As soon as my server is fixed I'll release a new version to address the warning. The application will work without problems, though. 👍

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

  • 3 weeks later...
Posted

This is brilliant!

Very handy for mobile and tablet users, as they can save time by screenshotting the QR code and then pull the page up, ETC. I did encounter one thing, but I changed the QR service. Mine I have "Invision Power" selected by default, it didn't work , soI switched to QuickChart.

Everything is fine, works as intended with that.

Posted

@terabyte: I think there needs to be a rethink about how the QR code is incorporated into IP.Pages, potentially other areas. I noticed it shows the QR code which creates a lot of space beneath the share icons and the comment area. I disabled the app, because I don't think it looks good - especially on mobiles. It looks out of place, it would look better as a popup or something, rather than being displayed directly on the page.

  • Management
Posted

When I initially tested it with Pages, it worked like topics and other areas, at least on a default template. Maybe they changed something. I'll try to have a look. It also depends on how the database templates have been customized. 🤔

Board Rules - Available Products - Need a Custom Work?

 

< Don't PM me for support, post in the forum or submit a ticket from the client area instead! >

Posted
On 10/12/2024 at 4:06 PM, terabyte said:

When I initially tested it with Pages, it worked like topics and other areas, at least on a default template. Maybe they changed something. I'll try to have a look. It also depends on how the database templates have been customized. 🤔

It could be my template; I have had changes to it over the years.

Thanks, Terabyte.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.