Hey,

While going through the module I made some change to the code to improve UI but I'm not really a developer and I don't know how to provide patches or updates.

The flag for 'approve' when its appearing as an intermediary between friend request or not doesen't show any text other than "Approve." This is bound to be confusing for users, approve what? So I made a change to the code to show the user name. May not have been the most elegant way to do it but it works.
Line 85.

      case FLAG_FRIEND_APPROVAL:
      $uid = $vars['content_id'];
      $username = user_load($uid);
      $name = $username->name;
      $name .= "'s";
        $vars['link_text'] = t('Approve '.$name.' friend request');
        break;
    }

Comments

Scott Reynolds’s picture

Heres how to create a patch

http://drupal.org/patch/create

sirkitree’s picture

Status: Active » Closed (fixed)

Closing due to inactivity - please reopen if you plan on supplying a patch.