BTW...In your instructions you may want to add the ending </phrase>.
I'm also curious about the "forward" conditional. Is that supposed to appear in PM or in a regular postbit? If PM, "quote" button link already quotes the PM so it wouldn't be there. If postbit then would the conditional be?:
Code:
<if condition="$post['replylink'] AND $show['pmlink']">
Find:
---------------------
$post[iplogged]
---------------------
BELOW it add:
---------------------
<if condition="$show['pmlink'] AND $post['replylink']"> <a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote this post in a PM" border="0" /></a> </if>
(Above) The original instructions URL doesn't quote the post...It leaves it blank with no username to PM to.
And
For Username drop down menu:
Code:
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]" rel="nofollow"><phrase 1="$post[username]">Quote this post in a PM to $post[username]</a></td></tr>
</if>
Send me the updates in a pm so I can look at them and see what is going on, would you please, sir?
I did the icon one without the username on purpose as the drop does it with the username. That way you could add any username to the icon one. It gets too easy to click send if you don't pay attention to the name and you might want to send it to someone other than the original poster.
And the plug-in part of the product sets the permissions.
The icon is only for postbit but not for the drop down (second edit); first change is the one with the icon.
I have different conditionals for those buttons. See, for logged in users it'll show but for guests no button will show up (e.g,. new reply, reply, edit...).
I didn't document my changes since my edits are custom...But I'll add the changes to match your instructions. Give me a few.
here is what I came up with. Let me know if this is right:
Quote:
3. In your postbit template
Find:
---------------------
$post[iplogged]
---------------------
BELOW it add:
---------------------
<if condition="!$post['forwardlink']"> <a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="<phrase 1="$post[username]">Quote this post in a PM to $post[username]</phrase>" border="0" /></a> </if>
---------------------
Find:
---------------------
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
---------------------
BELOW it add:
---------------------
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]&postid=$post[postid]" rel="nofollow"><phrase 1="$post[username]">Quote this post in a PM to $post[username]</phrase></a></td></tr>