Download & Extend

provide integration with ignore user module

Project:User Relationships
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:jaydub
Status:closed (duplicate)

Issue Summary

It will be great if there is integration with ignore user module which allows to ignore all content by a user. Instead of a seperate ignore list, this list can be at once place in UR. I also created an issue here.

http://drupal.org/node/249777

Comments

#1

Can you be a bit more specific with your intentions for this?

How would UR play a role in the ignore process?

#2

I am thinking from end user perspective. When I add someone to "ignore", I have sort of established a one way relationship with that user called "ignore". This is opposite of one way relationship "fan" where the fan wants to know all the activities of the "admired" person. I would like all my relationships friend, close friend, fan, ignored at one place so It is easier to manage.

So at a simple level I am proposing when ignore user module is enabled, there is a tab/section with UR configuration which shows list of ignored uses and facility to modify the list. This is plain UI integration and the underlying code can be handled by each module.

At little advanced level, I am proposing, once I put someone on ignore, I sort of ban the user from UR (subject of another open UR issue http://drupal.org/node/203364) such that the ignored user would not be able to send additional requests, private messages etc.

#3

whoa... well I'll give you one thing: you opened up my mind on how both of these problems might be solved. I hadn't really thought about the fact that "banned" or "ignored" is a one-way relationship to another user.

#4

Version:5.x-3.x-dev» 6.x-1.x-dev
Assigned to:Anonymous» jaydub

Well I am the author of Ignore User so I guess I should take part in this dicussion...Will ponder the possibilities and see what can be worked out.

#5

I really like this idea. The more we can simplify the UI for the user, the better. And it does make sense that ignoring someone is a type of relationship with that someone.

Michelle

#6

i need some ignore functionality for my current project. i tried with one-way relationships, but with beta10 the ignored user can see he's ignored and delete that relation - not good...

with hook_socnet_is_blocked there is already a way to check if a user is blocked, but it's not implemented. if you can tell me where to start or already have an idea on how to do it i'll implement it

i can spend about three days on this

#7

Looking at this issue and at Ignore User, it would be good if IU implemented the socnet API, so that hook_socnet_is_blocked was populated from that module. That would be conceptually the simplest way - as you'd only need to worry about integrating the UI.

If it were to be done using UR, then one possibility is extending role controls from #228206: Different types of relationships per role type. If another option was "Requestees in these roles can remove this relationship:" followed by a list of roles, it'd then be possible to create a type of relationship that the requestee cannot remove. Probably add a requesters option for symmetry, too.

EDIT: clicked save too soon... a reasonable expectation is to have users ban each other... in which case #348025: Two way of one-way relationship will need to be finished.

#8

So if I implement hook_socnet_is_blocked in IU then UR will catch that and disallow the users in question from establishing any relationships?

What about what happens to any established relatonships?

#10

???

#11

I deleted it, jaydub. Looks like a confused newbie maybe...?

Michelle

#12

UR is not checking hook_socnet_is_blocked but adding such a check would be a very good way to handle it.

[EDIT] Sorry for not picking this up earlier.

#13

Status:active» closed (duplicate)

Closing this as a duplicate of #203364: Allow to ban a user. The two approaches will not both be implemented, so that issue will be the place for what form the final approach takes to be decided.

nobody click here