Support Forums - Classified Ads Script Osclass
Osclass plugin support => Free Osclass Plugins => Topic started by: Hunter777 on December 07, 2018, 11:24:42 PM
-
Hello, please tell me how to make your work Free Phone Number Login Plugin?
Plugin does not work.
-
Install, enable and it is done.
-
can i get this plugin?
-
https://osclasspoint.com/osclass-plugins/extra-fields-and-other/free-phone-number-login-plugin_i97
-
thank you so much
-
Welcome
-
it not work with socail login
-
@Locan
Sure, how it could when social login use email...
-
it ask for email require
-
Social plugins use email address, not phone number. Not quite sure what you mean.
-
when i install your plugin my social login not work it's say email require
-
@Locan
Can you send screenshot.
-
@MB Themes
i use this social login https://market.osclass.org/plugins/social-networks/osclass-social-auth_182
-
@Locan
I see, problem is that phone number login replace original login and social one looks unauthorized then.
Try following.
In file:
oc-content/plugins/phone_login/functions.php
Find:
function phl_login_user() {
if(phl_param('enable') == 1) {
and replace it with:
function phl_login_user() {
if(phl_param('enable') == 1 && Params::getParam('page') == 'login' && Params::getParam('action') == 'login_post') {
-
Thank you :o Everything work fine :-*
-
but try login with Cell phone in not work :'(
-
@Locan
Can you try i.e. just with ?
Maybe there are some redirects...
if(phl_param('enable') == 1 && Params::getParam('page') == 'login') {
// Edit: what I've sent previously should be correct
// Edit2: tested and works alright
-
still the same
-
What is same?
-
i login with phone number but it's not login and socail login work well
-
@Locan
I am not going to put more time into comparing with social login plugin as this one is free and social login is not our product. You may talk to their support how to identify social login is logging user.
-
You can also change in file:
oc-content/plugins/phone_login/functions.php
osc_add_hook('before_validating_login', 'phl_login_user');
into:
osc_add_hook('before_validating_login', 'phl_login_user', 10);
so it's last function that check login.
-
i fount the problem, it's not work with Anti Spam & Protection System
-
@Locan
Thanks for information, it's bit strange.
-
any solution bro
-
No we do not own this plugin.
-
But this plugin is free you can download and test it , I have problem too
-
We may check it in upcoming weeks