The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add message button
Hi,
I'd like to add a sendpm button to my postbits templates that loads the PM with the to field set to the user who's post the button was clicked from. Anyone know how to got about doing this? Thanks. |
#2
|
|||
|
|||
If you are using VB3 then it's already there, just click on the persons user name and a drop down will apear
|
#3
|
||||
|
||||
Do you mean you want an actual button, like the quote button on this postbit, but one for PM? So, moved from the dropdown to the actual postbit?
|
#4
|
|||
|
|||
Yes an actual button. Many users do not realize there is a drop down menu with the username and no amount of pointing to them to the FAQ or explaining is ever enough. A button would solve a constant user issue for me.
|
#5
|
|||
|
|||
Stick this anywhere in the postbit template
HTML Code:
<a href="private.php?do=newpm&userid=$post[userid]"><img src="/path/to/image.gif" alt="" border="0" /></a> |
#6
|
|||
|
|||
Thanks Brad. That worked perfectly.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|