The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want a button on the bottom of the postbit for sending a private message to the member whose post you're viewing. Seems like a standard feature. I'd have to use my own button of course, but what is the code for this that i'd insert into my template in-order for the PM link to be assigned to the person whose post you're vieiwng?
|
|
#2
|
|||
|
|||
|
It would be
Code:
<if condition="$show['pmlink']"> <a href="private.php?$session[sessionurl]do=newpm&userid=$post[userid]"><phrase 1="$post[username]"><img src="path to button" alt="$vbphrase[send_private_message_to_x]" /></phrase></a> </if> |
|
#3
|
|||
|
|||
|
Thanks!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|