Closed (fixed)
Project:
User Relationships
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2007 at 18:07 UTC
Updated:
28 Sep 2007 at 23:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
prfctns6@gmail.com commentedAttached is a patch that creates a number of blocks which display relationships.
There are 2 classes of blocks: "My <relationships>" blocks display the relationships of the user who is viewing the site; "User <relationships>" blocks display the relationships of the user whose profile is being viewed. For each of the 2 classes of blocks, there is one block for each defined relationship type, and one block which displays all relationships. So if there are n relationship types defined, there are 2*(n+1) blocks defined.
In this first implementation, the "User <relationships>" blocks are hardcoded to only display on nodes of type 'usernode'. Future plans are to allow the administrator to configure which node types the "User <relationships>" blocks should display on.
All of the blocks have the following configuration options:
Comment #2
prfctns6@gmail.com commentedComment #3
prfctns6@gmail.com commentedIn the patch I submitted yesterday, the blocks contained all relationships, not just those that are approved. Attached is a new complete patch, with that portion of the code fixed.
Comment #4
zahor commentedThe "My (relationship_name)" block displays all relationships for me on each block - so every block has everyone even though the relationships are different.
Comment #5
sprsquish commentedJB can you request CVS access so I can give you commit rights to maintain the blocks plugin?
Tanks :o)
Comment #6
AjK commentedCVS application approved, added to project. Have a good day folks!
Comment #7
prfctns6@gmail.com commentedZahor:
Can you tell me something about your configuration?
Also, in blocks other than the "My Relationships" block (which is supposed to have all relationships), what do you see for each relationship: just the user name, or the user name and the name of the relationship?
Thanks.
Comment #8
prfctns6@gmail.com commentedComment #9
prfctns6@gmail.com commentedChecked in the 1.0 version of the block code. This code does not address Zahor's issue, as I need more info from Zahor before I can debug.
Possible enhancements for future versions:
Comment #10
prfctns6@gmail.com commented