Log in

View Full Version : New PM button in messagelist


Mazinger
11-20-2008, 10:00 PM
This is a modification to show 'send pm' button in messagelist -- screenshot attached.


Style Manager -> Edit Templates -> pm_messagelist

Find:


<if condition="$show['pagenav']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>


Replace it with:



<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td><a href="private.php?do=newpm"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="$vbphrase[send_new_message]" border="0" /></a></td>
<if condition="$pagenav">
<td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>



Then save.



You may change $stylevar[imgdir_button]/sendpm.gif to any other image.



Please click INSTALLED to get support for this modification

NAZIA
11-21-2008, 09:30 PM
Nice Idea..
But The New P, button is Also Available In the sidebar of Usercp.!
What do you think?
But Graphically Button is also fine...

Mazinger
11-22-2008, 07:06 PM
I'm not sure what you mean, can you post a screenshot?

Fergal C
08-09-2009, 02:17 PM
Very convenient feature. Will add to the user-friendliness of my forum.

yotsume
08-09-2009, 07:23 PM
Can you post the photoshop file for the button. I need the button to read: New PM or something like that.

BucWiLd
10-17-2009, 02:47 AM
ty, installed

Mazinger
10-19-2009, 01:17 PM
Can you post the photoshop file for the button. I need the button to read: New PM or something like that.
It's the original sendpm image that comes with vBulletin package. You can download the PSD from your vBulletin's members area.

Ice-Maiden
10-23-2009, 07:46 AM
Installed, and works a treat, great add on to my site, will help members greatly! Thankyou! :)

COL NIL SATIS
10-23-2009, 02:09 PM
Nice one...installed

Mazinger
03-20-2013, 01:37 PM
You're welcome all.