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)

Xoligy 12-10-2006 10:00 PM

Reply to all button in private messages
 
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 :)

cygy2k 12-11-2006 09:34 PM

I did this as instructed but now in threads it displays the reply all button as well. Can you please provide a template correction for this?

LBmtb 12-11-2006 10:42 PM

I'll be all over this once that template issue is fixed. Maybe put it in a PM specific template? Postbit and postbit legacy are used all over the forum.

Xoligy 12-12-2006 08:53 AM

Sorry, my mistake, I'll update the instructions in a minute. It just involves a simple conditional.

EDIT: Updated, thanks :) Basically add " && THIS_SCRIPT == 'private'" inside the conditional.

peterska2 12-12-2006 10:45 AM

Please attach the file to your first post.

Thank you.

iran.gs 12-12-2006 11:13 AM

i don't get it ?

Xoligy 12-12-2006 12:28 PM

Quote:

Originally Posted by iran.gs (Post 1136983)
i don't get it ?

This adds a "reply to all" button to PMs, meaning you can reply to the original sender and all the people it was sent to. Very handy for group conversations or mass sending PMs.

EricR 12-13-2006 12:52 PM

Thanks Xoligy! Quick question, does this grab the BCC recipients as well or just the primary recipients? I'm hoping it does not grab the BCC's. I'll try it out today :)

Edit: It appears to handle BCC correctly :) I've attached my reply_all.gif image.

Xoligy 12-13-2006 01:23 PM

Nope, just the CCs. I did consider making it an option, but it would require more template modification and I wanted to keep it to a minimum.

LBmtb 12-16-2006 11:53 PM

Works well, thanks!


All times are GMT. The time now is 10:49 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.01965 seconds
  • Memory Usage 1,730KB
  • 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_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
  • (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