123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- uuid: fa9afa3d-43aa-47e8-a1cc-2a7c2cd386a8
- langcode: en
- status: true
- dependencies:
- module:
- - user
- _core:
- default_config_hash: m0vmYmhrzMR6S_IC0UlK0Cl-q5lEvL8-EbxbbcDtk34
- id: who_s_online
- label: 'Who''s online block'
- module: user
- description: 'Shows the user names of the most recently active users, and the total number of active users.'
- tag: default
- base_table: users_field_data
- base_field: uid
- core: 8.x
- display:
- default:
- display_plugin: default
- id: default
- display_title: Master
- position: 0
- display_options:
- access:
- type: perm
- options:
- perm: 'access user profiles'
- cache:
- type: tag
- options: { }
- query:
- type: views_query
- options:
- disable_sql_rewrite: false
- distinct: false
- replica: false
- query_comment: ''
- query_tags: { }
- exposed_form:
- type: basic
- options:
- submit_button: Apply
- reset_button: false
- reset_button_label: Reset
- exposed_sorts_label: 'Sort by'
- expose_sort_order: true
- sort_asc_label: Asc
- sort_desc_label: Desc
- pager:
- type: some
- options:
- items_per_page: 10
- offset: 0
- style:
- type: html_list
- options:
- grouping: { }
- row_class: ''
- default_row_class: true
- type: ul
- wrapper_class: item-list
- class: ''
- row:
- type: fields
- fields:
- name:
- id: name
- table: users_field_data
- field: name
- label: ''
- plugin_id: field
- type: user_name
- alter:
- alter_text: false
- make_link: false
- absolute: false
- trim: false
- word_boundary: false
- ellipsis: false
- strip_tags: false
- html: false
- hide_empty: false
- empty_zero: false
- relationship: none
- group_type: group
- admin_label: ''
- exclude: false
- element_type: ''
- element_class: ''
- element_label_type: ''
- element_label_class: ''
- element_label_colon: true
- element_wrapper_type: ''
- element_wrapper_class: ''
- element_default_classes: true
- empty: ''
- hide_alter_empty: true
- entity_type: user
- entity_field: name
- filters:
- status:
- value: '1'
- table: users_field_data
- field: status
- id: status
- expose:
- operator: '0'
- group: 1
- plugin_id: boolean
- entity_type: user
- entity_field: status
- access:
- id: access
- table: users_field_data
- field: access
- relationship: none
- group_type: group
- admin_label: ''
- operator: '>='
- value:
- min: ''
- max: ''
- value: '-15 minutes'
- type: offset
- group: 1
- exposed: false
- expose:
- operator_id: access_op
- label: 'Last access'
- description: 'A user is considered online for this long after they have last viewed a page.'
- use_operator: false
- operator: access_op
- identifier: access
- required: false
- remember: false
- multiple: false
- remember_roles:
- authenticated: authenticated
- anonymous: '0'
- administrator: '0'
- is_grouped: false
- group_info:
- label: ''
- description: ''
- identifier: ''
- optional: true
- widget: select
- multiple: false
- remember: false
- default_group: All
- default_group_multiple: { }
- group_items: { }
- plugin_id: date
- entity_type: user
- entity_field: access
- sorts:
- access:
- id: access
- table: users_field_data
- field: access
- order: DESC
- relationship: none
- group_type: group
- admin_label: ''
- exposed: false
- expose:
- label: ''
- granularity: second
- plugin_id: date
- entity_type: user
- entity_field: access
- title: 'Who''s online'
- header:
- result:
- id: result
- table: views
- field: result
- relationship: none
- group_type: group
- admin_label: ''
- empty: false
- content: 'There are currently @total users online.'
- plugin_id: result
- footer: { }
- empty:
- area_text_custom:
- id: area_text_custom
- table: views
- field: area_text_custom
- relationship: none
- group_type: group
- admin_label: ''
- empty: true
- tokenize: false
- content: 'There are currently 0 users online.'
- plugin_id: text_custom
- relationships: { }
- arguments: { }
- display_extenders: { }
- cache_metadata:
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - user.permissions
- max-age: -1
- tags: { }
- who_s_online_block:
- display_plugin: block
- id: who_s_online_block
- display_title: 'Who''s online'
- position: 1
- display_options:
- block_description: 'Who''s online'
- display_description: 'A list of users that are currently logged in.'
- display_extenders: { }
- cache_metadata:
- contexts:
- - 'languages:language_content'
- - 'languages:language_interface'
- - user.permissions
- max-age: -1
- tags: { }
|