Im just wondering if its possible to use the Recent Status Updates block but set it to only show users statuss who are in a relationship with the set user.

Thanks

Comments

icecreamyou’s picture

Status: Active » Closed (fixed)

Yes, that would be the purpose of the "Facebook Status UR Recent Updates" block.

StarPower-Com’s picture

sorry i cant get that block to show, the other ones are there though.

I tried to create the block myself using this code from http://drupal.org/node/346714

  //RTID = 1.
  $content = facebook_status_get_rel_status(1);
  $content = facebook_status_list_render($content);
  if ($content) {
    $content = '<div class="facebook_status_block_rel">'. $content .'</div>';
    echo $content;
  }

but nothing shows up

StarPower-Com’s picture

I cant get that block to show. I have the other ones.

I tried to create the block using the snippet on http://drupal.org/node/346714

<?php
  //RTID = 1.
  $content = facebook_status_get_rel_status(1);
  $content = facebook_status_list_render($content);
  if ($content) {
    $content = '<div class="facebook_status_block_rel">'. $content .'</div>';
    echo $content;
  }
?>

but nothing shows up

icecreamyou’s picture

Perhaps this is obvious, but it only shows up if the current user actually has relationships, and if relationship types were chosen for the block in the block's settings, and if the current user has permission to see it.

Any errors in your log?