I would like to submit a feature request. I added the following to og_username_helper.module and was able to use a real name search in more places. (We use Acuqia Commons).
The following was added to og_username_helper_form_alter
74 if ($form['#id'] == 'og-invite-link-invite-page-form') {
75
76 $form['invitees'] = array(
77 '#type' => 'textfield',
78 '#description' => t('Lookup a username and add it to the list below.'),
79 '#autocomplete_path' => 'og/username_helper/autocomplete',
80 '#size' => 40,
81 '#maxlength' => 60,
82 '#weight' => -2,
83 '#access' => $helper_access,
84 );
85
86 return $form;
87 }
Perhaps we could consider building a admin section in which site administrators could add this wonderful Realnames lookup field to other areas by naming form and field IDs?
(Wonderful module. This solved my problem today!)
Detailed
http://drupal.stackexchange.com/questions/30405/using-realnames-in-other...
Comments
Comment #1
rgchi commentedInfact I set up another module to include the following below. So now, I'm able to build a "lookup table" via an array structure and just add another line like 64 and 65 for each new field that I want to override.
Specifically, this adds the realname lookup to Commons's Group Invite (og/users/xx/invite/) and the Find New Friends block (appearing on /user/xx/about/).