vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Private Messages Enhancements - Reply to all button in private messages (https://vborg.vbsupport.ru/showthread.php?t=133753)

Pvtiste 03-29-2010 09:37 PM

Thanks !
Just a dumb question, where can I get the button files? :)

ex0thermic 03-30-2010 12:58 AM

The button is in the OP...

cbehan 06-06-2010 03:30 AM

Quote:

Originally Posted by ex0thermic (Post 2012452)
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!

Eq4bits 06-29-2010 12:58 PM

Quote:

Originally Posted by ex0thermic (Post 2012452)
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'

sbfi 07-08-2010 11:55 AM

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!

ImmortalForums 07-14-2010 01:18 AM

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>

gopherhockey 07-25-2010 09:47 PM

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)

vgevolution 04-11-2011 01:55 PM

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.

furnival 09-26-2011 09:35 AM

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


All times are GMT. The time now is 05:51 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
  • Page Generation 0.01246 seconds
  • Memory Usage 1,775KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete