README.txt in User Relationships 6
User Relationship Blocks
------------------------
Provides a few basic blocks for use with User Relationships. Block explanaitions are below.
Send comments to Jeff Smick: http://drupal.org/user/107579/contact, or post an issue at
http://drupal.org/project/user_relationships.
Requirements
------------
Drupal 6
User Relationships API
User Relationships UI
Installation
------------
1. Enable User Relationship Blocks in the "Site building -> Modules" administration screen.
Blocks
------
User Relationships: Actions
Some basic actions that can be performed between the current user and the user being viewed*.
This block is useful for those using nodeprofile
My Pending Relationships
Shows all the pending relationship requests, both requested from and of the current user.
My Relationships: All Relationships
Shows all of the current users relationships. The number of relationships and the order
in which they're shown can be configured.
My Relationships: {Relationship Type}
Where {Relationship Type} is a specific relationship type. This will show only the current
user's relationships of the specified type.
User Relationships: All Relationships
Like "My Relationships: All Relationships" only it shows the relationships of the user being
viewed*
User Relationships: {Relationship Type}
Like "My Relationships: {Relationship Type}" only it shows the relationships of the user being
viewed*
* A note about the user being viewed:
This user is found using a PHP function. It can be configured per block to be specific to your site.
This is for more expert users (and is really only needed by expert users). You can find the current
default code in the "_user_relationship_blocks_find_user_php" function in "user_relationship_blocks.module"
Theme Developers
----------------
There is one theme function and three theme files.
The function is "theme_user_relationship_block_subject" and is used to generate the title of the block
The files are under the "templates" directory and listed below:
user_relationships-block for "My Relationships: " and "User Relationships: " blocks
user_relationships-pending_block for pending relationships
user_relationships-actions_block for relationship actions
Credits
-------
Originally Written by JB Christy.
Rewritten by Jeff Smick.
Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
File
user_relationship_blocks/README.txt
View source
-
- User Relationship Blocks
- ------------------------
- Provides a few basic blocks for use with User Relationships. Block explanaitions are below.
-
-
- Send comments to Jeff Smick: http://drupal.org/user/107579/contact, or post an issue at
- http://drupal.org/project/user_relationships.
-
-
- Requirements
- ------------
- Drupal 6
- User Relationships API
- User Relationships UI
-
-
- Installation
- ------------
- 1. Enable User Relationship Blocks in the "Site building -> Modules" administration screen.
-
-
- Blocks
- ------
- User Relationships: Actions
- Some basic actions that can be performed between the current user and the user being viewed*.
- This block is useful for those using nodeprofile
-
- My Pending Relationships
- Shows all the pending relationship requests, both requested from and of the current user.
-
- My Relationships: All Relationships
- Shows all of the current users relationships. The number of relationships and the order
- in which they're shown can be configured.
-
- My Relationships: {Relationship Type}
- Where {Relationship Type} is a specific relationship type. This will show only the current
- user's relationships of the specified type.
-
- User Relationships: All Relationships
- Like "My Relationships: All Relationships" only it shows the relationships of the user being
- viewed*
-
- User Relationships: {Relationship Type}
- Like "My Relationships: {Relationship Type}" only it shows the relationships of the user being
- viewed*
-
-
- * A note about the user being viewed:
- This user is found using a PHP function. It can be configured per block to be specific to your site.
- This is for more expert users (and is really only needed by expert users). You can find the current
- default code in the "_user_relationship_blocks_find_user_php" function in "user_relationship_blocks.module"
-
-
- Theme Developers
- ----------------
- There is one theme function and three theme files.
-
- The function is "theme_user_relationship_block_subject" and is used to generate the title of the block
-
- The files are under the "templates" directory and listed below:
- user_relationships-block for "My Relationships: " and "User Relationships: " blocks
- user_relationships-pending_block for pending relationships
- user_relationships-actions_block for relationship actions
-
-
- Credits
- -------
- Originally Written by JB Christy.
- Rewritten by Jeff Smick.
- Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)