The action block does not display in a panel that replaces a user's profile page.
Also, it does not display in a page created by the Views module with the path: user/%/friends although it is set to display on all pages.
Is that a bug or am I doing something wrong? Any other solution?
Thanks. :)

Comments

BootstrapJohnny’s picture

I have the same issue. I receive the following error when setting the block visibility to Authenticated Users only:

Notice: Undefined index: size in user_relationship_blocks_block_save() (line 321 of /home3/foo/public_html/foo/sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).
Notice: Undefined index: sort in user_relationship_blocks_block_save() (line 322 of /home3/foo/public_html/foo/sites/all/modules/user_relationships/user_relationship_blocks/user_relationship_blocks.module).

Triumphent’s picture

Using the other block provided by User Relationships instead of the action block, worked for me.

fugazi’s picture

same problem, no action block

fugazi’s picture

solved Database table "block" user_relationship_block action "weight" 0 to 1

vip_sa’s picture

Changing the weight in the database did not work for me and I still cannot see the actions block. What other block @Triumphent are you referring to pls?

Triumphent’s picture

I do not have the site any longer as it was turned over to the client. So, I do not remember the details but I do recall, however, that the module came with at least two views. Using the recommended view did not work for me. Using the other (the less obvious one) did display normally. Hope that helps.

ramdhanh’s picture

Issue summary: View changes

I successfully get the actions block appear by commented line 212 and 214 on user_relationships_blocks.module. But I don't know yet what the implications on the others function. Can please anyone reviews? Thanks.

  elseif ($uid = _user_relationship_blocks_get_uid($delta)) {
    $account_loaded = user_load($uid);
    //if ($account_loaded && user_relationships_ui_check_access('view', $account_loaded, user_relationships_type_load($rtid))) {
      $account = $account_loaded;
    //}
  }