vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Reply to PMs without quoting them (https://vborg.vbsupport.ru/showthread.php?t=97365)

MrNase 10-01-2005 10:00 PM

Reply to PMs without quoting them
 
There was one thing that I didn't like in vB3 (and it hasn't been changed in vB3.5 ;)): If you plan to reply to a PM you automatically quote the message you reply to. If you have a conversation with one member via PM the message often gets long and confusing.

This product allows you to reply to a message without quoting the message you reply to. I doesn't interfere with the way vBulletin handles the PM reply to your members can select themselfes what they want to do.

As said before, this is a product.. It uses 3 hooks and you need to import only 1 file to have it installed + 1 template edit in order to make it work.


The version I have installed uses a simple phrase like 'reply without quoting' instead of the default vBulletin image. This product however uses the reply_small.gif -> http://www.vbulletin.com/forum/image...eply_small.gif.
You may change that if you want :)

Already installed this plugin and want to change how it looks? Read this.. If not.. Read the attached instructions ;)
Some members pointed me to this. If you want to disable the normal link which automatically quotes the message and only use my Plugin here's the code for you:

Replace:
Code:

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

with:
Code:

                        <!--<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>-->

And replace everthing you've already added for this hack with this:
Code:

                        <if condition="$show['replylinknoquote']">
                                <a href="private.php?$session[sessionurl]do=newpm&amp;pmid=$post[pmid]&amp;noquote=1"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="reply without quoting" border="0" /></a>
                        <else />
                          <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>
                        </if>

This way you see the link to reply without quoting and the normal link when Plugin is disabled :)

Instructions are updated, now with both methods :)

Enjoy! And please.. click install :)

Kirk Y 10-02-2005 02:21 PM

Your .gif is dead... :(

Sounds good though, I'm installing.

Sooner95 10-02-2005 02:44 PM

good stuff, thx!

click!

Sooner95 10-02-2005 02:45 PM

you gif points to the same gif as the quote one uses. I simply edited the templete code..but you might want to change it.

MrNase 10-02-2005 07:08 PM

Yeah as said before.. Iam was not quite sure which one to use because on my community I don't use that image :)

Just tell me if you've found another, better image so that I can update the instruction :)

Keyser S?ze 10-02-2005 10:35 PM

great hack! what i did was take out the if condition of the quote button and just have it use quote.gif, and then the other use reply_small.gif

MrNase 10-04-2005 09:47 AM

Thanks!

Sometimes even the simple things can be great. I wonder why vBulletin doesn't have something like this by default. :)

JagFan 10-04-2005 08:17 PM

Installed...thanks! :)

ajpritch 10-05-2005 04:19 AM

Is there a way to remove the old reply button that does quote?

MrNase 10-05-2005 08:55 AM

Yes there is: Just delete the code from the template and it will not be shown :)


All times are GMT. The time now is 05:33 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.01251 seconds
  • Memory Usage 1,736KB
  • 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
  • (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