null, 'async_script' => false, 'force_facebook_init' => false, 'add_about_informations' => true, 'add_group_footer' => true, 'add_application_footer' => true, 'picture_url_type' => 'page', 'share_picture' => true, 'share_album' => true, 'upload_picture' => true, 'allow_fb_access_private_page' => true, 'social_plugin_like_button' => array(), 'social_plugin_facepile' => array(), 'social_plugin_comments' => array(), 'social_plugin_like_box' => array(), 'social_plugin_activity_feed' => array(), ), unserialize($conf['fbp'])); $conf['fbp']['social_plugin_like_button'] = array_merge( // default values array ( 'enabled' => true, 'layout' => 'standard', 'show_faces' => true, 'action' => 'like', 'colorscheme' => 'dark', 'width' => null, 'font' => null, 'ref' => null, ), $conf['fbp']['social_plugin_like_button']); $conf['fbp']['social_plugin_facepile'] = array_merge( // default values array ( 'enabled' => true, 'max_rows' => 1, 'width' => null, ), $conf['fbp']['social_plugin_facepile']); $conf['fbp']['social_plugin_comments'] = array_merge( // default values array ( 'enabled' => false, 'numposts' => 3, 'css' => null, 'title' => null, 'simple' => true, 'reverse' => false, 'publish_feed' => true, 'width' => null, ), $conf['fbp']['social_plugin_comments']); $conf['fbp']['social_plugin_activity_feed'] = array_merge( // default values array ( 'enabled' => true, 'site' => null, 'colorscheme' => 'dark', 'recommendations' => false, 'header' => true, 'width' => 210, 'height' => null, 'border_color' => null, 'filter' => null, 'ref' => null, ), $conf['fbp']['social_plugin_activity_feed']); $conf['fbp']['social_plugin_like_box'] = array_merge( // default values array ( 'enabled' => false, 'url' => 'http://www.facebook.com/Piwigo', 'colorscheme' => 'dark', 'show_faces' => true, 'stream' => true, 'header' => true, 'width' => 210, 'height' => null, ), $conf['fbp']['social_plugin_like_box']); //From http://developers.facebook.com/docs/reference/rest/photos.upload/ // *GIF *JPG *PNG *PSD *TIFF *JP2 *IFF *WBMP *XBM $page['fbp']['available_upload_ext'] = array('GIF', 'JPG', 'PNG', 'PSD', 'TIFF', 'JP2', 'IFF', 'WBMP', 'XBM'); ?>