Social Registration

Hi,

How to integrate Facebook,Twitter and google plus registration in yii?

follow this tutorial - http://www.ponomaryov.org/yii-tutorials/beginners-tutorial-integrating-user-management-and-oauth-into-a-yii-project/

Hi,

Thanx For Your Reply,

I have one doubt I cant see protected/modules/ folder in my yii extension?Sorry I am newbie to yii.

Dude you need to paste your yii extension in extension folder of your project and configure path in main.php (config folder). also if you want separate module, you need to first generate Module using gii.

Hi,

I got error like this The config.php file doesn’t exists D:\xampp\htdocs\project\test\protected\extensions\hoauth

\models\UserOAuth.php(118)

My Protected/modules/controller file,

<?php

class LoginController extends Controller

{

public function actionIndex()

{


	&#036;this-&gt;render('/user/index');


}

public function actions()

{

return array(


  'oauth' =&gt; array(


    'class'=&gt;'ext.hoauth.HOAuthAction',


  ),


  'oauthadmin' =&gt; array(


    'class'=&gt;'ext.hoauth.HOAuthAdminAction',


  ),


);

}

}

?>

In View Page,

<?php $this->widget(‘ext.hoauth.widgets.HOAuth’); ?>