Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: alex_qrlogin on November 17, 2017, 11:16:25 AM

Title: qrLogin
Post by: alex_qrlogin on November 17, 2017, 11:16:25 AM
Ссылка на мод (https://custom.simplemachines.org/mods/index.php?mod=4159)

Integration with free phone app qrLogin.

Site: qrlogin.info (http://qrlogin.info)
Demo forum: qrlogin.info/smf (http://qrlogin.info/smf)
Video «how it works»: youtube (https://youtu.be/QS3Wsot8t5Q)

qrLogin is an authentication system based on the reading of the qrcode by the mobile phone and the transfer of authentication data via the http/https protocol to the application or to a web resource.
The mobile application qrLogin by reading of a specially generated qr-code allows:
To authenticate on a web resource or in an application;
To subtract and save account data;
To subtract the credentials of the new account, generate a password or key and send these data to the server to complete the registration of this account.
qrLogin is the unique thing you need to enter the web page.
To log in to the web resource, run qrLogin and scan the qr-code in the form of authentication on the web page or in the application.

Dear friends!!!
Huge request, if you installed a modification on your forum, specify the address of the site.
And if not, I will be very grateful if you write what can be improved in it!
Title: Re: qrLogin
Post by: alex_qrlogin on November 26, 2017, 01:47:19 AM
version 0.9.9
- changes for compatible with old version of PHP(tested from 4.4) & SMF(tested 2.0.6)
Title: Re: qrLogin
Post by: -Rock Lee- on November 26, 2017, 09:31:05 AM
Quote from: alex_qrlogin on November 26, 2017, 01:47:19 AM
version 0.9.9
- changes for compatible with old version of PHP(tested from 4.4) & SMF(tested 2.0.6)

It seems a very good mod and I'll leave it for tests ;D while I leave the translation to normal Latin Spanish and utf-8.



Regards!
Title: Re: qrLogin
Post by: alex_qrlogin on November 26, 2017, 09:57:10 AM
Quote from: Rock Lee on November 26, 2017, 09:31:05 AM
It seems a very good mod and I'll leave it for tests ;D while I leave the translation to normal Latin Spanish and utf-8.
Thanks) Include in the next version
Title: Re: qrLogin
Post by: alex_qrlogin on November 27, 2017, 05:17:40 AM
version 0.9.10
- changes for compatible with SMF 2.1
Title: Re: qrLogin
Post by: alex_qrlogin on December 19, 2017, 04:00:16 AM
Dear friends!!!
Huge request, if you installed a modification on your forum, specify the address of the site.
And if not, I will be very grateful if you write what can be improved in it!
Title: Re: qrLogin
Post by: alex_qrlogin on December 22, 2017, 05:42:02 AM
version 1.0.1
- added "no wait answer" mode for phone (you must use "short poll" for ajax and phone)
- remove sleep from hack attempt answer
Title: Re: qrLogin
Post by: Marina3 on December 11, 2022, 07:18:47 AM
ERROR: Undefined index: username.
In/Themes/default/qrlogin.template.php (213):
var qrl_text = "QRLOGIN\nNU:V1\n', qrlogin_board_url(), '\n/?action=qrlogin\n', $context['user']['username'], '\n" + cur_pass + "\n1";
Title: Re: qrLogin
Post by: -Rock Lee- on December 12, 2022, 08:51:22 PM
Quote from: Marina3 on December 11, 2022, 07:18:47 AMERROR: Undefined index: username.
In/Themes/default/qrlogin.template.php (213):
var qrl_text = "QRLOGIN\nNU:V1\n', qrlogin_board_url(), '\n/?action=qrlogin\n', $context['user']['username'], '\n" + cur_pass + "\n1";

In which version of SMF are you installing it?


Regards!
Title: Re: qrLogin
Post by: Marina3 on January 06, 2023, 10:04:22 AM
On smf 2.1.3.
Title: Re: qrLogin
Post by: Marina3 on February 05, 2023, 01:49:59 AM
Error on php 7.4 and php8.1. Error in this: $context['user']['username'].
Undefined index: username.
Title: Re: qrLogin
Post by: -Rock Lee- on February 05, 2023, 09:22:35 AM
Quote from: Marina3 on February 05, 2023, 01:49:59 AMError on php 7.4 and php8.1. Error in this: $context['user']['username'].
Undefined index: username.

mmm... I think it's because of the code that should be updated a bit and since it was for beta 3 I changed a lot to the final version, I'm going to do some tests and I'll tell you.


Regards!
Title: Re: qrLogin
Post by: Marina3 on February 06, 2023, 11:50:30 AM
Error : Array to string conversion.
/Themes/default/qrlogin.template.php (213).
What to do?
Title: Re: qrLogin
Post by: Steve on February 06, 2023, 02:16:42 PM
Again, what version of SMF are you trying to install this on?
Title: Re: qrLogin
Post by: Marina3 on February 07, 2023, 10:20:34 AM
Quote from: Steve on February 06, 2023, 02:16:42 PMAgain, what version of SMF are you trying to install this on?
php 8.1.
Title: Re: qrLogin
Post by: Steve on February 07, 2023, 04:21:42 PM
Quote from: -Rock Lee- on December 12, 2022, 08:51:22 PMIn which version of SMF are you installing it?
Quote from: Marina3 on January 06, 2023, 10:04:22 AMOn smf 2.1.3.
Sorry, I didn't see your post earlier but this mod isn't compatible with 2.1.3 according to it's mod page.
Title: Re: qrLogin
Post by: -Rock Lee- on February 07, 2023, 08:02:45 PM
Quote from: Steve on February 07, 2023, 04:21:42 PMSorry, I didn't see your post earlier but this mod isn't compatible with 2.1.3 according to it's mod page.

Testing it just by removing "['username']" from the line that marks everything works as it should, comparing it from beta 3 to gold it changed a bit because of what else. So far it hasn't failed me and everything seems to work even with php8.1.13.


Regards!
Title: Re: qrLogin
Post by: Marina3 on November 03, 2023, 11:34:27 AM
Error: Array to string conversion.
How do I correct this error on SMF 2.1.4 and php 8.2?