Jump to content

FluxCP Registration Addon via Facebook 1.0


1 Screenshot

About This File

This is a an alternative solution for those who cant make there Email Verification feature to work in there Registration System.

It uses Facebook to identify if the user has a valid Email Address.

Guides:

1.) Making your Facebook Application within Facebook

As you may know in order for this Addon to work you must create an application in facebook.

1.1: Login to your facebook account at http://www.facebook.com

1.2: After you login to your facebook account kindly goto https://developers.facebook.com

1.3: In developers homepage yoo will see a link name App, click it

1.4: When your already in the apps facebook you will see the Create New App button, now click it

1.5: A dialog box will appear, just fill up the necessary fields.

1.6: After you finished filling up the on the dialog box you will be redirected to your newly created Application Settings

1.7 The default page whenever you want to edit your application is the Basic Settings page.

2.) Basic Settings Application Configuration

2.1: In the Basic Settings page the most important field you need to edit is the App domain ( You will put here the Address where you want to run the Application ex: http://www.mydefaultro.com if you do not specify the App domain the Addon might not work properly), now click also the Website you will enter there also the Address where you will run the Application.

2.2: Now Save it. It might take several minutes for the settings to take effect.

3.) Auth Dialog Settings Application Configuration

3.1: In the Auth Dialog Settings Page just scroll at the very bottom and you will see Authenticated Referrals, now click it.

3.2: In Authenticated Referrals, in User & Friends Permission kindly enter the value "email" without the doubles quotesbecause the application must ask first a permission to know about the user's email.

3.3: Now click Save Changes.

4.) FluxCP Addon Configuration

4.1: We are now in the FluxCP Addon. Put the addon in the addons folder of your FluxCP.

4.2: Now edit the config/addon.php and fillup the following:

* For "FB_API_KEY" enter the Api Id that facebook provided to you, this can be seen in the basic settings of your Facebook Application. This key will be your public api id.

* For "FB_API_SECRET_KEY enter the Api Secret that facebook provided to you, this can be seen in the basic setting of your Facebook Application. This key will be your private apli id. Kindly do not share this to others.

Other Configuration's are:

* 'NoCase' - set to true if you dont want a case sensitive comparison

* 'UseMD5' - set to true if you want to use MD5 password

* 'level' - set this to what will be the default level/group_id of the user after registration.

5.) The Database

5.1: In schemas folder you will find a .sql file named cp_fb_register, kindly import in your database. This will use for the Facebook Login Addon that I will develop in the future.

Now run the Addon, Hope it works and Hope you understand my English :) Sorry I cant provide the Screenshot version of the guide because Im having a hard time making the screenshot due to make broken touchpad.

Updated version of this addon can be found at: https://github.com/m...-Facebook-Addon

Future Updates:

  • Login Feature - you can use your facebook account to login to the Control Panel
  • Auto Login after Registration


What's New in Version 1.0

Released

  • *1.0 - First Release

×
×
  • Create New...