You are here

README.txt in User Relationships 5.2

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)

Send comments to Jeff Smick: http://drupal.org/user/107579/contact, or 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 5
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

plugins/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. Send comments to Jeff Smick: http://drupal.org/user/107579/contact, or post an issue at
  9. http://drupal.org/project/user_relationships.
  10. Scenarios
  11. ---------
  12. User creates a "manager" relationship to another user: The "coworker" relationship will
  13. be automatically created between them.
  14. User removes a "coworker" relationship to another user: The "manager" relationship will
  15. be automatically deleted.
  16. Requirements
  17. ------------
  18. Drupal 5
  19. User Relationships Module
  20. Installation
  21. ------------
  22. * Enable User Relationship Implications in the "Site building -> modules" administration screen.
  23. * If you want to use the implications relationships page, override the
  24. theme_user_relationships_page in your theme's template.php with the
  25. implications page. E.g.
  26. function phptemplate_user_relationships_page($uid = NULL, $relationship = NULL) {
  27. return return theme('user_relationship_implications_page', $uid, $relationship);
  28. }
  29. Database Schema
  30. ---------------
  31. MySQL
  32. =====
  33. --
  34. -- Table structure for table `user_relationship_implications`
  35. --
  36. CREATE TABLE IF NOT EXISTS `user_relationship_implications` (
  37. `riid` int(10) unsigned NOT NULL default '0',
  38. `rtid` int(10) unsigned NOT NULL default '0',
  39. `implies_rtid` int(10) unsigned NOT NULL default '0',
  40. PRIMARY KEY (`riid`),
  41. KEY `rtid` (`rtid`),
  42. KEY `implies_rtid` (`implies_rtid`)
  43. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  44. Credits
  45. -------
  46. Written by Jeff Smick.
  47. Written originally for and financially supported by OurChart Inc. (http://www.ourchart.com)
  48. Thanks to the BuddyList module team for their inspiration