User Relationships is a Drupal module that allows a site users to create relationships between each other, like following on Twitter or friending on Facebook. Both reciprocal (Facebook-style) and unidirectional (Twitter-style) relationships are supported.

learn more… | top users | synonyms

3
votes
1answer
30 views

How to change the autocomplete for a user reference to show First/Last name instead of username?

I want to add a user reference field to an "event" content type, and reference the user who will present. But I wonder how to change the entity reference - I've tried using the "filter by an entity ...
0
votes
0answers
12 views

Exclude content from Views output based on User Relationships or Flags

My users have the ability to add a User Relationship called "blocked" with any other user. If User A visits User B's profile and adds this relationship to User B (it does not require approval), I ...
2
votes
1answer
26 views

How can I display Visitor's country flag depending on his IP address?

How can I display Visitor's country name and flag and depending on his IP address in a block? Thanx
2
votes
0answers
19 views

How do I multisite with share user (and SSO), separate/dedicated users' role and content database on each site [closed]

I like to make Drupal 8 in CentOS 7 with Apache 2.4, mySQL and PHP 5.6 environment with requirements: Multi-site within domain (site0.example.org, site1.example.org, etc.) Shared local user account ...
1
vote
1answer
31 views

How to hide empty blocks supplied by the User Relationship module?

I am trying to hide a module supplied block (User Relationships action block) from appearing on nodes posted by the logged in user. The block shows as empty on those pages. I have tried php in the ...
0
votes
0answers
21 views

how can i get last commented user's profile picture on page

I have a content type -> article page, with comments allowed I have a view which displays article page content with latest content with its last comment on page. I want to add a commented users ...
0
votes
0answers
20 views

Multisite with separate DB but shared user accounts

I'm wondering if it is possible to create multi-site programatically (through custom module) where user can register account themselves and then create site. Database has to be separated but user ...
1
vote
1answer
51 views

How to compute and display value of some fields?

I'm facing the issue but not found the way to resolve. is there any way to help me this. The issue is that I want to display the total value (included sum and get percent, etc) of some fields depend ...
0
votes
0answers
26 views

Allow user to block another user from accessing their nodes/content

I am trying to figure out the best way to allow User 1 to block User 2 from viewing/accessing any of User 1's content (nodes they have created, Profile2 page, etc). Ideally, User 1 will not show up in ...
1
vote
1answer
26 views

Add multiple friends at once with user relationships

I am using the User Relationships module and I created a table in Views with all of the site users. There is a field where you can add or remove a friend. But (especially the first time) the users ...
0
votes
1answer
38 views

Show or hide fields in view based on a user relationships

I have a table on my site made with views. I have the User Relationships module installed so users can connect with each other. I want most of the fields to be visible for all users but there is one ...
2
votes
0answers
34 views

Show or hide fields in view based on a user relationship [closed]

I have a table on my site made with views. I have the User Relationships module installed so users can connect with each other. I want most of the fields to be visible for all users but there is one ...
1
vote
0answers
8 views

Does AJAXify of create relationship link possible out of the box?

I'm using User Relationship module. I've enabled: ur ur_ui ur_views and added UR link to View. By default this link work with relationship confirmation form. Any module/settings in UR to ajaxify ...
0
votes
0answers
19 views

How to share content with other users?

I am trying to give an authenticated user a CTA to share a node/content with other users that may be Friend/Follower/Family/Group member. I have the Organic groups module enabled but I am unable to ...
1
vote
2answers
53 views

List of content types posted/commented by users I follow

I'm running a D7 system Where users can follow each other using 'Follow' flag on user's profile. Now I've been assigned a task to come up with a view where I can have a list of content ...
0
votes
1answer
49 views

Flags to create mutual friends?

I'm running a D7 system where users follow each other by using a 'follow' flag and then on user profile I've added a view to show all the users followed by a 'logged-in-user'. What I'm struggling ...
0
votes
1answer
77 views

How to redirect “relationships/received” to "user/[requestee:uid]/relationships/received?

(D7) When a user sends a friend's invitation to another user (User Relationships) the other user, once he logs in, sees a green message that informs him so-and-so sent him a friends request. There is ...
-1
votes
3answers
55 views

IP white address not accepting my current IP

It says "Enter the list of allowed IP addresses below Warning: If you don't enter your current IP address into the list, you will immediately be locked out of the system upon save, and will not be ...
3
votes
1answer
36 views

Users are unable to approve a one way relationship

I've set up a one way relationship with the User Relationships module When one user requests a relationship to another user, the table that should allow the other user to approve/deny the request has ...
0
votes
1answer
151 views

Show user content in taxonomy term page

I'm using References module to use User Reference field in Taxonomy Term page. I have added new Term called "Matt's books" with user Matt set in User Reference field (field_user). User Matt has ...
0
votes
1answer
123 views

How to print add/remove link for user relationships module?

I want to print Add/Remove friend link fro user relationship module on user profile page. I am trying this using below code but its causing white screen. //add link global $user; $account = ...
0
votes
1answer
176 views

How to get relationship id in views drupal 7?

I am using User relationships module and created relation friends. Where we can send and receive friend requests just like fb. So l have created view to list all my-friends and also added remove link ...
0
votes
1answer
151 views

How to change default message from user relationships module?

I am using User Relationships module. Its working fine. But I want to change a default message which get displayed on user site after getting request. The message is like "John has requested to ...
0
votes
1answer
61 views

where to find default view code in user relationships module in drupal 7?

I have installed user relationship module. Which gives me default views to display the list of friends, received requests and sent requests. I want to show a message to the user about the number of ...
1
vote
1answer
80 views

View of all users and their relationship(s) with the current one

I've been trying to create a view of all users, showing their relationship to the current one. I can't figure out a way to display all of them. By adding the Contextual filters User UID or Requester ...
1
vote
0answers
39 views

Query to Database

I want make a query for get some products related with the identified user. The type contain has a taxonomy field called 'operating system' and the main profile has also it. For example: If a user has ...
1
vote
1answer
95 views

User relationship module - error strict warning: Only variables should be passed by reference [duplicate]

module name: User Relationships. module version is: 7.x-1.0-alpha5 whenever i try to add relationship type or edit it give me this error: Strict warning: Only variables should be passed by ...
1
vote
0answers
66 views

How can I allow only friends to see a specific user field?

I want to make a simple social network website using Drupal 7. There will be a relationship type like 'friendship', based upon the User Relationships module. After a lot of Googling, I haven't found ...
0
votes
1answer
199 views

How to display user picture programmatically in a rule (User Relationships)

Starting from the code in a previous question, I am now trying to post a user picture in a rule that displays a relationship between two users (User Relationships module.) It is the requestees's ...
1
vote
0answers
62 views

make question answer content type with answer as a separate node?

I want to create a "question" content type, but is it possible to make the answer a separate node, because I want to use views with user relationships module to show answers to friends or followers. ...
2
votes
1answer
159 views

Publishing events on a calendar to an individual/a specific group/ or all

Hey I'm new to drupal and trying to create a calendar that users can publish different items to. there are different roles involved say: worker, supervisor, manager. workers are divided into ...
1
vote
0answers
48 views

how can i create multiple recipients of status messages

Is there a way where I can share statuses to multiple recipients in Drupal7 using statuses module (microblog) It would be great if someone can point me out how to send messages to any of relation only ...
1
vote
0answers
51 views

How to prevent users with no relationship from viewing each others statuses stream

I have Statuses and user relationship module installed. I would like to prevent users who do not have a relationship from being able to view each others statuses stream. It appears that by default, ...
0
votes
1answer
497 views

How to add link to create relationship in a view

In my project, I have user relationship module installed. I created a view of online users. I then tried to include a link to enable users "add friends or create relationship" in the view by adding ...
3
votes
1answer
924 views

How do I show content based on relationship?

There are two users A & B. A is in "friends" type relation with B. Basically what i want to achieve with this is that i want to display blog posts made by B (or any friends of A) to A. Now the ...
0
votes
1answer
760 views

link to create a user relationship type in views

I have user relationship, statuses and views installed. I created a view which shows "users online". I need to add a link to the view, that would allow other users to "create a relationship" with ...
1
vote
1answer
128 views

Status message appears multiple times on status stream

I have user relationship and Status modules installed. Each time a user posts a message on his/her profile it appears 12 times in his/her status stream while it appears once in other users stream. ...
1
vote
1answer
196 views

How to implement something like OG which the groups can manage on their own?

I'm building a learning tracking site for a community where Mentors will match up with Mentees. I'd like them to create either an organic group or a paired relationship to share content (seen only by ...
0
votes
1answer
252 views

user relationship node access is not working

I have enabled the module and tried to work on it. I have created the following users: mtest, emptest, and mdev. I'm using the Views module to show the nodes. The nodes posted by emptest should only ...
1
vote
1answer
232 views

Default user relationships with the site admin

I am using the User Relationships module for my Drupal7 site. I have created a one way relationship with reciprocal by the name "Follower". So if User A can be followed by User B. Also, User A can ...
0
votes
1answer
101 views

Anonymous user having user relationships

I have come up with a peculiar problem. IO am using the User Relationships module for my Drupal 7 site. The issue is that i had given privileges to the anonymous user to view user profile. The ...
0
votes
1answer
551 views

User relationship requests in a view block with accept and decline links

I have a node in which i want to show a user all the relationship requests the current user has received and a status link below that so that the user can accept or decline the request then and there ...
1
vote
0answers
259 views

Relationship action on custom user profile in custom block

I have customized the user profile view using panels. All great. Works like a charm. However i am stuck at one point. In the default view there is an option for users to add relationships (using the ...
0
votes
2answers
55 views

Views - how to display a column showing who made the last update

I'm updating the main content2 view, and I'd like to add another column to show which user made the last update. I'm using workbench moderation, in case that makes any difference.
8
votes
1answer
1k views

Get the number of followers and following in user relationship

I have created a relationship Followers which can be reciprocated using the user relationship module. Now user A's relationship is something like: Followers(Them to you): User B, User C, User D ...
1
vote
0answers
152 views

Display how many followers and following

I am using user_relationship module. I would like to display on user profiles how many followers do they have and how many do they follow... Can someone help me? Thank you!
0
votes
1answer
282 views

user relationship status as a visibility rule per panel pane

how make a visibility rule based on UR status I've made a function to get the status between the visitor and the visited profiles I ask if the module provide it or could i make it appear in ...
1
vote
2answers
557 views

Display user picture in User Relationship block

In my social networking site, i have provided for users to be able to forge relationships between themselves using the User relationship module. This is working fine. I am creating a tab using ...
1
vote
1answer
785 views

View to show user relationships with different fields

I am using the User Relationships module to allow users to forge relations between themselves. The relationship is 1 way of type Following. I have been able to do so. Now i want to create a view for ...
0
votes
2answers
560 views

Notification when creating/editing node

I have been trying for day to configure / search support for Notifications & Subscriptions to try to get them solve my problem but I have achieved no good results, I don't even know what the ...