Ignore:
Timestamp:
Dec 24, 2010, 1:46:18 PM (13 years ago)
Author:
rub
Message:

Add facepile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Plugin/include/conf.inc.php

    r8275 r8282  
    2626global $conf;
    2727
    28 /*$conf['fbp'] = array_merge(
    29   // default values
    30   array
    31   (
    32     'allow_fb_access_private_page' => true,
    33     'async_script' => false,
    34     'social_plugin_like_button' => array
    35       (
    36         'enabled' => true,
    37         'url_type' => 'page',
    38         'layout' => 'standard',
    39         'show_faces' => true,
    40         'action' => 'like',
    41         'colorscheme' => 'dark',
    42       ),
    43     'social_plugin_like_box' => array
    44       (
    45         'enabled' => false,
    46         'url' => 'http://www.facebook.com/Piwigo',
    47         'url_type' => 'page',
    48         'colorscheme' => 'dark',
    49         'show_faces' => true,
    50         'stream' => true,
    51         'header' => true,
    52       ),
    53   ),
    54   unserialize($conf['fbp'])
    55   );*/
    56 
    5728$conf['fbp'] = array_merge(
    5829  // default values
     
    6334    'social_plugin_like_button' => array(),
    6435    'social_plugin_like_box' => array(),
     36    'social_plugin_facepile' => array(),
    6537  ),
    6638  unserialize($conf['fbp']));
     
    7648    'action' => 'like',
    7749    'colorscheme' => 'dark',
    78     'width' => '',
     50    'width' => null,
    7951  ),
    8052  $conf['fbp']['social_plugin_like_button']);
     
    9062    'stream' => true,
    9163    'header' => true,
    92     'width' => '210',
     64    'width' => 210,
    9365  ),
    9466  $conf['fbp']['social_plugin_like_box']);
     67
     68$conf['fbp']['social_plugin_facepile'] = array_merge(
     69  // default values
     70  array
     71  (
     72    'enabled' => true,
     73    //'url_type' => 'page',
     74    'max_rows' => 1,
     75    'width' => null,
     76  ),
     77  $conf['fbp']['social_plugin_facepile']);
     78
     79// Same value of like button
     80$conf['fbp']['social_plugin_facepile']['url_type'] = $conf['fbp']['social_plugin_like_button']['url_type'];
    9581
    9682//~ print_r($conf['fbp']);
Note: See TracChangeset for help on using the changeset viewer.