PDA

View Full Version : New PM button in messagelist


Mazinger
21 Nov 2008, 21:38
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
21 Nov 2008, 23:30
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
22 Nov 2008, 21:06
I'm not sure what you mean, can you post a screenshot?

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

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

BucWiLd
17 Oct 2009, 04:47
ty, installed

Mazinger
19 Oct 2009, 15:17
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
23 Oct 2009, 09:46
Installed, and works a treat, great add on to my site, will help members greatly! Thankyou! :)

COL NIL SATIS
23 Oct 2009, 16:09
Nice one...installed

Mazinger
20 Mar 2013, 14:37
You're welcome all.