Closed (fixed)
Project:
User Relationships
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
13 May 2008 at 01:29 UTC
Updated:
2 Jan 2014 at 23:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
MisterSpeed commentedAs far as PMs is concerned it displays a Send this user a message link on user profile page. So as asked here we don't need to display such a link for the users who are not in buddylist or in relation with that particular user. I will submit a patch to achieve this.
Thanks [LS]
Comment #2
MisterSpeed commentedIm adding a patch here to achieve the above requested functionality. After applying this patch to user_relationships_ui.module and if privatemsg is installed it will display options to select the private messages on/off for users in or outside relationships on user edit page. According to that it will display send message link on user profile page.
Thanks [LS]
Comment #3
sadist commentedFayna, have you already tried this patch yet?
regards.
Comment #4
63reasons-LS commentedYes, I submit the patch here after testing it thoroughly Let me know if there is an issue
Thanks
Comment #5
alex.k commentedMerged this patch with the one in #458046: Option to allow privatemsg only between friends/fans and committed in http://drupal.org/cvs?commit=228152. Thanks!
Comment #7
feloescoto commentedThank you for this patch, it is more than useful, but I think there is a small bug in it.
The form will be displayed in each category of the user edit forms.
Just move line 623 to line 670 to close '}' the if and display the settings form only in the account category.
I hope this helps, but if you want I can open an issue for it.
Regards,
Felipe
Comment #8
alex.k commentedThanks for the report. Please reopen issues if closed, or else it falls off the dashboards.
Comment #9
merilainen commentedWhy, oh why is
'#weight' => -10? I guess the weight should be 10, otherwise it jumps before user name and email address fields.Comment #10
alex.k commentedFixed both weight and account form restriction in #541174: Fix for making privatemsg settings show up in just one user profile edit category.