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

richTV 03-26-2010 09:55 PM

Quote:

Originally Posted by SCSCSC (Post 1947741)
thanks alot

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

i too would appreciate info on this. :)

raja811 04-04-2010 04:50 PM

thanks
how to disable only register user Quote ? 'permentely"

merk_aus 06-27-2010 11:56 AM

Many thanks to you for this. Great work as usual wish i could vote you for designer of the decade.

andreamarucci 10-15-2010 03:23 PM

Just a question. It's possible for this to work so that the two buttons are removed not only from the first post in a thread but always from the last post so that the users cannot reply with quote to the last message in a thread? I think that this way should be more useful. Don't you think?

andreamarucci 10-15-2010 03:55 PM

Found!!

Where you find firstpostid change it to lastpostid

ZexTasy 11-15-2010 09:23 AM

Quote:

Originally Posted by SCSCSC (Post 1947741)
thanks alot

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

This product actually still works for vb 4.0:

https://vborg.vbsupport.ru/showthread.php?t=159344

It removes the quote and multiquote buttons from the firstpost and you can configure it per forum:

iyama 11-23-2010 04:58 AM

Quote:

Originally Posted by ZexTasy (Post 2122034)
This product actually still works for vb 4.0:

https://vborg.vbsupport.ru/showthread.php?t=159344

It removes the quote and multiquote buttons from the firstpost and you can configure it per forum:

Not working on vb4.08 pl2 ;)

iyama 11-23-2010 05:17 AM

Tagging this, in waiting for new txt to vb4.08 pl2. ;)

merk_aus 12-23-2010 10:33 PM

tagged for 4.1 hopefully

iyama 01-24-2011 12:00 PM

Quote:

Originally Posted by merk_aus (Post 2138342)
tagged for 4.1 hopefully

+1:D

horussjr 01-24-2011 04:38 PM

works well on 4.0.8 and 4.1.1 on all styles

nacaruncr 05-11-2011 03:31 AM

I want the mods and adms can see the quote and multi quote... how I can do???

please.. it like me so much this mod :D

thanks :D

solohdes 06-10-2011 12:20 AM

Thanks, work great on my forum.

Gripi 08-30-2011 03:41 AM

installed

FReeSTER 09-05-2011 04:34 AM

the first code that is the code that replace the reply with quote button looks a bit different on my forum

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:raw vboptions.cleargifurl}" alt="{vb:rawphrase quick_reply_to_this_message}" /> {vb:rawphrase reply}</a>
                                        <span class="seperator">&nbsp;</span>
                                        </vb:if>

should I replace that one instead ?
vb4.1.3

wizzie 09-07-2011 10:14 AM

thanks its working on vb 4.1.1 :D

anushkumarb 11-21-2012 06:37 AM

Many thanks to you for this. Great Job, works perfectly in all skins. Keep it up

Amaury 02-05-2013 04:21 AM

I can't find the code in the OP. It says not found. I can make a video to show you what I'm doing in case I'm making a mistake somewhere.

EDIT: I forgot to ask if this is compatible with 4.2.0.

Amaury 02-07-2013 03:13 AM

Okay, so here's a quick video showing the issue:
http://www.youtube.com/watch?v=dsJUziQcIFw

Amaury 02-12-2013 02:27 AM

Bump? :)

xbrian88 02-12-2013 10:38 AM

how can I remove this error from my forum? thanks in advance.

https://vborg.vbsupport.ru/external/2013/03/49.png

http://www.hwmania.org/forum/articol...tml#post103124

xbrian88 02-28-2013 08:09 AM

????? nothing for me?

Akangage 03-01-2013 01:08 AM

Doesn't work for 4.2.0 pl3

xbrian88 03-06-2013 09:54 PM

Quote:

Originally Posted by xbrian88 (Post 2403724)

??? please help me :(

xbrian88 03-08-2013 07:31 PM

upppolooo

Inna 11-28-2016 11:50 AM

Hi
I've done this but I have some problems, like you can see in the first pic:
https://vborg.vbsupport.ru/external/2016/11/4.png
In fact, there's no 'trans_40b.png' in my style buttons images!
But when I upload a pic and call it trans_40b.png, it's something like this:
https://vborg.vbsupport.ru/external/2016/11/5.png
Is it a specific image should be uploaded? Cause my style does not seem to have it.
How to fix it?
I'm using vB 4.2.3 PL2.

Inna 11-28-2016 02:12 PM

I fixed tempoory the problem by making an empty trans_40b.png and replacing it with the existing one!
Is it OK now? Or I should do something else?


All times are GMT. The time now is 05:46 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.01467 seconds
  • Memory Usage 1,839KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (37)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete