The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Reply to all button in private messages Details »» | |||||||||||||||||||||||||
As requested on, this plug-in allows users to reply to all users via PM, much like many modern email clients. To install simply download and install the XML file and then make the following modifications to your postbit/postbit_legacy templatebits:
Find: <if condition="$post['replylink']"> <a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a> </if>Add below (or above): <if condition="$post['replylink'] && THIS_SCRIPT == 'private'"> <a href="$post[replylink]&r=all" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_all.gif" alt="$vbphrase[reply_to_all]" border="0" /></a> </if>You then need to create a button and name it "reply_all.gif". Place it in your skin's button folder. For the default skin, place it in images/buttons, for other skins please refer to its documentation. You're free to do what you like with this code, although credit is appreciated, it's not required. Brought to you by eXaltic - vBulletin skins. EDIT: Thanks to EricR for the button Show Your Support
|
Comments |
#52
|
|||
|
|||
Thanks !
Just a dumb question, where can I get the button files? |
#53
|
|||
|
|||
The button is in the OP...
|
#54
|
|||
|
|||
Quote:
Thanks! |
#55
|
|||
|
|||
Quote:
I did this and it puts the reply_all button *on top* of the 'multi-quote' |
#56
|
|||
|
|||
I am running 4.04
There is no need to upload the button I uploaded the xml file from the first post. Then... I found this part in postbit_legacy PHP Code:
PHP Code:
|
#57
|
|||
|
|||
Vb4 now has its own check for private so u no longer need to define the script.
This is all you need. Code:
<vb:if condition="$post['forwardlink']"><a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}&r=all" rel="nofollow">{vb:rawphrase reply_to_all}</a><span class="seperator"> </span></vb:if> Code:
<a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a> Code:
<vb:if condition="$post['forwardlink']"><a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}&r=all" rel="nofollow">{vb:rawphrase reply_to_all}</a><span class="seperator"> </span></vb:if><a id="qrwq_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}" rel="nofollow"><img id="quoteimg_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> <vb:if condition="$post['forwardlink']">{vb:rawphrase reply_to_private_message}<vb:else />{vb:rawphrase reply_with_quote}</vb:if></a> |
#58
|
||||
|
||||
Seems to work with 4.0.5... however... if I click reply all on a PM that was sent to only one person, it presents a really messed up view of the reply - the options below the message box get pulled up almost into the message and the subject gets overwritten with the message "separate multipe users names with semi-colon.
Hopefully someone can verify and/or provide a fix? It appears just fine if I reply all to multiple users, or just simply reply to one. (edit: this appears to only happen if the PM has a link in it) |
#59
|
|||
|
|||
Working just fine in 4.1.2, with the attached template edit, using Andreas' Template Modification Manager mod. My edit doesn't replace the original reply link, and simply adds the "Reply to all" link before it.
The only improvement this hack could use is to not show the "Reply to all" link when there's only one recipient. |
#60
|
|||
|
|||
It's absurd that this is not a standard feature of VB
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|