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

doms’s picture

i 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??

litwol’s picture

Programming 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.

litwol’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

feconroses’s picture

Is there an similar solution for 6.0 version?

Thanks in advance!

ktonini’s picture

yes, i second the 6.0 version request!

plan9’s picture

Thanks 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.

plan9’s picture

Hmmm... one problem, user pics are now displayed full sized instead of correct thumbnail size when viewing messages from user profile tab.

plan9’s picture

A good solution to the above was provided by ron_s here: http://drupal.org/node/357571

plan9’s picture

One 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.

uomeds’s picture

Version: 5.x-3.0 » 6.x-1.0-rc4
Status: Closed (fixed) » Active

My 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.

berdir’s picture

Version: 6.x-1.0-rc4 » 5.x-3.0
Status: Active » Closed (fixed)

Please 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.