![]() |
Reply to all button in private messages
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 :) |
I did this as instructed but now in threads it displays the reply all button as well. Can you please provide a template correction for this?
|
I'll be all over this once that template issue is fixed. Maybe put it in a PM specific template? Postbit and postbit legacy are used all over the forum.
|
Sorry, my mistake, I'll update the instructions in a minute. It just involves a simple conditional.
EDIT: Updated, thanks :) Basically add " && THIS_SCRIPT == 'private'" inside the conditional. |
Please attach the file to your first post.
Thank you. |
i don't get it ?
|
Quote:
|
Thanks Xoligy! Quick question, does this grab the BCC recipients as well or just the primary recipients? I'm hoping it does not grab the BCC's. I'll try it out today :)
Edit: It appears to handle BCC correctly :) I've attached my reply_all.gif image. |
Nope, just the CCs. I did consider making it an option, but it would require more template modification and I wanted to keep it to a minimum.
|
Works well, thanks!
|
In my case only certain usergroups can send PM's to more than one recipient so it makes sense to show the button for only these groups. If you'd like to do this as well, expand on the provided conditional as follows:
Quote:
|
Good idea :)
|
Beautifully Simple.
Thanks, this is long overdue. |
Nice, thanks for this. :)
Dexter... |
Great Mod. thank you.
|
Thanks for the kind words :D
|
Does this work with 3.6.0?
EDIT: Just tried it out. Seems to work OK under 3.6.0. Thanks! Very handy feature. |
Great work, that's exactely what I searched. :up:
|
Thank You!
|
much thanks, am surprised it not officially part of vb..
|
Thanks for the excellent hack. My mods were demanding this as they communicate amongst themselves via multi-recipient PM a lot. Very glad that I found this :)
|
May I suggest wrapping it in
Code:
<if condition="$show['recipients']"> great mod! Installed :) |
Quote:
Code:
<if condition="$show['recipients']"> This is the code I tried: Code:
<if condition="$show['recipients']"> Is there something else I can try? |
Quote:
Great MOD. Marked installed! Thank you. Why isn't this standard? |
I would love a way to have it only show up if there are multiple recipients. Right now, as others stated, it shows up for every message regardless as to whether the PM has 1 or more recipients.
|
Ain't compatible anymore with 3.6.8 ?
now if I upload the XML file , invalid file I get as error. |
Works in my vB 3.6.8p2 just fine.
|
* Clicks Install *
|
works fine with 3.7.2
|
This would be great. Any body have an idea as to how to make an IF statement to check the number of recipients?
Thanks! Quote:
|
Just what we needed, many thanks!
|
Excellent Mod...!!!
This has frustrated me forever. Easy install... Here is a button I made for the purpose... https://vborg.vbsupport.ru/attachmen...1&d=1229929756 Works in 3.7.4 so far... THANK YOU...!!! (clicked installed and 5 stars...) |
This doesn't appear to be working with 3.8....
|
Works for me in 3.8
|
The button is showing up but when I select it I get this on the next page:
Warning: array_search() [function.array-search]: Wrong datatype for second argument in [path]/private.php(1333) : eval()'d code on line 4 Warning: implode() [function.implode]: Invalid arguments passed in [path]/private.php(1333) : eval()'d code on line 6 I'm running 3.7.3 Thanks |
Working great in 3.8.1 PL1.
|
Friggin awesome!
|
Thanks, just what my members were looking for. :D
Cheers, Shaun |
Quote:
|
I've found a quirk in the code. If you click the "reply to all" button and YOU were the only recipient the code throws an error and you get a blank screen:
Quote:
|
All times are GMT. The time now is 06:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|