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.


All times are GMT. The time now is 11:21 AM.

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.03217 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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