Ignore:
Timestamp:
Dec 29, 2010, 11:45:21 PM (13 years ago)
Author:
rub
Message:

Add social plugin activity feed
Add convert function on admin page config
Add missing options on social plugins
Add activity tab sheet on admin config page

File:
1 edited

Legend:

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

    r8375 r8386  
    6161      (script_basename() == 'index')
    6262      and
    63       ($conf['fbp']['social_plugin_like_box']['enabled'])
     63      ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'])
    6464      )
    6565  {
     
    7272  global $conf;
    7373
    74   //~ return $do_it or (script_basename() == 'about');
    7574  return
    7675    $do_it
     
    8685        (script_basename() == 'index')
    8786        and
    88         ($conf['fbp']['social_plugin_like_box']['enabled'] /*or $conf['fbp']['']['enabled'] or $conf['fbp']['']['enabled']*/)
     87        ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'])
     88      )
     89      or
     90      (
     91        (script_basename() == 'admin')
     92        and
     93        ($_GET['page'] == 'plugin')
     94        and
     95        (strtok($_GET['section'], '/') == 'FacebookPlug')
     96        //~ ($conf['fbp']['social_plugin_activity_feed']['enabled'] or $conf['fbp']['social_plugin_like_box']['enabled'])
    8997      )
    9098    )
Note: See TracChangeset for help on using the changeset viewer.