Closed (fixed)
Project:
Privatemsg
Version:
5.x-3.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2008 at 14:22 UTC
Updated:
15 Nov 2009 at 11:22 UTC
Hello,
firstly thanks for this wonderful module. Version 5.3 is really a major improvement to 5.1.8.
There is just one things i tried to figure out: Is it possible to have the whole privatemsg section available as tab within the user profile?
About any hint how to achieve this i would be very grateful.
Comments
Comment #1
doms commentedi have done following changes:
privatemsg.module, line 221:
if (arg(0) == 'user' && arg(2) == 'privatemsg') {
changed to:
if (arg(0) == 'user' || arg(2) == 'privatemsg') {
Now I have tabs in my profiles.
My question, have i found a bug, or is there anything wrong about making those changes, to see the tab??
Comment #2
litwol commentedProgramming is all about telling the program what to do. No its not a bug, you have told the program how to act differently from how it was previously designed.
Comment #3
litwol commentedComment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
feconroses commentedIs there an similar solution for 6.0 version?
Thanks in advance!
Comment #6
ktonini commentedyes, i second the 6.0 version request!
Comment #7
plan9 commentedThanks doms, it works great. Simple Messaging module adds a tab by default so should be disabled or tweaked to allow the Privatemsg tab to work.
Comment #8
plan9 commentedHmmm... one problem, user pics are now displayed full sized instead of correct thumbnail size when viewing messages from user profile tab.
Comment #9
plan9 commentedA good solution to the above was provided by ron_s here: http://drupal.org/node/357571
Comment #10
plan9 commentedOne note of caution with having Private messages as tab in userprofile - users with admin privileges can view users messages. This might not be ideal - especially if you have several admins on a site.
Comment #11
uomeds commentedMy global user can see the "messages" tab on his user profile, but no one else can see theirs. Any ideas what might be wrong or how this can be corrected?
I tried the fix in #1 with no effect.
Comment #12
berdirPlease do not change issues between 5.x and 6.x since these are very different and this is a different issue.
The tab inside the user profile is just for admin users with read all permission, see #561036: Conflicting URL scheme if you want to move the default /messages tab to that location.