User Relationship Invites

This module requires the Invite module.

It hooks into the invite module and allows users the chance to set their relationship to the person they are sending the invite to. There aren't any configurable options for this module.

User Relationship Mailer

The mailer module provides email functionality. The system will email users when an action has been taken on a relationship.

This module will create a new set of settings on the relationships settings admin page allowing administrators to set the content of the email as well as whether or not that email is sent.

Currently the actions that trigger an email are:

Submodules (to provide extra functionality)

The following plugins come bundled with the core module and can be enabled or disabled according to what functionality the site own would like

User Relationship Mailer
Will (conditionally) send email notifications regarding relationship creation/removal/approval/disapproval/cancellation.
User Relationship Defaults
Creates default relationships to any user joining the site (think Tom on MySpace).
User Relationship Implications
Allows admins to specify implied relationships (Manager implies Coworker) that are automatically created when this implying relationship is created and removed accordingly.
User Relationship Blocks
Provides several different blocks.
User Relationship Invites
Requires the Invite module and allows users to specify a relationship to a user that they invite to join the site.
User Relationship Views
Provides integration with the views module providing filters, arguments, and fields.
User Relationship Privatemsg
Integration with the privatemsg module showing your relationships in the quick select list.
User Relationship Migrate (Drupal 6 only)
Allows admins to migrate Buddy List 2 to User Relationships.
User Relationship Elaborations

User Relationships

The User Relationships module allows users to create named relationships between each other.

Relationship Types

Relationship types are defined by an administrator at: Administer > User Management > Relationships (for D7: admin/config/people/relationships).

Relationship types have a name, a plural name, a time-out, an auto approve designation and a directionality. The name can be anything. The time-out is the amount of time a request stays active. For example, if it's set to 30 days and a user requests a relationship with another user and that user doesn't accept or deny the request within 30 days the request will be dropped.

If auto approve is set, the system skips the request->approve/deny process and simply creates the relationship. An application of this might be the relationship type "subscriber." You don't necessarily need to approve of me subscribing to you.

Directionality

two-way

An example of a two-way relationship may be "friends." If you're my friend I'm your friend. This is the default for new relationships created with User Relationships.

one-way

Managing Mail Handling for Development or Testing

While debugging, testing or coding new features, if you want to see the content of the mails sent by your test Drupal site, your development platform should be properly set up so that mails are sent to a place where you will be able to find them.

Most of the notes that follow should be applicable to all platforms (Linux, Mac, Microsoft).

Drupal specific mail backend

Drupal can use an arbitrary mail backend. Look into http://api.drupal.org/api/function/drupal_mail_send/6 (in Drupal 6) or http://api.drupal.org/api/function/drupal_mail/5 (in Drupal 5). You can set the smtp_library variable to a file name, which Drupal will include and "send mail" with a drupal_mail_wrapper() function defined in that file. There you can log the mail to the database, a file or whatever. So all mail going out from Drupal can be nicely debugged locally. If you really need to send the mail over some server, as the name of the variable suggests, you can use an SMTP library and use any SMTP server you use otherwise to send mail, though I didn't have problems I solved this way though.

Panels 2 Documentation

The Panels 2 module is the core engine for a number of sub-modules, including Panels pages, Panels nodes, Mini panels, and Views panes. Panels module allows the website administrator (or sometimes the end-user) to manipulate the layout of individual pages, sidebars, and content pieces, as well as easily dictate what content is displayed in the layout.

Pages

Subscribe with RSS Subscribe to RSS - Site administrators