You are here

README.txt in User Relationships 6

User Relationship Implications Module
-------------------------------------
This is a plugin module for the User Relationships module.

It allows admins to set up implied relationships (ex: Manager implies Coworker).
These implies relationships will be automatically created. If a relationship that is
implied by another is deleted the implied by relationship is also deleted.

Implied relationships can be chained (ex: Manager implies Coworker implies Officemate)

Comments: please post an issue at http://drupal.org/project/user_relationships


Scenarios
---------
User creates a "manager" relationship to another user: The "coworker" relationship will
be automatically created between them.

User removes a "coworker" relationship to another user: The "manager" relationship will
be automatically deleted.


Requirements
------------
Drupal 6
User Relationships Module


Installation
------------
* Enable User Relationship Implications in the "Site building -> modules" administration screen.
* If you want to use the implications relationships page, override the
theme_user_relationships_page in your theme's template.php with the
implications page. E.g.
  function phptemplate_user_relationships_page($uid = NULL, $relationship = NULL) {
    return return theme('user_relationship_implications_page', $uid, $relationship);
  }

Database Schema
---------------
MySQL
=====

-- 
-- Table structure for table `user_relationship_implications`
-- 
CREATE TABLE IF NOT EXISTS `user_relationship_implications` (
  `riid` int(10) unsigned NOT NULL default '0',
  `rtid` int(10) unsigned NOT NULL default '0',
  `implies_rtid` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`riid`),
  KEY `rtid` (`rtid`),
  KEY `implies_rtid` (`implies_rtid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


Credits
-------
Written by Jeff Smick.
Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
Thanks to the BuddyList module team for their inspiration

File

user_relationship_implications/README.txt
View source
  1. User Relationship Implications Module
  2. -------------------------------------
  3. This is a plugin module for the User Relationships module.
  4. It allows admins to set up implied relationships (ex: Manager implies Coworker).
  5. These implies relationships will be automatically created. If a relationship that is
  6. implied by another is deleted the implied by relationship is also deleted.
  7. Implied relationships can be chained (ex: Manager implies Coworker implies Officemate)
  8. Comments: please post an issue at http://drupal.org/project/user_relationships
  9. Scenarios
  10. ---------
  11. User creates a "manager" relationship to another user: The "coworker" relationship will
  12. be automatically created between them.
  13. User removes a "coworker" relationship to another user: The "manager" relationship will
  14. be automatically deleted.
  15. Requirements
  16. ------------
  17. Drupal 6
  18. User Relationships Module
  19. Installation
  20. ------------
  21. * Enable User Relationship Implications in the "Site building -> modules" administration screen.
  22. * If you want to use the implications relationships page, override the
  23. theme_user_relationships_page in your theme's template.php with the
  24. implications page. E.g.
  25. function phptemplate_user_relationships_page($uid = NULL, $relationship = NULL) {
  26. return return theme('user_relationship_implications_page', $uid, $relationship);
  27. }
  28. Database Schema
  29. ---------------
  30. MySQL
  31. =====
  32. --
  33. -- Table structure for table `user_relationship_implications`
  34. --
  35. CREATE TABLE IF NOT EXISTS `user_relationship_implications` (
  36. `riid` int(10) unsigned NOT NULL default '0',
  37. `rtid` int(10) unsigned NOT NULL default '0',
  38. `implies_rtid` int(10) unsigned NOT NULL default '0',
  39. PRIMARY KEY (`riid`),
  40. KEY `rtid` (`rtid`),
  41. KEY `implies_rtid` (`implies_rtid`)
  42. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  43. Credits
  44. -------
  45. Written by Jeff Smick.
  46. Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
  47. Thanks to the BuddyList module team for their inspiration