Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Reply to all button in private messages Details »»
Reply to all button in private messages
Version: 1.00, by Xoligy Xoligy is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Private Messages Enhancements - Version: 3.6.4 Rating:
Released: 12-10-2006 Last Update: Never Installs: 137
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 03-29-2010, 09:37 PM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks !
Just a dumb question, where can I get the button files?
Reply With Quote
  #53  
Old 03-30-2010, 12:58 AM
ex0thermic ex0thermic is offline
 
Join Date: Jun 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The button is in the OP...
Reply With Quote
  #54  
Old 06-06-2010, 03:30 AM
cbehan cbehan is offline
 
Join Date: Feb 2009
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ex0thermic View Post
Okay, here's how I got it to work in vB 4.0.2 (for idiots like myself that couldn't figure it out before). This is essentially just a dumbed-down reiteration of brott's post.

1) download and install the .xml product in the OP
2) upload the "reply all" button from the OP (or one of your choice) into your images/buttons folder. Make sure it is named "reply_all.gif"
3) Go into your postbit_legacy template and find the following

PHP Code:
<vb:if condition="$post['replylink']">
                        <
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:rawphrase reply_with_quote}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if> 
And UNDER IT, add this

PHP Code:
<vb:if condition="$post['replylink'] && THIS_SCRIPT == 'private'">
<
a id="qrwqa_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}&r=all" rel="nofollow" ><img id="quoteimga_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/reply_all.gif" alt="{vb:rawphrase reply_with_quote}" /> Reply to All</a>
<
span class="seperator">&nbsp;</span>
</
vb:if> 
Do this and you should be good to go.
This works great. I had to put it in my postbit template and not postbit_legacy, but once I figured that out, everything is working like a charm!

Thanks!
Reply With Quote
  #55  
Old 06-29-2010, 12:58 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ex0thermic View Post
Okay, here's how I got it to work in vB 4.0.2 (for idiots like myself that couldn't figure it out before). This is essentially just a dumbed-down reiteration of brott's post.

1) download and install the .xml product in the OP
2) upload the "reply all" button from the OP (or one of your choice) into your images/buttons folder. Make sure it is named "reply_all.gif"
3) Go into your postbit_legacy template and find the following

PHP Code:
<vb:if condition="$post['replylink']">
                        <
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:rawphrase reply_with_quote}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if> 
And UNDER IT, add this

PHP Code:
<vb:if condition="$post['replylink'] && THIS_SCRIPT == 'private'">
<
a id="qrwqa_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}&r=all" rel="nofollow" ><img id="quoteimga_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/reply_all.gif" alt="{vb:rawphrase reply_with_quote}" /> Reply to All</a>
<
span class="seperator">&nbsp;</span>
</
vb:if> 
Do this and you should be good to go.
Running vB4
I did this and it puts the reply_all button *on top* of the 'multi-quote'
Reply With Quote
  #56  
Old 07-08-2010, 11:55 AM
sbfi sbfi is offline
 
Join Date: Jun 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
<vb:if condition="$post['replylink']">
                        <
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:rawphrase reply_with_quote}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if> 
And added this BEFORE
PHP Code:
 <vb:if condition="$post['replylink'] && THIS_SCRIPT == 'private'">
    <
a id="qrwqa_{vb:raw post.postid}" class="newreply" href="{vb:raw post.replylink}
&r=all" 
rel="nofollow" ><img id="quoteimga_{vb:raw post.postid}" src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase reply_with_quote}" /> Reply to All</a>
    <
span class="seperator">&nbsp;</span>
    </
vb:if> 
Hope this helps!
Reply With Quote
  #57  
Old 07-14-2010, 01:18 AM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">&nbsp;</span></vb:if>
Find

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>
Replace with:

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">&nbsp;</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>
Reply With Quote
  #58  
Old 07-25-2010, 09:47 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #59  
Old 04-11-2011, 01:55 PM
vgevolution vgevolution is offline
 
Join Date: Nov 2006
Location: Beyond the Looking Glass
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #60  
Old 09-26-2011, 09:35 AM
furnival furnival is offline
 
Join Date: Mar 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's absurd that this is not a standard feature of VB
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08170 seconds
  • Memory Usage 2,332KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete