Hi,

Thank you for this great module. I've just upgraded to 5.3, but in my custom link in node-profile.tpl.php as follows:

<?php if (user_access('access private messages') && (isset($user->privatemsg_allow) ? $user->privatemsg_allow : 1)) { ?>
<?php $frommetoprofileuser = arg(1); ?>
<div class="fields">
<?php print l(t('send a private message').$user->name, 'privatemsg/msgto/'. $frommetoprofileuser); ?></div>
<?php } ?>

it directs to mysite/privatemsg and not to send to the specific user. Basically a blank ..

In the install.txt it says custom link would be

l(t("send private message"), "privatemsg/msgto/$user->uid"))

but that does exactly the same.

What is the link for a node-type.tpl.php please ...

Look forward to any reply.
Lilian

Comments

litwol’s picture

Status: Active » Closed (won't fix)

Drupal 5 private message branch is no longer actively maintained (in fact it is actively unmaintained). Please upgrade to drupal 6 which is supported (and will continue to be supported).