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
  #42  
Old 07-10-2009, 04:21 AM
GoHa GoHa is offline
 
Join Date: Apr 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine in my 3.8.2

QUESTION: I want to change PM's "quick reply" to be "reply to all" rather then just "reply"
Spent an hour digging back and forth in source - no luck.

Would, someone, please advise me, where to dig?
Reply With Quote
  #43  
Old 07-10-2009, 05:49 AM
GoHa GoHa is offline
 
Join Date: Apr 2004
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind - done.
Reply With Quote
  #44  
Old 12-29-2009, 05:41 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this still work in VB4? It's a pretty simple and nice touch.
Reply With Quote
  #45  
Old 12-30-2009, 05:40 PM
brott brott is offline
 
Join Date: Jan 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able to get this to work in vb4 .. I just used the following code in my postbit template:

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}/trans_40b.png" alt="{vb:rawphrase reply_with_quote}" /> Reply to All</a>
<span class="seperator">&nbsp;</span>
</vb:if>
Otherwise, I think the installation instructions should work OK. Heck, it might even work as suggested in the installation instructions. I just utilized the 'reply' code in vb4 with a slight modification for 'all'
Reply With Quote
  #46  
Old 01-13-2010, 01:21 PM
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Location: London
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys,

To get this to work on 3.8.4 PL2 or any 3.8 actually! Use this in the template, this will fix the array issues you are having.

HTML Code:
<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>
All we did was change the 'replylink' to replylink
Reply With Quote
  #47  
Old 01-20-2010, 06:43 PM
ex0thermic ex0thermic is offline
 
Join Date: Jun 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>edit: durrrr</i>
Reply With Quote
  #48  
Old 03-20-2010, 02:48 PM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need for vb4 please
Reply With Quote
  #49  
Old 03-29-2010, 05:55 PM
ex0thermic ex0thermic is offline
 
Join Date: Jun 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seconded. My forum users are bugging me nonstop about this. I'm surprised it's not built into vb4 or that there's not even a hack for it.
Reply With Quote
  #50  
Old 03-29-2010, 06:03 PM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ex0thermic View Post
Seconded. My forum users are bugging me nonstop about this. I'm surprised it's not built into vb4 or that there's not even a hack for it.
+1

my members go to facebook for that
Reply With Quote
  #51  
Old 03-29-2010, 07:40 PM
ex0thermic ex0thermic is offline
 
Join Date: Jun 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 12:16 AM.


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.12551 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_php
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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