-
MillaN
KeymasterVersion 4.1 is now available with few fixes.
-
MillaN
KeymasterOK, I have found the problem and solution for now. I will fix it in the next version.
But, you can use plugin normally, just use the layout with ID 2, instead of 1. Default Layout has one error, that will be resolved soon, but creating new, layout with all default settings, resolves this. I added new layout with ID 2 on your website, and changed the shortcode in the ytest page to use layout ‘2’, and it works:
https://prxdev.firmakataloog24.ee/ytest/
If you change layout value in the example PHP code (last argument, from 1 to 2) to:
[scode lang=”php”]echo sqr_qrcode(‘geo’,
array(
‘latitude’ => 48.840334, ‘longitude’ => 2.345172),
2);[/scode]It will work.
Milan
-
This reply was modified 3 years ago by
MillaN.
-
This reply was modified 3 years ago by
-
MillaN
KeymasterHello,
I have tested this, and the exact code you provided works without any issues, and I get the QR code, and there are no errors in the console related to the QR Code library Kjua. Have you also tried a shortcode or widget to see if that works? Which browser you tested with? Do you have other JavaScript errors in the console?
Milan
-
MillaN
KeymasterSmart Timer and Counter is a jQuery plugin (as it is clearly stated on CodeCanyon, and WordPress is never mentioned). This is not a WordPress plugin and it can’t be installed in WordPress directly.
Depending how you want to use it, and where, you need to modify your theme (or a plugin where you want it), to load jQuery files, prepare HTML and JavaScript code to run it. Basically, all the examples in the plugin are for use it in the HTML project, what to load, how to init the code, and you need to take all that and custom code into theme or plugin to work.
I can’t really help with this integration, that is out of scope for the support of the jQuery item. If you are not sure how to integrate into WordPress, you need to hire a developer that can do that for you.
Milan
-
MillaN
KeymasterI don’t know what you mean by this, can you explain better?
-
MillaN
KeymasterHello,
Each sidebar has Rules for display purposes. In the plugin settings panel, Sidebars tab, where all sidebars are listed, each one has Rules column, and you can edit the rules, and you can use that to enable sidebar on some pages only.
Milan
-
MillaN
KeymasterHello,
I have tested various online services that generate vCard codes, and with iPhone, I have seen the same issue (one of the websites I tested is qrcode-monkey.com). Not only that, but the vCard inside the QR Code has same character encoding as my plugin generates, and the exactly the same characters for non-english letters. I do plan to investigate more and I will be tweaking things in the future, but there are limits to what I can do here.
From what I have seen in the forums related to iPhone and iOS, a lot of users are having the same issues, and that has been going on back for at least 7-8 years, and there is no universal way to support vCard on iPhone properly. Android is better in that regards, but even Android can have quirks. All this is beyond my control! My plugin can encode the data to QR Code, that’s it – it can’t do anything else.
I have added article to this website with QR Code limitations and recommendation:
https://support.smartplugins.info/kb/article/best-practices-in-setting-up-qr-code/Best regards,
Milan -
MillaN
KeymasterHello,
Again, the bugs you reported with these screenshots here are not related to my plugin in any way:
1. iPhone has trouble with the vCard’s that have non english characters, and there is nothing I can do to change that. No matter how the vCard is encoded, iPhone will have trouble reading it.
2. vCard and vCard 4 use different encoding methods for characters, and some things might work better, but that again is not related to my plugin, it is how the apps that read vCard are handling it.
3. I have told you about the email in previous replies, and for as long as you have something that does encrypt emails in content to make them unreadable, my plugin can’t do anything about that. Whatever you are using to protect email in content, is running before WordPress runs shortcodes, so when the shortcode reaches my plugin, it is already destroyed.
I am not sure what you want mee to do here, I can’t fix the iPhone support for vCards, they have these issues for 10+ years, and you can find that well documented in countless forums related to iPhone and their Contact app. My plugin can’t change how your website is encoding emails before theose emails reach my plugin – change that on your website, and my plugin will encode email correctly.
Milan
-
MillaN
KeymasterI have no idea what to do with this code, it is without context. The last part, the script is the code that will close the sidebar, but the way it is here, it will do that as soon as the page is loaded, so nothing will happen. That code has to be triggered by something you do on the page.
Milan
-
MillaN
KeymasterHi,
Sorry about missing those, they got stuck in the pending/spam.
I tested this, and here are my findings:
[b]Wordpress display issues:[/b]
[ul][li]this will be fixed for vCard4, most likely next week.[/li][/ul][b]VCard format:[/b]
[ul][li]I attached the screenshot from my phone, everything looks as it should.[/li]
[li]Email is not working for you because most likely you have something on the website to process page content, and encrypts email into entities, so the spam harvesting bots don’t detect an email. I can’t do nothing about that.[/li]
[li]Regular vCard, has only address field, it can’t be split into elements, so it is always imported like that, there is no way around it, that’s how vCard works.[/li][/ul][b]VCard4 format:[/b]
[ul][li]Again, everything looks as it should.[/li]
[li]Email is the same issue for you as with previous vCard version, something encodes it into entities.[/li]
[li]On my Samsung phone, Android contacts app doesn’t have split address elements, but Samsung contact app does, works in both as it should.[/li]
[/ul]Now, the issue with missing german letters can be also conected to the content on your website being encoded or modified in some way to process the content and replace regular letters with entities. For me, it works with anything I tried. Also, these filters work on the front end only, so before the shortcodes are executed and sent to my plugin for processing, some other plugin you have encrypts things first.
Regards,
Milan -
MillaN
KeymasterHi,
There is no such option, because it is very complicated to do, considering that sidebar can contain anything. Capturing that click might not be possible in eveyr instance, and it can also interupt other stuff, and there is no real way to specify priority for these events handling function. Right now, I have no plans to do it.
Regards,
Milan -
MillaN
KeymasterHello,
1. As far as I know, iPhone Contacts app doesn’t support vCard4 format, it works with vCard3, and it has no proper support for encoding. I remember seeing that some other apps for iPhone have support for vCard4 format, but I don’t use iPhone, so I don’t know which.
2. WIndows Contacts and Outlook support all vCard formats, but it can’t import UTF-8, and to work with character encoding, it has to use vCard 2.0 format which has very strange encoding. Microsoft forums are filled with bug reports about this, and that is the issue for years, and still, vCard support in Windows Contacts and Outlook is very spotty.
3. Android phones, before Android 10 were not properly reading vCard4, Android 10 and newer all fully support it. Android can’t import image via provided photo URL.
4. vCard4 only supports UTF-8 encoding, it can’t be anything else. So, it properly encodes everything, including cyrilic or chinese.
5. I have tested extensively both vCard formats, and all fields are working, including phone and email. I have few very complex vCards using different charsets (french, german, cyrilic), with all fields included.
6. Sign + in phone number works fine, but you need to enter number without any spaces, that is vCard specs requirement. But, I tested phones that have empty spaces, and Android phones imported them correctly.
7. Label and Notes fields are all correct, again, I have tested all that, and I used it few times. One of the reasons I know it works, is that in the first plugin version when vCard4 is added, few users had issues with Notes field, and I have fixed it.
8. Best way to see that everything is correct, you can download VCF. Widget has option to show contet that includes download link, and via that link you can download VCF file to computer and see the content.
9. vCards are correct for both versions, and QR codes are generated correctly, and I any vCard generated, I test with my phones (Android 12 and Android 13 right now), and Google Contacts app and Samsung Contacts both fully support it, and they properly import them, including non english characters, and all the fields, with only photo url ignored).
10. vCard format is specified here: https://www.rfc-editor.org/rfc/rfc6350 and my plugin generates VCF file based on that specification. How the apps that read VCF interpret the file, and how they are made to import VCF and what they are supporting is not relevant, and if the VCF is correct, my plugin can’t enforce how the unrelated apps are reading the VCF. As I said, the Android mobile apps for VCF are working great, and support almost everything vCard4 supports. If the iPhone doesn’t support vCard4, whatever app you use to generate vCard4, is not going to work on iPhone, it is not relevant for my plugin.Your last complaint about show as text, is correct, and this is indeed a bug, I will fix this in next version to show the data as plain list, without coded labels.
Now, I know that my plugin generates correct VCF, but I accept that some bugs might be in the code, so the best way to see if there is a bug, is for you to show me exactly what data you entered in the widget, and I will replicate that, and see what happens, and what maybe get’s broken when VCF is generated.
I also plan a minor update soon that will include some fixes and updates, so if you can provide me with content to test, maybe I uncover some bugs that need to be fixed, and will include that too.
Best regards,
Milan -
MillaN
KeymasterI can’t find anything wrong. Can you test for conflicts with some of your other plugins (disable all other plugins, and test bringing them back one by one)?
-
MillaN
KeymasterI am not sure what can be the problem here. I can’t reproduce the issue, and you have no errors logged. I will do some additional testing, and hopefully I will find out what might be wrong.
-
MillaN
KeymasterCan you check server error log for any PHP errors related to my plugin?
