The attached patch adds 2 settings for privatemsg:

  1. fix recipient: if the recipient is given in the link (op 'msgto' or 'reply') make it a read-only textfield with no autocomplete

    setting defaults to 'off', which means current behavior is unchanged
  2. show contacts: show or hide the quick-contacts selectlist near the recipient field

    setting defaults to 'on', which means current behavior is unchanged

I needed both settings for a client, maybe I'm not the only one?

I made the patch to be minimally invasive, if you want to I can improve on it to not do the db-select for the quick-contact selector if it is not shown.
The title-strings in the settings-page probably can also use adjustment ...

I initially also wanted to include a setting for "don't show 'write private message'" in own profile, but left it out of this patch because it's not really the same issue. I can add that too if you want.

comments?

Comments

ray007’s picture

StatusFileSize
new2.54 KB

small bug in first diff, corrected version attached

ray007’s picture

I admit I had hoped for some feedback ... be it good or bad ;-)
No comments at all?

berdir’s picture

Version: » 6.x-2.x-dev
Status: Needs review » Needs work
ptmkenny’s picture

Category: task » feature
oadaeh’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

This issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.