eamador
(Edu)
December 14, 2012, 8:56am
1
Hi all!
I am starting a new yii project, and I want to make sure to do it in the rightest way.
I would like to implement a user system in which you can register from facebook (or with the usual way), but i don’t know which user module/extension i should use for it.
Could you suggest a good way to do it please?!
If you have a look to http://www.stay.com/ you will see what i mean, this registration system (or similar) is which i would like to implement.
Thanks, I appreciate any answer!
Regards.
sergifm
(Sergi Fagoaga)
December 14, 2012, 7:00pm
2
jackcobain
(Jackie 1lover)
December 15, 2012, 8:25am
3
this is another extension if you want to use just for facebook login http://www.yiiframework.com/extension/facebook-connect/
eamador
(Edu)
December 17, 2012, 10:04am
4
Sorry the late replying!
Thanks both of you for the ideas, i decided to implement yiiauth, like sergifm said.
I am following the instructions to install and configure it, everything was going good until I went to try it.
I went to http://example.com/yiiauth where you see the social network icons.
I clicked in facebook logo and it goes to http://example.com/hybridauth/?hauth.start=Facebook&hauth.time=1355738104 where i get a 404 error.
So I changed in the main.php config file the base url from
"base_url" => "http://example.com/hybridauth/",
to
"base_url" => "http://example.com/hybridauth/index.php",
and I repeat the same steps:
Go to http://example.com/yiiauth
Click in facebook logo and it goes to http://example.com/hybridauth/index.php?hauth.start=Facebook&hauth.time=1355738104
And I get the 404 error again.
I am following the instructions from http://www.yiiframework.com/forum/index.php/topic/32250-module-yiiauth/
I did all the steps but now i am not sure if i need anything else or i just skipped a step and i did not realize.
Does someone get the same error with yiiauth?
Any suggestion will be really appreciate!
Thanks.