Jump to content

markymids

Members
  • Posts

    251
  • Joined

  • Last visited

Reputation Activity

  1. Like
    markymids got a reaction from AmericanRev2 in Who Was Online   
    I was able to achieve this by changing the whowasonline css foreach block to something like this:
    {{foreach $members as $row}} <ul class='ipsList_inline ipsList_noSpacing cCustomField'> {{$member = \IPS\Member::load( $row['member_id'] );}} <li>{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}</li> </ul> {{endforeach}} I had to use a new class cCustomField to get the avatars to display in one long row, I put this in custom.css
    .cCustomField { display: inline-block; }  
  2. Thanks
    markymids got a reaction from Ramsesx in Who Was Online   
    I was able to achieve this by changing the whowasonline css foreach block to something like this:
    {{foreach $members as $row}} <ul class='ipsList_inline ipsList_noSpacing cCustomField'> {{$member = \IPS\Member::load( $row['member_id'] );}} <li>{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}</li> </ul> {{endforeach}} I had to use a new class cCustomField to get the avatars to display in one long row, I put this in custom.css
    .cCustomField { display: inline-block; }  
  3. Like
    markymids got a reaction from HCICT in Who Was Online   
    I was able to achieve this by changing the whowasonline css foreach block to something like this:
    {{foreach $members as $row}} <ul class='ipsList_inline ipsList_noSpacing cCustomField'> {{$member = \IPS\Member::load( $row['member_id'] );}} <li>{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}</li> </ul> {{endforeach}} I had to use a new class cCustomField to get the avatars to display in one long row, I put this in custom.css
    .cCustomField { display: inline-block; }  
  4. Like
    markymids got a reaction from Ioannis D in Who Was Online   
    I was able to achieve this by changing the whowasonline css foreach block to something like this:
    {{foreach $members as $row}} <ul class='ipsList_inline ipsList_noSpacing cCustomField'> {{$member = \IPS\Member::load( $row['member_id'] );}} <li>{template="userPhoto" app="core" group="global" params="$member, 'tiny'"}</li> </ul> {{endforeach}} I had to use a new class cCustomField to get the avatars to display in one long row, I put this in custom.css
    .cCustomField { display: inline-block; }  
×
×
  • Create New...