projects / org / ezproject2010 / facebook_connect / forum / general / great idea!
Find the Exponential Software extensions you want
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 9 |
Wednesday 25 March 2009 9:19:19 am I will test this extension asap!
But perhaps anybody can help me with this question: If somebody register in the ez publish with the "facebook connect" like in the example http://www.somethingtoputhere.com/therunaround/register.php is the user also created in ezpublish? I have checked the docs in the extension, but it only explains about login... Sorry for being lazy and not read the "facebook connect" documentation! eZ Partner in Madrid (Spain) |
|
|
Member since: Posts: 4 |
Monday 30 March 2009 4:08:51 pm No. The user won't be created in ezpublish. You can't access the email of the facebook user via API.
software developer at YMC AG located in Kreuzlingen Switzerland |
|
Member since: Posts: 8 |
Wednesday 01 April 2009 8:18:48 pm Hi
A quick questions.. The login handler that comes with the extension, how does that work? I tried installing it but not really sure what its suppose to do? If I connect the extension with a fbuid in my user class will eZ then think that this user is logged in?
http://www.areadigital.org |
|
|
Member since: Posts: 4 |
Friday 03 April 2009 3:33:15 am You are right. Yesterday I changed the login_handler to a sso_handler which works better. Now eZ thinks you are logged in everytime you load a new site.I will update the extension next week.
software developer at YMC AG located in Kreuzlingen Switzerland |
|
|
Member since: Posts: 5 |
Tuesday 16 June 2009 7:24:36 pm I am very interested in this project.
So far i can see, this is only the loginhandler, right? I am thinking about how fb connect should integrated in registration process of ezpublish. What would be the best practice? Let say there is a user without an ezpublish login (my site). The user can see the fbconnect button on my site, and because he is a fb member he want to login to that. So far i can see, nothing will happen, till the user creates an ezpublish profile. I have to store the fbID of the User on that profile (in user class). After that he can use this loginhandler. Is this the right way to integrate fbconnect? I have to make a registrationhandler first? |
|
|
Member since: Posts: 7 |
Wednesday 01 July 2009 3:45:38 pm I'm just looking through here and not sure what this great idea is...what does this do? I'm headed over to look at the documentation but developers are notorious for creating really complicated explanations so I'm not sure if I'll understand it. But I'm off to read.
-Cori |
|
|
Member since: Posts: 7 |
Wednesday 01 July 2009 3:50:49 pm Yep..not a clue what it's supposed to do. It says it connects the site to facebook. Other than connecting..what does it do? Allow you to login to your face book page from the site? Does it do it for everyone or just the admins, meaning will it log us in and then we just update? Or does it put updates on your Face book for you?
Not really sure why I'd want this. Sorry to be harsh but I do love EZ but I never get clear instructions or explanations on how to use a lot of things here. And as I say it's way better than Joomla or Xoops or any of them out there, but no documentation, or overly complicated documentation, make this appear to be too hard to use. Sorry. /end rant |
|
Member since: Posts: 145 |
Wednesday 26 August 2009 12:46:30 am Hi all!
Currently working on this extension a bit (which needs a lot of work), and I'm aiming at allowing three scenarios: 1. Javascript only login, eZ Publish does not know your logged in to facebook 2. Hybrid, login using facebook/login where your logged in as a facebook user (shared across all facebook users), this way eZ Publish know that your logged in and that your a facebook user (as in: you create a new user group and give him additional rights if you want to) 3. Connect, as in connecting eZ Publish user and facebook user using a facebook/connect view, where you will get the option to login or create new user after being logged in to facebook if there are no users with the facebook id of the user*. * Unsure if I'll go for the custom table, datatype or generic int attribute on user class approach. The two first options are definitely the cleanest options, especially the datatype option witch can be a extended version of the int datatype really. Other changes: * login handler: not needed with the login / connect views (will also include a logout view), but I'm thinking about keeping it to check that the user is still logged in to facebook periodically (like every 3 minute or something, or when the user has been inactive above 5 minutes) * Maybe add a edit handler / workflow where if set, an additional placement for the user is added when created (a setting for optional facebook user group), also use this in facebook/connect when you choose to login with existing user So, any comments? What do you need? PS: Simon hasn't answered my request for membership, so currently aiming at forking the project. eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro |
|
|
Member since: Posts: 4 |
Wednesday 26 August 2009 7:01:50 am Sorry I didn't receive a request. For sure you're welcome to support this project!
For a project we had the following solution realized, but finally we kept it away. If an user comes to the loginpage of a community he should have the decision wether he wants to log in with ez publish or with facebook. If he logs in with facebook connect the first time, ezp recognize it (no fbuid found) and will redirect him to a form with at least an email field. It will create an ez publish account. With a checkbox in the form he can optionally synchronize his facebook profile with the ez publish profile, e.g. date of birth, hometown... Now everytime he logs in with facebook the login handler matches a fbuid and will log in the ez publish user. software developer at YMC AG located in Kreuzlingen Switzerland |
|
Member since: Posts: 8 |
Wednesday 26 August 2009 6:42:15 pm Hi
We just released a new project with facebook connect. http://www.jysktravel.com/ After login you should be able to see a little facebook widgets for example here: http://www.jysktravel.com/trips/trip-types The facebook function is connected to the internal ez accounts and after logging in with facebook you can save favorites, do commenting, share on facebook and so on We started with this extension as inspiration and added/modded the following: - Automatic creation of ez user in specific facebook group. - If you logout from facebook you automaticaly get logged out from ez as well. - Option to copy basic facebook details into ez account. Facebook is a bit slow in registering that a user has logged out from facebook so for a minute or two you will apear as logged in but you will get erros from facebook if you try to access the API. We got around this by keeping some facebook data in the ez account. We have implemented this with individual fields but a specific datatype would probably be a better solution. We have great demand from clients to integrate their sites with facebook so would be great to hear other ideas and implementation that you guys have done on other projects. Fredrik http://www.areadigital.org |
|
Member since: Posts: 145 |
Thursday 27 August 2009 3:45:55 am @Simon: 1. You save the user account with all empty fields but email (ezuser) and fbuid then? Empty password as well then I guess? (So he can't login directly with ezp user)
2. Click on Collaboration on the top here, and you'll see my pending request for membership. @Fredrik: Cool site, like the design. How do you detect that he is logged out? I assume your not referring to a simple "FB.Connect.logoutAndRedirect( {'user/logout'|ezurl} );" on your side here. eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro |
|
|
Member since: Posts: 4 |
Thursday 27 August 2009 4:33:32 am @Andre: Exactly, or generate any password for the ezp profile if needed. The user can't login with the ezpublish profile.
Empty fields.. hm you can synchronize the facebook profile with the ezp profile in the background while the user logs in the first time. software developer at YMC AG located in Kreuzlingen Switzerland |
|
Member since: Posts: 145 |
Wednesday 02 September 2009 1:20:07 pm The code is now in svn, feedback wanted.
Currently using facebook/connect you can either login with existing eZ Publish user to connect it to Facebook user, register new user or if your already logged in to eZ Publish connect that user. Biggest todo's would be to create datatype to handle deleting connections (eZ Publish user <-> Facebook user id) when user is deleted. And also detecting that user has logged out from facebook and automatically logout from eZ Publish. eZ Online Editor 5.1: http://projects.ez.no/ezoe || eZJSCore 1.1(Ajax): http://projects.ez.no/ezjscore || eZSearch++(better search results): http://projects.ez.no/ezsearchpro |
You need to be logged in to post messages in the forums. New users may register here.