Ignore:
Timestamp:
Dec 24, 2010, 6:00:49 PM (13 years ago)
Author:
rub
Message:

Add comments social plugin.
Fix FB connexion

File:
1 edited

Legend:

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

    r8282 r8295  
    3030  array
    3131  (
     32    'async_script' => false,
     33    'picture_url_type' => 'page',
    3234    'allow_fb_access_private_page' => true,
    33     'async_script' => false,
    3435    'social_plugin_like_button' => array(),
     36    'social_plugin_facepile' => array(),
     37    'social_plugin_comments' => array(),
    3538    'social_plugin_like_box' => array(),
    36     'social_plugin_facepile' => array(),
    3739  ),
    3840  unserialize($conf['fbp']));
     
    4345  (
    4446    'enabled' => true,
    45     'url_type' => 'page',
    4647    'layout' => 'standard',
    4748    'show_faces' => true,
     
    5152  ),
    5253  $conf['fbp']['social_plugin_like_button']);
     54
     55$conf['fbp']['social_plugin_facepile'] = array_merge(
     56  // default values
     57  array
     58  (
     59    'enabled' => true,
     60    'max_rows' => 1,
     61    'width' => null,
     62  ),
     63  $conf['fbp']['social_plugin_facepile']);
     64
     65$conf['fbp']['social_plugin_comments'] = array_merge(
     66  // default values
     67  array
     68  (
     69    'enabled' => false,
     70    'numposts' => 5,
     71    'css' => null,
     72    'title' => null,
     73    'simple' => true,
     74    'reverse' => false,
     75    'publish_feed' => true,
     76    'width' => null,
     77  ),
     78  $conf['fbp']['social_plugin_comments']);
    5379
    5480$conf['fbp']['social_plugin_like_box'] = array_merge(
     
    6692  $conf['fbp']['social_plugin_like_box']);
    6793
    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'];
    81 
    8294//~ print_r($conf['fbp']);
    8395
Note: See TracChangeset for help on using the changeset viewer.