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.
Search module of Drupal is a decent effort to optimize database searching, Salient features of drupal search are CJK handling, incremental revision index update among many others. Search in drupal is not one massive component which takes care of overall site search, it rather provides a framework based on hooks (drupal way of doing things) for other modules to interact with indexing,searching process; Though its search module which does actual parsing and all nitty gritty of regular expressions.
Hooks Exposed by Search Module
There are three major hooks exposed by search module:
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 :)
i agree tabular results display is very good , but then i hate it when the user_relationships modules displays even the users in a tabular form , .. there is a better way you could display the users, ... and if the user pictures are enabled , then even the pictures could be displayed , ... it looks so much better than the tabula display , ... here is part of a module i wrote which uses this type of display , :
$output .= "".roles_display_get_picture($display_user)."";
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
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
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