Dont quote last post

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
Locked
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Dont quote last post

Post by Stoker »

We all know them. Users that allways use the quote button instead of the reply button.
Last post is not meant for quoting, or at least I think so.
Here is a little snippet that will prevent last post from being quoted.

Open styles/prosilver/template/viewtopic_body.html
Find:

Code: Select all

<!-- IF postrow.U_QUOTE -->
Replace with:

Code: Select all

<!-- IF not postrow.S_LAST_ROW and postrow.U_QUOTE -->
Save, upload and refresh template.
Board rules! No PM support
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: Dont quote last post

Post by Fire-Fox »

Thanks!

You are right quoting the last post is annoing, and i ment to be like you say.
uzidesign
BBCoder II
BBCoder II
Posts: 13
Joined: 14 Aug 2010, 13:42

Re: Dont quote last post

Post by uzidesign »

It's nice but need improvement.
If have topic with more then 1 page you can't quoting the last post in Previous pages.
User avatar
Makis
BBCoder III
BBCoder III
Posts: 91
Joined: 10 Mar 2010, 18:01
BBCodes: 67
Favourite MOD: Welcome On Index
Location: Athens Greece

Re: Dont quote last post

Post by Makis »

I agree "uzidesign" let’s wait...
Locked