no user blocks are showing up no way to configure anything to add relationships D7 install with or without views no blocks? Thanks

Comments

Renegadez’s picture

Any one? Thanks

haebooty’s picture

I have the same issue. The only block that shows up is the Pending Relationships one.

berdir’s picture

Not sure if I can follow.

Is this an upgrade or a new installation? What exactly are you expecting, which modules do you have installed. More information and some screenshots please :)

berdir’s picture

Status: Active » Postponed (maintainer needs more info)
Renegadez’s picture

I have the module installed enabled and all the requirements it needs to work for the mods I want to use in my D7 sandbox. I have tried this on 2 different servers and 2 different D7 installs. Now I assume when I go into blocks and set a block specifically

User Relationships: Actions and configure this to the FIRST SIDE BAR of my theme that the user should see some kind of block or data to make use of the USER RELATIONSHIPS module or how elese could they add relationships?? Thanks

Enabled Name Version Description Operations
UR-API 7.x-1.x-dev API for User Relationships. This will only provide the programmer interface.
Required by: UR-UI (enabled), UR-Blocks (enabled), UR-Defaults (enabled), UR-Elaborations (enabled), UR-Implications (enabled), UR-Invite (disabled), UR-Mailer (enabled), UR-Node Access (enabled), UR-Services (disabled), UR-Views (enabled), UR-Panels Visibility (enabled), UR-Rules (disabled)
Permissions
UR-Blocks 7.x-1.x-dev Blocks that can be used with User Relationships
Requires: UR-API (enabled), UR-UI (enabled)

UR-Defaults 7.x-1.x-dev Allows admins to specify relationships that are automatically created when a new user joins
Requires: UR-API (enabled), UR-UI (enabled)

UR-Elaborations 7.x-1.x-dev Allow users to elaborate on their relationships with others
Requires: UR-API (enabled)

UR-Implications 7.x-1.x-dev Lets admins create implied relationships. For example 'Manager implies Coworker'
Requires: UR-API (enabled), UR-UI (enabled)

UR-Invite 7.x-1.x-dev Gives users the option of specifying a relationship when inviting new users
Requires: UR-API (enabled), UR-UI (enabled), Invite (missing)

UR-Mailer 7.x-1.x-dev Gives the option to mail users when about relationship events (request, remove, disapprove, approve, etc)
Requires: UR-API (enabled), UR-UI (enabled)

UR-Node Access 7.x-1.x-dev Provides per node access control based on relationship to author
Requires: UR-API (enabled)
Permissions
UR-Panels Visibility 7.x-1.x-dev Provide visibility for panels panes and pages based on User Relationships
Requires: UR-API (enabled), Chaos tools (enabled)

UR-Rules 7.x-1.x-dev Rules integration for User Relationships.
Requires: UR-API (enabled), Rules (missing)

UR-Services 7.x-1.x-dev Provides functions of User Relationships to Services module.
Requires: Services (missing), UR-API (enabled)

UR-UI 7.x-1.x-dev User Relationships UI. This enables basic UI functionality for User Relationships
Requires: UR-API (enabled)
Required by: UR-Blocks (enabled), UR-Defaults (enabled), UR-Implications (enabled), UR-Invite (disabled), UR-Mailer (enabled)
Help Permissions
UR-Views 7.x-1.x-dev Integrates User Relationships with Views
Requires: UR-API (enabled), Views (enabled), Chaos tools (enabled)

haebooty’s picture

Component: Code » User interface
StatusFileSize
new12.27 KB
new87.9 KB
new118.3 KB
new128.46 KB

Sorry if I am am hi-jacking this issue from you Renegadez ><. Here is the situation for me Berdir. I have attached 4 screen shots. The first is showing which modules I have activated. The second is showing where their corresponding blocks should be located. I should note there are no restrictions and are set to show on every page for every role. The third is the blocks that are shown at the locations (only pending is shown). Lastly is the default .com/relationships page.

There appears to be no interface for users to add friends (friends is the relationship type I have created) , delete, and so on. Is there something I am missing? I looked around configuration/relationships but could not find anything to solve this issue.

Forgot to mention that this is a new D7 installation.

Renegadez’s picture

@haebooty No its sounds as if we have the same issue yep thats the same as me no way to add remove or anything for relationships

haebooty’s picture

StatusFileSize
new80.69 KB

I have been able to add friends using only the ADD DEFAULT option, which appears to work and then the USER RELATIONSHIPS ALL and MY FRIENDS blocks appear as they should. However outside of that there does not seem to be a UI to add friends.

When you add a friend this way under /relationships they appear under the relationship type tab and are able to be removed, but not under the ALL tab.

And again I want to thank you for bringing us this wonderful module. :)

haebooty’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

@ Berdir, I apologize for wasting your time. I figure out how it works. And thank you again for this wonderful module.

@ Renegadez, to add friends you click on their profile and at the bottom there is a link that says become %%%% friend.

Renegadez’s picture

User Relationships: Actions and configure so this does not create a user block? that should show up on the page or am i missing something? Thats another issue I do not see anywhere to get a profile list of users that i could add as a friend?

Renegadez’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

@Berdir do you know of a working D7 site that is using your UR module so we can look at it and see how it is suppose to function? maybe we are confused Thanks

haebooty’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new113.51 KB
new99.71 KB

I apologize for the multiple posts. However I have hit a new error.

The block "User Relationships: Actions" does not display.

There is also another error as noted at the top of the screen that I encounter when UR-Blocks Module is activated.

I have attached two SS, one showing that the Block is active and show be shown on the left sidebar, and the second showing that it is not present.

berdir’s picture

I think I have an idea what's causing this. Can you try to enable the php module?

Right now, it depends on the ability execute PHP to figure out which user you are viewing. I know that's bad and it needs to be changed but that's how it worked in 6.x and we only just commited the initial port.

Renegadez’s picture

@ #13 BerdirExactly
what PHP module are your referring to in D7 the only PHP Module I see is Thanks

PHP filter 7.0 Allows embedded PHP code/snippets to be evaluated.

@ #12 haebooty
That is the same issue we have been discussing in the entire thread

berdir’s picture

#14: Exactly that module, yes.

Just try to enable it temporarly to see if the block does show up then.

Renegadez’s picture

Negative it did not change anything I am not sure why PHP Filtering would help a block appear in the theme block? I also completely reloaded the UR because I had removed it so I enable the PHP filter then upped the ur mod then enabled and then set the block

berdir’s picture

Status: Active » Needs review
StatusFileSize
new6.59 KB

Ok..

First: You are aware that the actions block only displays if the page you are viewing can be tracked to a specific user? For example user profile, nodes or the blog.

Apart from that, this patch removes the hidden dependency on php.module and instead uses a hardcoded function to load the user id + a hook.

Please test.

berdir’s picture

Title: No Blocks showing » Remove php.module dependeny
Category: support » task

Re-targeting the issue.

haebooty’s picture

Appears to be working. Thank you.

berdir’s picture

Status: Needs review » Fixed

Great.

Commited.

BenK’s picture

Keeping track of this thread.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.