-
Notifications
You must be signed in to change notification settings - Fork 2
/
_config.php
39 lines (27 loc) · 1.62 KB
/
_config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
// https://developers.facebook.com/docs/reference/api/page/
if (!file_exists('Zend/Oauth.php')) {
set_include_path(get_include_path() . PATH_SEPARATOR . (dirname(__FILE__)) . '/thirdparty/');
}
//copy the lines between the START AND END line to your /mysite/_config.php file and choose the right settings
//===================---------------- START social_integration MODULE ----------------===================
//SocialIntegrationControllerBaseClass::set_default_avatar("myimage.png");
#################### OLD SCHOOL ##############################
//Authenticator::unregister_authenticator('MemberAuthenticator');
//Authenticator::register_authenticator('MemberAuthenticatorWithSignup');
#################### TWITTER ##############################
//Object::add_extension('Member', 'TwitterIdentifier');
//Authenticator::register_authenticator('TwitterAuthenticator');
//TwitterCallback::set_consumer_key("KEY");
//TwitterCallback::set_consumer_secret("SECRET");
#################### FACEBOOK ##############################
//Object::add_extension('Member', 'FacebookIdentifier');
//Authenticator::register_authenticator('FacebookAuthenticator');
//FacebookCallback::set_facebook_id("FACEBOOK_ID");
//FacebookCallback::set_facebook_secret("FACEBOOK_SECRET");
#################### LINKEDIN ##############################
//Object::add_extension('Member', 'LinkedinIdentifier');
//Authenticator::register_authenticator('LinkedinAuthenticator');
//LinkedinCallback::set_consumer_key("");
//LinkedinCallback::set_consumer_secret("");
//===================---------------- END social_integration MODULE ----------------===================