$view = new view; $view->name = 'all_activity_content_user_other'; $view->description = 'All activity of a given user and those whom share posts on their wall'; $view->tag = 'activity'; $view->view_php = ''; $view->base_table = 'activity'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('relationships', array( 'nid' => array( 'label' => 'Node', 'required' => 0, 'id' => 'nid', 'table' => 'activity', 'field' => 'nid', 'relationship' => 'none', ), 'uid' => array( 'label' => 'User', 'required' => 0, 'id' => 'uid', 'table' => 'activity', 'field' => 'uid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'picture' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'imagecache_preset' => '1', 'exclude' => 0, 'id' => 'picture', 'table' => 'users', 'field' => 'picture', 'relationship' => 'uid', ), 'message' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'message', 'table' => 'activity_messages', 'field' => 'message', 'relationship' => 'none', ), 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 0, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'nid', ), 'body' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 1, 'max_length' => '230', 'word_boundary' => 1, 'ellipsis' => 1, 'strip_tags' => 1, 'html' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'body', 'table' => 'node_revisions', 'field' => 'body', 'relationship' => 'nid', ), )); $handler->override_option('sorts', array( 'created' => array( 'order' => 'DESC', 'granularity' => 'second', 'id' => 'created', 'table' => 'activity', 'field' => 'created', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'context_user' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'context_user', 'table' => 'activity_access', 'field' => 'context_user', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '3' => 0, '6' => 0, '5' => 0, '4' => 0, ), 'me_redirect' => 0, 'me_validate_user_argument_type' => 'uid', 'me_validate_user_roles' => array( '2' => 0, '3' => 0, '6' => 0, '5' => 0, '4' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'blog' => 0, 'panel' => 0, 'article' => 0, 'audio' => 0, 'event' => 0, 'flickr' => 0, 'images' => 0, 'information' => 0, 'page' => 0, 'profile' => 0, 'simplenews' => 0, 'story' => 0, 'top_banner' => 0, 'video' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '2' => 0, '4' => 0, '3' => 0, '5' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'validate_argument_php' => '', 'me_validate_user_restrict_roles' => 0, ), 'uid' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'uid', 'table' => 'users', 'field' => 'uid', 'relationship' => 'nid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '3' => 0, '6' => 0, '5' => 0, '4' => 0, ), 'me_redirect' => 0, 'me_validate_user_argument_type' => 'uid', 'me_validate_user_roles' => array( '2' => 0, '3' => 0, '6' => 0, '5' => 0, '4' => 0, ), 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'blog' => 0, 'panel' => 0, 'article' => 0, 'audio' => 0, 'event' => 0, 'flickr' => 0, 'images' => 0, 'information' => 0, 'page' => 0, 'profile' => 0, 'simplenews' => 0, 'story' => 0, 'top_banner' => 0, 'video' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '2' => 0, '4' => 0, '3' => 0, '5' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_node_flag_name' => '*relationship*', 'validate_argument_node_flag_test' => 'flaggable', 'validate_argument_node_flag_id_type' => 'id', 'validate_argument_user_flag_name' => '*relationship*', 'validate_argument_user_flag_test' => 'flaggable', 'validate_argument_user_flag_id_type' => 'id', 'validate_argument_php' => '', 'me_validate_user_restrict_roles' => 0, ), )); $handler->override_option('filters', array( 'value_activity' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'realms' => array( 'activity_actor' => 'activity_actor', ), 'id' => 'value_activity', 'table' => 'activity_access', 'field' => 'value_activity', 'relationship' => 'none', ), 'value_facebook_status' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'realms' => array( 'facebook_status_poster' => 'facebook_status_poster', 'facebook_status_owner' => 'facebook_status_owner', ), 'id' => 'value_facebook_status', 'table' => 'activity_access', 'field' => 'value_facebook_status', 'relationship' => 'none', ), 'value_node' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'realms' => array( 'node_author' => 'node_author', ), 'id' => 'value_node', 'table' => 'activity_access', 'field' => 'value_node', 'relationship' => 'none', ), 'value_comment' => array( 'operator' => '=', 'value' => '', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'realms' => array( 'comment' => 'comment', ), 'id' => 'value_comment', 'table' => 'activity_access', 'field' => 'value_comment', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('title', 'Activity'); $handler->override_option('items_per_page', 8); $handler->override_option('use_pager', '1'); $handler->override_option('distinct', 1); $handler->override_option('style_options', array( 'grouping' => '', ));