PDA

View Full Version : Prevent Quoting Last Post in Thread


oldengine
02-09-2006, 12:51 AM
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.

What are the options to turn the QUOTE button off in the last post of a thread?

oldengine
08-25-2007, 03:19 PM
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]&amp;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 -->

criscokid
09-07-2007, 03:03 PM
Nice one! Hopefully one of the admins will move this to the template modifications section.

oldengine
10-18-2007, 04:11 AM
Just a revisit to let you know that this mod has worked out great and it has saved a ton of duplication in my forum.

Anyone know how to move this thread over to the right forum?

Done:

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

Paul M
11-03-2007, 09:32 PM
Just create a new thread in the correct area if you want to release this as a template mod.