Privatemsg module Difficult to send PM after upgrade.

mouse77e - July 1, 2009 - 21:24

<?php
        if ($profileuser->uid == $loggedinuser->uid) {
          print "&nbsp";
         } else {
           if (user_access('access private messages') && (isset($profileuser->privatemsg_allow) ? $profileuser->privatemsg_allow : 1)) {
              print l(' ' .theme_image(path_to_theme() .
              "/images/profile/user_comment.png", $alt = 'Private Message', $title = 'Private Message', $attributes = NULL, $getsize = TRUE),
               'privatemsg/msgto/'. $profileuser->uid,NULL,NULL,NULL,NULL,TRUE);
            }
        }

The above code worked wonderfully under 5x - 1.8 but with the new 5x - 3.0 version it just takes me to the users inbox in stead of opening a new private message to the user concerned. Please could someone point out to me where i need to tweak this code to make it work once more.

My apologies for being a user of this wonderful community software not a developer.

many thanks

Tim.

anyone?

mouse77e - July 5, 2009 - 08:18

there must be a way to tweak this...

 
 

Drupal is a registered trademark of Dries Buytaert.