Problem with facebook login News 2 for Joomla 3

February 2014 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Tue Mar 03, 2015 12:36 pm
Reply with quote
Report this post
Hello, we have two strange problems with the fb login plugin,

as you can check here http://www.pasosdecumbia.tv/es/login

the plugin works only if we don't have just logged on facebook, if someone is logged on fb nothing happens.

Also, when there is a new registration, the system does not send the email with username and password.

I've changed one line of facebook.php, this one, because there was an error message about the username is not permitted..
Code: Select all
$response->username = $user_profile['email'];


changed with
$response->fullname = $user_profile['name'];

and now it works.

Any suggestions? we have joomla 3

Thank you.
V
User avatar
Fresh Boarder

GK User
Fri Mar 06, 2015 9:54 am
Reply with quote
Report this post
Hello,

Did you tried to reinstall the plugin with the newest version of the plugin from rest_files?
User avatar
Administrator

GK User
Tue Sep 08, 2015 10:39 am
Reply with quote
Report this post
Could you please explain, what you have changed?
I've changed one line of facebook.php, this one, because there was an error message about the username is not permitted..

Have you switched the lines or completely replaced (deleted)
Code: Select all
$response->username = $user_profile['email'];

Actually the whole part looks like this in the latest version (...and it's not sending out any confirmation or information email to the user)
Code: Select all
if($params->auto_register == 1) {
                        $response->email = $user_profile['email'];
                        $response->username = $user_profile['email'];
                        $response->fullname = $user_profile['name'];

                        $response->status = JAuthentication::STATUS_SUCCESS;
                        $response->error_message = JText::_('PLG_GK_FACEBOOK_NEW_ACCOUNT') . '<strong>' . $user_profile['name'] . '</strong>';
                    } else {
                        $response->status = JAuthentication::STATUS_FAILURE;
                        $response->error_message = JText::_('JGLOBAL_AUTH_NO_USER');
                    }

It would be awesome to send any kind of info-mail to the client...
Thanks in advance and regards :)
User avatar
Senior Boarder


cron