Bug
Improvement
Task
View Federico's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
i found a problem.. facebook profile pic is not fetching...
Hi Satheesh PM, can you check that your user does not already have a pic? If that's case, the new version will NOT overwrite the picture. It only takes a profile picture from the other social network if Elgg does not have one.
@Federico,
Facebook Email is not registered in Elgg. if a user is first time login to elgg with facebook id that time he or she doesnot have a profile pic in elgg is it right?
where to change the code to overwrite the profile pic in elgg from other network?
thanks for this plugin
If it's a new user and Facebook has a profile picture, it should fetch the picture and add it to the Elgg profile. If it's not doing so, it needs investigating... Can you double check, please?
Forgot to mention, the code that deals with the picture is in start.php, lines 147-178.
When Facebook is enabled on an Elgg server that uses SSL with self-signed certificates, the curl options must be changed in vendors/hybridauth/Hybrid/thirdparty/Facebook/base_facebook.php from CURLOPT_SSL_VERIFYPEER => true to CURLOPT_SSL_VERIFYPEER => false. Ticket ELGGSOCIAL-25 has been created to address this and offer the change as an option in the settings. The fix will be available in version 1.2.
Hi Federico,
After i active the plugins i didn't get the setting of the social connect, what will i do for that settings.
you need to change the folder name social-connect to social_connect
Hi Satheesh PM,
Can you explain what you mean? Are you having problems due to the name of the folder?
@Federico, i was telling rajmohan to change the foldername
Ok, gotcha! Thought you were writing to me ;-)
HEEEEEEEEEELLLLLLPPPPP someone.Iinstalled the plugin and when i logged out i could connect again!!!How do i remove it?
ok renamed it to social_connect and came back!that was close!!!
I found facebooK(working) Google(not working) twitter(working) yahoo(not working) windows live(working).
Havent tried anything else.The thing is that i have 2 errors in admin dashboard
1. social_connect (guid: 196) cannot start and has been deactivated. Reason: Cannot include start.php for plugin social_connect (guid: 196) at /home5/newmatef/public_html/mod/social_connect.
2. social-connect (guid: 194) cannot start and has been deactivated. Reason: Cannot include start.php for plugin social-connect (guid: 194) at /home5/newmatef/public_html/mod/social-connect.
Some help would be nice!
click on the little 'x' on top-right on those blue messages and they will go way and not bother you anymore. they are not a problem.. after your bad folder naming renaminig fixes ;)
Hi Athanasios Fragkos,
I am using Google and Yahoo, and they all work fine. Maybe you got the settings wrong? Somtimes the names for App Client and Secret ID are not very clear in the configuration pages of some social networks.
I answered a question about this a while ago, I'll look for it and post it back here for you...
@Athanasios Fragkos, here's the post I was talking about... It's about creating a Google app for Social Connect in the Google API console...
---
Hi Daniel
On that page, if you don't have a project yet, create one. It's a massive blue button at the center of the page called "Create Project..." or something like that.
Once you have created your project, you need to select the API Access link on the lefthand side menu. There will be another big blue button labelled "Create a OAuth 2.0 client ID...". Click on it and choose a product name of your choice and press next (you can configure the other options later).
Now select Web Application and press the "Create ID" button.
In the following page, click on "Edit settings..." and provide the URLs suggested by the plugin, for example for me they were
https://www.muroflamenco.com/mod/social_connect/?hauth.done=Google
http://www.muroflamenco.com
https://www.muroflamenco.com
Hope this helps. If you find that I have made any mistakes, please post here again for everybody else's sake ;-) Thanks
Hi Federico,
If possible to login through the facebook account after the user name and password of the facebook is directly in elgg defalut login windows. becase i try to login like that but i couldn't login.
Hi rajmohan,
Can you help me understand your question? What is it you're trying to do?
Hi Federico,
After got the permission from the facebook account is automatically insert the user name and password in our web site,but the password was changed, so user can't login in the default elgg login,i need to login with without social connection in default login.
Hi rajmohan,
I see what you mean. When a new user is registered by Social Connect, a password is automatically generated and stored in the database. Unfortunately, at the moment the user is not notified of this password, and therefore it is unusable. As an administrator, you can reset a user's password. For now this is the best option.
I will change the code so that the password is sent to the user via email if an email address is available or maybe shown on screen if not. If anyone has a better idea, please share it here in the comments.
I have created ticket ELGGSOCIAL-26 to track this.
Hi Federico,
I have created the mail sending option in my project. then user can reset the password after login thanks fot your time......
Great, if you could share your code, I'd be happy to use it for the next release... and it would save me a bit of time too ;-)
Here the Code
$email = elgg_echo('email:resetpassword:body', array($user->name,$password));
notify_user($user->guid, $CONFIG->site->guid,elgg_echo('email:resetpassword:subject'), $email, NULL, 'email');
I have an issue on my site the moment I enable this plugin. I do not see any settings for the plugin in admin section and the elgg site looks wierd, like this: