PDA

View Full Version : Mini Mods - PM Button


mad@Max
11-29-2007, 10:00 PM
I'm dont like press on nick and click there "Send PM ...". You too? So take it:)
Find in postbit_legacy or postbit:
<div>&nbsp;$post[icqicon] $post[yahooicon] $post[aimicon] $post[msnicon] $post[skypeicon]&nbsp;</div>
And add bottom:
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>&nbsp;</td></if>
You may paste this button anywhere;)
Screenshot:
http://www.ii4.ru/thumbs/298830exmpl.png ('http://www.ii4.ru/images/298830exmpl.png')

omar almukhtar
11-30-2007, 01:44 PM
plaese provid an example to see you modification and if people liked it they will do it .

Symbian Galaxy
11-30-2007, 02:00 PM
err , I dont understand whats this?

mnero
11-30-2007, 03:17 PM
so ... have a demo ?

nyunyu
11-30-2007, 04:23 PM
I think what he meant is to show a link or button under user nick. Better try and see what happen.

ChU v2
11-30-2007, 06:27 PM
It provides a link to send the user a PM in their postbit. The postbit is where the avatar, username, usertitle, posts, location, etc is when a user posts in every post they make.

Good idea.

mad@Max
11-30-2007, 08:20 PM
ChU v2 yes, you right. Added screenshot in first post.

Wheezy
01-07-2008, 07:34 AM
I tweaked it a little, but it's still functioning the same on my forum. Great work!

imports
01-07-2008, 05:58 PM
Installed !!! thanks