Hack

sending requester details when creating user relationships .

when someone asks to relate to you on a drupal site with user_relationships enabled , it creates a really weird situation if u do not know the person who is requesting the relationship(requester) , to counter this , we can add a small tweak.

Firefox Trick for faster access of Drupal's API

Do you use Drupal's API reference a lot ? Here is a way to make it faster, Those of you who already know about firefox Add Search box keyword feature can skip :)

dynammic user role assignment : Autoassginrole

the module auto assign role , provides an option for the administrator to decide which role a new user is assigned to . By default the new user is assigned the authenticated user role . But through this module you can either automatically assign a particular role to every user or allow the user to select from a list of roles during registration .
But there are situations when u need more than this . Suppose we have a university portal , and we have two links like this
 

displaying user relationships 'properly' !

The user_relationship module can be used to create relationships among users . More on this over here . Now there is a problem with this module , let us take a case for example . If X has a relationship of 'father' with Y and Y has a relationship of 'son' with X , where X and Y are users on a drupal site . Now when we access the page /relationships or /relationships/list the module lists all the relationships of the present user . But the mistake is , for X the entries would be
 

  • Article Type:
  • Drupal Version:

user relationship invite module doesn't automatically add inviter as relationship

I was using the user_relationship_invites module for creating user relationships among users when an invitation was sent . The invitation form contained a form for selecting a relationship with the invitee . But when the new user tried to register , the relationship with the inviter would vanish after the registration has been done . This issue has already been discussed at this place
http://drupal.org/node/175518. .
A patch had been implemented in the invite module, and so the module should be working properly , but it does not . the problem comes here