View Full Version : Miscellaneous Hacks - Prevent Quoting Last Post in Thread
oldengine
05-13-2008, 10:00 PM
Folks are hitting the Quote button rather than Post Reply when answering the last post in a thread.
We default to Linear Oldest First so it gets rather stale and wasteful to see all the duplicate postings one after the other. We do not use Quick reply.
Find in postbit template:
<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>
Replace with:
<!-- Start last post reply Hack -->
<if condition="$post['islastshown'] AND $post['replylink']">
<a href="$post[replylink]&noquote=1" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply]" 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>
<!-- End last post reply Hack -->
https://vborg.vbsupport.ru/showthread.php?t=107498
Take notice that this is for default setting "Linear - Oldest First".
Quantnet
05-14-2008, 11:51 PM
thanks.
This has been a nuisance. Glad finally someone came up with this.
oldengine
05-16-2008, 03:48 PM
My tag edits were not working with all of my other postbit mods, so here it is one more time in tested form, my inserts in red. Looks the same to me, but cleaner...
<!-- Start last post reply Hack -->
<if condition="$post['islastshown'] AND $post['replylink']">
<a href="$post[replylink]& noquote=1" rel="nofollow"><img src="$stylevar[imgdir_button]/reply_small.gif" alt="$vbphrase[reply]" 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>
<!-- End last post reply Hack -->
Apparently I was OK in the first place, but now we are sure.
oldengine
05-16-2008, 04:46 PM
Would anyone care to match this into postbit_legacy ?
Quantnet
05-18-2008, 05:24 AM
i use this for postbit legacy and it works fine.
DaninMS
05-22-2008, 05:15 PM
This has bugged me too. Unfortunately it apparently isn't working for me. I replaced the code but am still able to quote the last message in a thread.
DaninMS
05-22-2008, 05:20 PM
Nevermind..didn't replace the code in the postbit legacy. Now it works !
andreamarucci
05-22-2008, 08:17 PM
Fantastic it works!!!
oldengine
05-23-2008, 02:56 AM
All's not gold that glitters. :eek:
I was noticing some quoted posts by one individual at the bottom of a thread.
Turns out that he is viewing threads "Linear - Newest First".
My default setting is "Linear - Oldest First".
I just wanted you to know. Back to the drawing board. :(
KanmaiseR
05-23-2008, 06:39 AM
Thanks, installed :)
andreamarucci
05-23-2008, 08:09 AM
A small problem. I've substituted reply_small. with reply.gif otherwise the reply button in the message was smaller that the others. Problem is that the reply button in the PM is larger than the other one. I mean, there's a way to differentiate between the reply button in PM and in the threads?
DaninMS
05-23-2008, 01:11 PM
I'm noticing now that in one of my threads the post at the bottom of each page is keeping the reply button instead of displaying the quote.
Quantnet
05-25-2008, 01:46 AM
you should also remove the multi-quote button as people now can click that on the last post, click reply and bypass the purpose.
oldengine
05-25-2008, 03:52 AM
Multi Quote is truned off on my forum. Great for computer savvy users, really bad for my users. They would multi-quote the contents of the entire thread into one post.
That's the deal, most of vB is aimed toward young computer geeks. Us old farts need to have forums too. ;)
Edit: Included screen shot. It's working fine on my board. YMMV.
andreamarucci
05-27-2008, 10:43 AM
I'm noticing now that in one of my threads the post at the bottom of each page is keeping the reply button instead of displaying the quote.
Yes, same here. I cannot keep this mod with this problem sorry...
oldengine
02-04-2009, 02:49 PM
Removing quoted posts when the user is quoting the previous post in its entirety is still a valid need on vBulletin. I am using this mod and no one else appears to have come up with anything better, Jelsoft Enterprises included. I do not use multi-quote.
If your users aren't computer geeks, then they will go for the "Quote" button every time they reply. That's the way it is and I don't want it.
The reason that the Quote button still shows on some pages is because of the users choice of a threaded or hybrid display mode, or they are set for newest post first instead of newest post last. The non-geeks do not use these modes.
andreamarucci
03-10-2009, 08:44 PM
Is this one compatible with 3.8.1?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.