culturehilt.blogg.se

Easylogin sis
Easylogin sis








Sign out button with onclick="EasyLogin.signout() " Sign out My Account button with data-toggle="modal" data-target="#EL_account" Sign up button with data-toggle="modal" data-target="#EL_signup" Sign up Sign in button with data-toggle="modal" data-target="#EL_signin" " class="user-avatar" width="100" height="100"/>Īs in the example above the butons have some attributes: Here is an example to display Sign in / Sign up buttons as well as the buttons after the user has logged. Now you can use the script functions to do cool things. Include the load.php file and call load_templates() function To integrate this script all you have to do is:įirst make sure you have included jQuery in your page.

easylogin sis

Now you can login using User: admin & Password: admin. ( Optional) You can also set other settings in config.php. More information can be found in the Configuration section bellow. Now Copy API Key & API Secret to config.php Make sure the url points to that file! (For testing on your localhost use 127.0.0.1 instead of localhost). ( Optional) Go to  and create a new App, set your Website url and !! Callback URL to a link to connect.php?method=twitter from the script files. Now go back to the Settings tab and copy the App ID & App Secret to config.php. Now go to the Status & Review tab and make your App public. ( Optional) Go to  and create a new App, then go to the Settings tab and set App Domains to your website domain, Contact Email to your email Click on the +Add Platform button and select Website then set your Site URL. Now copy Client ID, Client secret & API key to config.php. ( Optional) Go to  create a new Project and enable Google+ API from the APIs tab. Then go to Credentials and create a new Client ID (!! Set your domain url & Authorized redirect URI to a link to connect.php?method=google from the script files Make sure the url points to that file!), then create te API key.

easylogin sis easylogin sis

Copy the public & private key to config.php. ( Optional) Go to  and generate the api keys for your domain. Set the database connection details with the databse you have created on step #2. Watch the video & read the information bellow:Įxtract the files from easylogin/ folder (or just copy the entire folder) to your sever / localhost server.Ĭreate a new database from your phpMyAdmin or cPanel, then import easylogin.sql to that database.Įdit config.php and set home_url to your website home address (! with a slash / at the end) set script_url to where you have copied the script files (! with a slash / at the end). This script requires at least PHP 5.3 (with PDO) MySQL, OpenSSL, cURL.










Easylogin sis