Closed (won't fix)
Project:
Privatemsg
Version:
5.x-3.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2008 at 06:55 UTC
Updated:
25 May 2010 at 08:39 UTC
Hi,
Is it possible to output the "write to this author" link using some code onto the custom (user_profile.tpl.php) profile pages? I would like it to say "write a private message to me" and when they clicked on it, the "to:" field would be already filled in with the username of the user profile on which they clicked the link..
Here's a screenshot of what I mean.. http://www3.telus.net/jong3/privatemessagelink.png
Thanks,
Jon.
Comments
Comment #1
JonGirard-1 commentedJust tried adding "privatemsg/msgto/[userid]" as the "Write to me link".. I believe that should work except the [userid] get's changed to "%5Buid%5D" in the address bar which is causing it not to work I believe..
Jon.
Comment #2
JonGirard-1 commented*bump
Comment #3
berdirI'm closing old issues since Privatemsg for Drupal 5 is not maintained anymore. I suggest you switch to Drupal 6 if possible, many of the reported issues are probably already resolved there and if not, you're welcome to open a new issue.