vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - TW7S - Remove "Reply with Quote" and Multi-Quote from first post in thread (https://vborg.vbsupport.ru/showthread.php?t=232215)

LifesGreatestGift 01-04-2010 10:00 PM

TW7S - Remove "Reply with Quote" and Multi-Quote from first post in thread
 
1 Attachment(s)
Works with postbit and postbit_legacy

Before
https://vborg.vbsupport.ru/external/2010/01/123.jpg

After
https://vborg.vbsupport.ru/external/2010/01/124.jpg

Open up template postbit or postbit_legacy (Whichever your forum is set to)

Find:
PHP Code:

<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <
a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if> 


Replace With:
PHP Code:

<vb:if condition="$show['quickreply'] AND !$show['threadedmode']">
                        <
a id="qr_{vb:raw post.postid}" class='quickreply' href="{vb:raw post.replylink}" rel="nofollow"><img id="replyimg_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>

<
vb:if condition="$thread['firstpostid'] != $post['postid']">
                     <
span class="seperator">&nbsp;</span>
</
vb:if>

                    </
vb:if> 


Find:
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:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if>
                    <
vb:if condition="$show['multiquote_post']">
                        
                         <
class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a
                    </
vb:if> 


Replace With:
PHP Code:

<vb:if condition="$thread['firstpostid'] != $post['postid']">

                    <
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:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase reply_with_quote}" /> {vb:rawphrase reply_with_quote}</a
                    <
span class="seperator">&nbsp;</span>
                    </
vb:if>
                    <
vb:if condition="$show['multiquote_post']">
                        
                         <
class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase multi_quote_this_message}" />&nbsp;</a
                    </
vb:if>

</
vb:if> 


Enjoy! :)

abbasbsp 01-05-2010 05:58 AM

why "Reply with Quote" and "Multi-Quote" from first post in thread at to remove ??

rajubd 01-05-2010 06:03 AM

hi bro after remove i want to add reputation+ button there how can do this

SCSCSC 01-05-2010 10:48 AM

thanks alot

is that possible that we can remove it from particular forum instead of all forums

LifesGreatestGift 01-05-2010 11:57 AM

Quote:

Originally Posted by ichal_spy (Post 1947595)
why "Reply with Quote" and "Multi-Quote" from first post in thread at to remove ??

Because A LOT of people write long first posts, or are quoting a long article and its pointless for a user to quote that first post but yet some users still do it and it just makes the thread unnecessarily long.

abbasbsp 01-05-2010 01:45 PM

1 Attachment(s)
how do you think, if made like the image below,

https://vborg.vbsupport.ru/attachmen...1&d=1262706185

LifesGreatestGift 01-05-2010 10:36 PM

Is that a question or would you like help writing a mod to quote selected text?

Dr.osamA 01-06-2010 08:05 PM

thanxxx

installed
________
Ipad guide

Allan 01-21-2010 07:42 AM

Work on 4.0.1?

LifesGreatestGift 01-21-2010 08:01 PM

yes


All times are GMT. The time now is 10:44 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.01320 seconds
  • Memory Usage 1,769KB
  • 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_php_printable
  • (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