• 20 followers

a list of people online with avatar and nickname

It would be wise to have a list of people online with avatar and nickname. as a block for example that could be displayed on different pages, or simply on home page

  • 61
  • Hello Vincent M 🇫🇷 !

    Please specify why is impossible to use the "Online People" block from Persons app?

    • LeonidS  misspoke I wish a block with the online membership list with just username and avatar. example in photoI

      image_transcoder.php?o=bx_froala_image&h=914&dpx=2&t=1549911657

      • You can add service block via Developer module with the following code:

        array (
          'module' => 'bx_persons',
          'method' => 'browse',
          'params' => 
          array (
            0 => 
            array (
              'mode' => 'online',
              'params' => 
              array (
                'unit_view' => 'showcase_wo_info',
              ),
            ),
          ),
        )

        It will display just user icons.

        Starting form the next update you can use this, this should exactly what you need, icon + user's name:

        array (
          'module' => 'bx_persons',
          'method' => 'browse',
          'params' => 
          array (
            0 => 
            array (
              'mode' => 'online',
              'params' => 
              array (
                'unit_view' => 'simple',
              ),
            ),
          ),
        )


        • thank you Alex T⚜️ . how do i make to enlarge the size of the avatars of the members on this code

          • You can't enlarge avatars in this code, you need to make custom template to change it, or you can do it via custom css, but it will just stretch existing image. 

            3
            2
            1
            Labels:
            Added:
            Category: