This patch adds admin defaults for the user settings for privatemsg for the entire site. If the user has not set his/her settings up then these will be used instead.

Note, also includes the period patch from http://drupal.org/node/132102 (as I was lazy).

CommentFileSizeAuthor
privatemsg_admin_defaults.patch10.33 KBkiz_0987

Comments

umonkey’s picture

First, %url is wrong. Second, wouldn't it be more correct to modify $user->privatemsg_allow etc in hook_user('login'), rather than add a condition in every other place where the variables are used?

chx’s picture

Version: » 5.x-2.x-dev
Status: Needs review » Fixed
chx’s picture

Thanks, I committed a modified version.

Anonymous’s picture

Status: Fixed » Closed (fixed)
mouse77e’s picture

Re the Patch:
I need to use this patch to my site please can you lay out how i do this as i am still a bit of a Drupal noobie?

Many thanks

Tim

MetalG’s picture

i need this, but I cannot download version 5.x-2.x-dev no more, happy to mail me if anyone has?

reach me at info @ drupit . be