Posted by mouse77e on July 1, 2009 at 9:24pm
<?php
if ($profileuser->uid == $loggedinuser->uid) {
print " ";
} 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.
Comments
anyone?
there must be a way to tweak this...
I WILL learn this Drupal stuff! [My Dyslexia be damned!]