diff --git a/activity_log.rules_defaults.inc b/activity_log.rules_defaults.inc index a2e54c7..821b3a0 100644 --- a/activity_log.rules_defaults.inc +++ b/activity_log.rules_defaults.inc @@ -596,715 +596,557 @@ function activity_log_rules_defaults_node_insert() { function activity_log_rules_defaults_node_insert_og() { return array( 'rules_activity_log_node_insert_og' => - array ( - '#type' => 'rule', - '#set' => 'event_node_insert', - '#label' => 'Log activity when a node is created in a group', - '#active' => 1, - '#weight' => '0', - '#categories' => - array ( - 0 => 'activity_log', - 1 => 'node', - 2 => 'og', - ), - '#status' => 'default', - '#conditions' => - array ( - 0 => - array ( - '#weight' => 0, - '#info' => - array ( - 'label' => 'Updated content is published', - 'arguments' => - array ( - 'node' => - array ( - 'type' => 'node', - 'label' => 'Content', - ), - ), - 'module' => 'Node', - ), - '#name' => 'rules_condition_content_is_published', - '#settings' => - array ( - '#argument map' => - array ( - 'node' => 'node', - ), - ), - '#type' => 'condition', - ), - 1 => - array ( - '#type' => 'condition', - '#settings' => - array ( - '#argument map' => - array ( - 'group' => 'node', - ), - ), - '#name' => 'og_rules_condition_posted_in_group', - '#info' => - array ( - 'label' => 'Content was posted in a group', - 'arguments' => - array ( - 'node' => - array ( - 'type' => 'node', - 'label' => 'Group content', - ), - ), - 'module' => 'Organic groups', - ), - '#weight' => 0, - ), - ), - '#actions' => - array ( - 0 => - array ( - '#weight' => 0, - '#info' => - array ( - 'label' => 'Log activity for the acting user', - 'label callback' => false, - 'module' => 'Activity Log', - 'eval input' => - array ( - 0 => 'placeholder', - 1 => 'grouping|group_summary', - 2 => 'visibility|stream_owner_id', - 3 => 'visibility|viewer_id', - 4 => 'acting_uid', - 5 => 'templates|und|template', - 6 => 'grouping|templates|und|template', - ), - ), - '#name' => 'activity_log_log_action', - '#settings' => - array ( - 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', - 'public_name' => '', - 'templates' => - array ( - 'en' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - 'und' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - ), - 'grouping' => - array ( - 'group_method' => 'none', - 'group_interval' => '86400', - 'group_max' => '100', - 'group_summary' => '', - 'collapse_method' => 'activity_log_collapse_inline', - 'templates' => - array ( - 'en' => - array ( - 'template' => '', - ), - 'und' => - array ( - 'template' => '', - ), - ), - ), - 'visibility' => - array ( - 'stream_owner_entity_group' => - array ( - 'acting user' => 'acting user', - 'custom' => 0, - 'target entity' => 0, - 'active group' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - 'node terms' => 0, - ), - 'stream_owner_id' => '', - 'stream_owner_type' => 'user', - 'viewer_entity_group' => - array ( - 'everyone' => 'everyone', - 'everyone_except_active' => 0, - 'everyone_except_custom' => 0, - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'stream_owner' => 0, - 'not_stream_owner' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - ), - 'viewer_id' => '', - ), - 'cache' => - array ( - 'cache' => 1, - 'resources' => '', - ), - 'acting_uid' => '[author:uid]', - 'display_type' => 'web', - 'tid' => '4', - '#eval input' => - array ( - 'token_rules_input_evaluator' => - array ( - 'placeholder' => - array ( - 0 => ':global', - ), - 'grouping|group_summary' => - array ( - 0 => ':global', - ), - 'visibility|stream_owner_id' => - array ( - 0 => ':global', - ), - 'visibility|viewer_id' => - array ( - 0 => ':global', - ), - 'acting_uid' => - array ( - 0 => 'author', - 1 => ':global', - ), - 'templates|und|template' => - array ( - 0 => 'node', - 1 => 'author', - 2 => ':global', - ), - 'grouping|templates|und|template' => - array ( - 0 => ':global', - ), - ), - 'activity_log_input_evaluator_process' => - array ( - 'placeholder' => true, - 'grouping|group_summary' => true, - 'visibility|stream_owner_id' => true, - 'visibility|viewer_id' => true, - 'acting_uid' => true, - 'templates|und|template' => true, - 'grouping|templates|und|template' => true, - ), - ), - ), - '#type' => 'action', - ), - 1 => - array ( - '#info' => - array ( - 'label' => 'Log activity for active group', - 'label callback' => false, - 'module' => 'Activity Log', - 'eval input' => - array ( - 0 => 'placeholder', - 1 => 'grouping|group_summary', - 2 => 'visibility|stream_owner_id', - 3 => 'visibility|viewer_id', - 4 => 'acting_uid', - 5 => 'templates|und|template', - 6 => 'grouping|templates|und|template', - ), - ), - '#name' => 'activity_log_log_action', - '#settings' => - array ( - 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', - 'public_name' => '', - 'templates' => - array ( - 'en' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title]
-
[node:small]
', - ), - 'und' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title]
-
[node:small]
', - ), - ), - 'grouping' => - array ( - 'group_method' => 'none', - 'group_interval' => '86400', - 'group_max' => '100', - 'group_summary' => '', - 'collapse_method' => 'activity_log_collapse_inline', - 'templates' => - array ( - 'en' => - array ( - 'template' => '', - ), - 'und' => - array ( - 'template' => '', - ), - ), - ), - 'visibility' => - array ( - 'stream_owner_entity_group' => - array ( - 'active group' => 'active group', - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - 'node terms' => 0, - ), - 'stream_owner_id' => '', - 'stream_owner_type' => 'user', - 'viewer_entity_group' => - array ( - 'everyone' => 'everyone', - 'everyone_except_active' => 0, - 'everyone_except_custom' => 0, - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'stream_owner' => 0, - 'not_stream_owner' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - ), - 'viewer_id' => '', - ), - 'cache' => - array ( - 'cache' => 1, - 'resources' => '', - ), - 'acting_uid' => '', - 'display_type' => 'web', - 'tid' => '5', - '#eval input' => - array ( - 'token_rules_input_evaluator' => - array ( - 'placeholder' => - array ( - 0 => ':global', - ), - 'grouping|group_summary' => - array ( - 0 => ':global', - ), - 'visibility|stream_owner_id' => - array ( - 0 => ':global', - ), - 'visibility|viewer_id' => - array ( - 0 => ':global', - ), - 'acting_uid' => - array ( - 0 => ':global', - ), - 'templates|und|template' => - array ( - 0 => 'node', - 1 => 'author', - 2 => ':global', - ), - 'grouping|templates|und|template' => - array ( - 0 => ':global', - ), - ), - 'activity_log_input_evaluator_process' => - array ( - 'placeholder' => true, - 'grouping|group_summary' => true, - 'visibility|stream_owner_id' => true, - 'visibility|viewer_id' => true, - 'acting_uid' => true, - 'templates|und|template' => true, - 'grouping|templates|und|template' => true, - ), - ), - ), - '#type' => 'action', - '#weight' => 0, - ), - 2 => - array ( - '#weight' => 0, - '#type' => 'action', - '#settings' => - array ( - 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', - 'public_name' => '', - 'templates' => - array ( - 'en' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - 'und' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - ), - 'grouping' => - array ( - 'group_method' => 'none', - 'group_interval' => '86400', - 'group_max' => '100', - 'group_summary' => '', - 'collapse_method' => 'activity_log_collapse_inline', - 'templates' => - array ( - 'en' => - array ( - 'template' => '', - ), - 'und' => - array ( - 'template' => '', - ), - ), - ), - 'visibility' => - array ( - 'stream_owner_entity_group' => - array ( - 'active group members' => 'active group members', - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'active group' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - 'node terms' => 0, - ), - 'stream_owner_id' => '', - 'stream_owner_type' => 'user', - 'viewer_entity_group' => - array ( - 'stream_owner' => 'stream_owner', - 'everyone' => 0, - 'everyone_except_active' => 0, - 'everyone_except_custom' => 0, - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'not_stream_owner' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - ), - 'viewer_id' => '', - ), - 'cache' => - array ( - 'cache' => 1, - 'resources' => '', - ), - 'acting_uid' => '', - 'display_type' => 'web', - 'tid' => '6', - '#eval input' => - array ( - 'token_rules_input_evaluator' => - array ( - 'placeholder' => - array ( - 0 => ':global', - ), - 'grouping|group_summary' => - array ( - 0 => ':global', - ), - 'visibility|stream_owner_id' => - array ( - 0 => ':global', - ), - 'visibility|viewer_id' => - array ( - 0 => ':global', - ), - 'acting_uid' => - array ( - 0 => ':global', - ), - 'templates|und|template' => - array ( - 0 => 'node', - 1 => 'author', - 2 => ':global', - ), - 'grouping|templates|und|template' => - array ( - 0 => ':global', - ), - ), - 'activity_log_input_evaluator_process' => - array ( - 'placeholder' => true, - 'grouping|group_summary' => true, - 'visibility|stream_owner_id' => true, - 'visibility|viewer_id' => true, - 'acting_uid' => true, - 'templates|und|template' => true, - 'grouping|templates|und|template' => true, - ), - ), - ), - '#name' => 'activity_log_log_action', - '#info' => - array ( - 'label' => 'Log activity for members of the active group', - 'label callback' => false, - 'module' => 'Activity Log', - 'eval input' => - array ( - 0 => 'placeholder', - 1 => 'grouping|group_summary', - 2 => 'visibility|stream_owner_id', - 3 => 'visibility|viewer_id', - 4 => 'acting_uid', - 5 => 'templates|und|template', - 6 => 'grouping|templates|und|template', - ), - ), - ), - 3 => - array ( - '#info' => + array( + '#type' => 'rule', + '#set' => 'event_node_insert', + '#label' => 'Log activity when a node is created in a group', + '#active' => 1, + '#weight' => '0', + '#categories' => array ( - 'label' => 'Log activity for related taxonomy terms', - 'label callback' => false, - 'module' => 'Activity Log', - 'eval input' => - array ( - 0 => 'placeholder', - 1 => 'grouping|group_summary', - 2 => 'visibility|stream_owner_id', - 3 => 'visibility|viewer_id', - 4 => 'acting_uid', - 5 => 'templates|und|template', - 6 => 'grouping|templates|und|template', - ), + 0 => 'activity_log', + 1 => 'node', + 2 => 'og', ), - '#name' => 'activity_log_log_action', - '#settings' => + '#status' => 'default', + '#conditions' => array ( - 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', - 'public_name' => '', - 'templates' => - array ( - 'en' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - 'und' => - array ( - 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
-
[node:small]
', - ), - ), - 'grouping' => + 0 => array ( - 'group_method' => 'none', - 'group_interval' => '86400', - 'group_max' => '100', - 'group_summary' => '', - 'collapse_method' => 'activity_log_collapse_inline', - 'templates' => + '#type' => 'condition', + '#settings' => array ( - 'en' => - array ( - 'template' => '', - ), - 'und' => + '#argument map' => array ( - 'template' => '', + 'node' => 'node', ), ), - ), - 'visibility' => - array ( - 'stream_owner_entity_group' => - array ( - 'node terms' => 'node terms', - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'active group' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, - ), - 'stream_owner_id' => '', - 'stream_owner_type' => 'user', - 'viewer_entity_group' => + '#name' => 'rules_condition_content_is_published', + '#info' => array ( - 'everyone' => 'everyone', - 'everyone_except_active' => 0, - 'everyone_except_custom' => 0, - 'custom' => 0, - 'acting user' => 0, - 'target entity' => 0, - 'stream_owner' => 0, - 'not_stream_owner' => 0, - 'active group members' => 0, - 'active group admin' => 0, - 'acting user relationships' => 0, - 'custom user relationships' => 0, - 'acting user relationships 1' => 0, - 'custom user relationships 1' => 0, - 'active group relationships acting user' => 0, - 'active group relationships custom user' => 0, - 'active group relationships 1 acting user' => 0, - 'active group relationships 1 custom user' => 0, + 'label' => 'Updated content is published', + 'arguments' => + array ( + 'node' => + array ( + 'type' => 'node', + 'label' => 'Content', + ), + ), + 'module' => 'Node', ), - 'viewer_id' => '', - ), - 'cache' => - array ( - 'cache' => 1, - 'resources' => '', + '#weight' => 0, ), - 'acting_uid' => '', - 'display_type' => 'web', - 'tid' => '7', - '#eval input' => + 1 => array ( - 'token_rules_input_evaluator' => + '#weight' => 0, + '#info' => array ( - 'placeholder' => - array ( - 0 => ':global', - ), - 'grouping|group_summary' => - array ( - 0 => ':global', - ), - 'visibility|stream_owner_id' => - array ( - 0 => ':global', - ), - 'visibility|viewer_id' => - array ( - 0 => ':global', - ), - 'acting_uid' => - array ( - 0 => ':global', - ), - 'templates|und|template' => + 'label' => 'Content was posted in a group', + 'arguments' => array ( - 0 => 'node', - 1 => 'author', - 2 => ':global', + 'node' => + array ( + 'type' => 'node', + 'label' => 'Group content', + ), ), - 'grouping|templates|und|template' => + 'module' => 'Organic groups', + ), + '#name' => 'og_rules_condition_posted_in_group', + '#settings' => + array ( + '#argument map' => array ( - 0 => ':global', + 'group' => 'node', ), ), - 'activity_log_input_evaluator_process' => - array ( - 'placeholder' => true, - 'grouping|group_summary' => true, - 'visibility|stream_owner_id' => true, - 'visibility|viewer_id' => true, - 'acting_uid' => true, - 'templates|und|template' => true, - 'grouping|templates|und|template' => true, + '#type' => 'condition', + ), + ), + '#actions' => + array ( + 1 => + array ( + '#weight' => 0, + '#type' => 'action', + '#settings' => + array ( + 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', + 'public_name' => '', + 'templates' => + array ( + 'en' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title]
+
[node:small]
', + ), + 'und' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title]
+
[node:small]
', + ), + ), + 'grouping' => + array ( + 'group_method' => 'none', + 'group_interval' => '86400', + 'group_max' => '100', + 'group_summary' => '', + 'collapse_method' => 'activity_log_collapse_inline', + 'templates' => + array ( + 'en' => + array ( + 'template' => '', + ), + 'und' => + array ( + 'template' => '', + ), + ), + ), + 'visibility' => + array ( + 'stream_owner_entity_group' => + array ( + 'active group' => 'active group', + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'active group members' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + 'node terms' => 0, + ), + 'stream_owner_id' => '', + 'stream_owner_type' => 'user', + 'viewer_entity_group' => + array ( + 'everyone' => 'everyone', + 'everyone_except_active' => 0, + 'everyone_except_custom' => 0, + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'stream_owner' => 0, + 'not_stream_owner' => 0, + 'active group members' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + ), + 'viewer_id' => '', + ), + 'cache' => + array ( + 'cache' => 1, + 'resources' => '', + ), + 'acting_uid' => '', + 'display_type' => 'web', + 'tid' => '5', + '#eval input' => + array ( + 'token_rules_input_evaluator' => + array ( + 'placeholder' => + array ( + 0 => ':global', + ), + 'grouping|group_summary' => + array ( + 0 => ':global', + ), + 'visibility|stream_owner_id' => + array ( + 0 => ':global', + ), + 'visibility|viewer_id' => + array ( + 0 => ':global', + ), + 'acting_uid' => + array ( + 0 => ':global', + ), + 'templates|und|template' => + array ( + 0 => 'node', + 1 => 'author', + 2 => ':global', + ), + 'grouping|templates|und|template' => + array ( + 0 => ':global', + ), + ), + 'activity_log_input_evaluator_process' => + array ( + 'placeholder' => true, + 'grouping|group_summary' => true, + 'visibility|stream_owner_id' => true, + 'visibility|viewer_id' => true, + 'acting_uid' => true, + 'templates|und|template' => true, + 'grouping|templates|und|template' => true, + ), + ), + ), + '#name' => 'activity_log_log_action', + '#info' => + array ( + 'label' => 'Log activity for active group', + 'label callback' => false, + 'module' => 'Activity Log', + 'eval input' => + array ( + 0 => 'placeholder', + 1 => 'grouping|group_summary', + 2 => 'visibility|stream_owner_id', + 3 => 'visibility|viewer_id', + 4 => 'acting_uid', + 5 => 'templates|und|template', + 6 => 'grouping|templates|und|template', + ), + ), + ), + 2 => + array ( + '#info' => + array ( + 'label' => 'Log activity for members of the active group', + 'label callback' => false, + 'module' => 'Activity Log', + 'eval input' => + array ( + 0 => 'placeholder', + 1 => 'grouping|group_summary', + 2 => 'visibility|stream_owner_id', + 3 => 'visibility|viewer_id', + 4 => 'acting_uid', + 5 => 'templates|und|template', + 6 => 'grouping|templates|und|template', + ), + ), + '#name' => 'activity_log_log_action', + '#settings' => + array ( + 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', + 'public_name' => '', + 'templates' => + array ( + 'en' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
+
[node:small]
', + ), + 'und' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
+
[node:small]
', + ), + ), + 'grouping' => + array ( + 'group_method' => 'none', + 'group_interval' => '86400', + 'group_max' => '100', + 'group_summary' => '', + 'collapse_method' => 'activity_log_collapse_inline', + 'templates' => + array ( + 'en' => + array ( + 'template' => '', + ), + 'und' => + array ( + 'template' => '', + ), + ), + ), + 'visibility' => + array ( + 'stream_owner_entity_group' => + array ( + 'active group members' => 'active group members', + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'active group' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + 'node terms' => 0, + ), + 'stream_owner_id' => '', + 'stream_owner_type' => 'user', + 'viewer_entity_group' => + array ( + 'stream_owner' => 'stream_owner', + 'everyone' => 0, + 'everyone_except_active' => 0, + 'everyone_except_custom' => 0, + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'not_stream_owner' => 0, + 'active group members' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + ), + 'viewer_id' => '', + ), + 'cache' => + array ( + 'cache' => 1, + 'resources' => '', + ), + 'acting_uid' => '', + 'display_type' => 'web', + 'tid' => '6', + '#eval input' => + array ( + 'token_rules_input_evaluator' => + array ( + 'placeholder' => + array ( + 0 => ':global', + ), + 'grouping|group_summary' => + array ( + 0 => ':global', + ), + 'visibility|stream_owner_id' => + array ( + 0 => ':global', + ), + 'visibility|viewer_id' => + array ( + 0 => ':global', + ), + 'acting_uid' => + array ( + 0 => ':global', + ), + 'templates|und|template' => + array ( + 0 => 'node', + 1 => 'author', + 2 => ':global', + ), + 'grouping|templates|und|template' => + array ( + 0 => ':global', + ), + ), + 'activity_log_input_evaluator_process' => + array ( + 'placeholder' => true, + 'grouping|group_summary' => true, + 'visibility|stream_owner_id' => true, + 'visibility|viewer_id' => true, + 'acting_uid' => true, + 'templates|und|template' => true, + 'grouping|templates|und|template' => true, + ), + ), + ), + '#type' => 'action', + '#weight' => 0, + ), + 3 => + array ( + '#weight' => 0, + '#type' => 'action', + '#settings' => + array ( + 'placeholder' => '#!ACTIVITY_LOG_DELIMITER:', + 'public_name' => '', + 'templates' => + array ( + 'en' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
+
[node:small]
', + ), + 'und' => + array ( + 'template' => '
[author:picture]
[author:user] added the [node:type-name] [node:title] in [node:ogname]
+
[node:small]
', + ), + ), + 'grouping' => + array ( + 'group_method' => 'none', + 'group_interval' => '86400', + 'group_max' => '100', + 'group_summary' => '', + 'collapse_method' => 'activity_log_collapse_inline', + 'templates' => + array ( + 'en' => + array ( + 'template' => '', + ), + 'und' => + array ( + 'template' => '', + ), + ), + ), + 'visibility' => + array ( + 'stream_owner_entity_group' => + array ( + 'node terms' => 'node terms', + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'active group' => 0, + 'active group members' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + ), + 'stream_owner_id' => '', + 'stream_owner_type' => 'user', + 'viewer_entity_group' => + array ( + 'everyone' => 'everyone', + 'everyone_except_active' => 0, + 'everyone_except_custom' => 0, + 'custom' => 0, + 'acting user' => 0, + 'target entity' => 0, + 'stream_owner' => 0, + 'not_stream_owner' => 0, + 'active group members' => 0, + 'active group admin' => 0, + 'acting user relationships' => 0, + 'custom user relationships' => 0, + 'acting user relationships 1' => 0, + 'custom user relationships 1' => 0, + 'active group relationships acting user' => 0, + 'active group relationships custom user' => 0, + 'active group relationships 1 acting user' => 0, + 'active group relationships 1 custom user' => 0, + ), + 'viewer_id' => '', + ), + 'cache' => + array ( + 'cache' => 1, + 'resources' => '', + ), + 'acting_uid' => '', + 'display_type' => 'web', + 'tid' => '7', + '#eval input' => + array ( + 'token_rules_input_evaluator' => + array ( + 'placeholder' => + array ( + 0 => ':global', + ), + 'grouping|group_summary' => + array ( + 0 => ':global', + ), + 'visibility|stream_owner_id' => + array ( + 0 => ':global', + ), + 'visibility|viewer_id' => + array ( + 0 => ':global', + ), + 'acting_uid' => + array ( + 0 => ':global', + ), + 'templates|und|template' => + array ( + 0 => 'node', + 1 => 'author', + 2 => ':global', + ), + 'grouping|templates|und|template' => + array ( + 0 => ':global', + ), + ), + 'activity_log_input_evaluator_process' => + array ( + 'placeholder' => true, + 'grouping|group_summary' => true, + 'visibility|stream_owner_id' => true, + 'visibility|viewer_id' => true, + 'acting_uid' => true, + 'templates|und|template' => true, + 'grouping|templates|und|template' => true, + ), + ), + ), + '#name' => 'activity_log_log_action', + '#info' => + array ( + 'label' => 'Log activity for related taxonomy terms', + 'label callback' => false, + 'module' => 'Activity Log', + 'eval input' => + array ( + 0 => 'placeholder', + 1 => 'grouping|group_summary', + 2 => 'visibility|stream_owner_id', + 3 => 'visibility|viewer_id', + 4 => 'acting_uid', + 5 => 'templates|und|template', + 6 => 'grouping|templates|und|template', + ), ), ), ), - '#type' => 'action', - '#weight' => 0, + '#version' => 6003, ), - ), - '#version' => 6003, - ), ); } + /** * Self status update */ @@ -3970,4 +3812,4 @@ function activity_log_rules_defaults_ur_request() { '#version' => 6003, ), ); -} +} \ No newline at end of file