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)

GoHa 07-10-2009 04:21 AM

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?

GoHa 07-10-2009 05:49 AM

Nevermind - done.

buro9 12-29-2009 05:41 PM

Does this still work in VB4? It's a pretty simple and nice touch.

brott 12-30-2009 05:40 PM

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'

alfaowner 01-13-2010 01:21 PM

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 :)

ex0thermic 01-20-2010 06:43 PM

<i>edit: durrrr</i>

Pvtiste 03-20-2010 02:48 PM

Need for vb4 please :)

ex0thermic 03-29-2010 05:55 PM

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.

Pvtiste 03-29-2010 06:03 PM

Quote:

Originally Posted by ex0thermic (Post 2012385)
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 :(

ex0thermic 03-29-2010 07:40 PM

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.

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 01:02 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.01379 seconds
  • Memory Usage 1,827KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (8)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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