PDA

View Full Version : REQ PM button


treyb
06-25-2008, 02:40 AM
Hey, Is there a code I can use to make a PM button show up in each post? Like under the post count, and location...

Please help!
Thanks
Treyb
DixieTalk.com

Dismounted
06-25-2008, 06:55 AM
See Opserty's post below.

Opserty
06-25-2008, 09:24 AM
You could try something like:


<a href="private.php?do=newpm&u=$post[userid]"><img src="images/buttons/sendpm.gif" alt="Send PM" /></a>


In the postbit(_legacy) template. Might not work perfectly but its a rough guide.

treyb
06-25-2008, 01:54 PM
Thanks, but I can't get it to show up...

Opserty
06-25-2008, 02:10 PM
Make sure you are editing the correct postbit template (edit the legacy one if you have userinfo down the left hand side, else edit the normal postbit template.

treyb
06-25-2008, 02:14 PM
that worked, I really appreciate that!