Former Member
inherit
guest@proboards.com
37510
0
Nov 28, 2024 3:58:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 9, 2012 3:58:37 GMT -8
currently I have a code in v4 which removes last edit by. It would be great if a plugin could be made to do the same thing?
|
|
inherit
14706
0
Jan 28, 2021 15:41:20 GMT -8
Xikeon
170
October 2003
mikeo
|
Post by Xikeon on Nov 9, 2012 4:30:02 GMT -8
You're better off doing this via the Templates.
Forum Admin > Home > Themes > Layout Templates
Then go for Thread and select the tab Post List. Find the following code and remove it:
{if $[post.edited]} <div class="edited_by"><span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if}</div> {/if}
Preview to check if it worked and then save.
|
|
Former Member
inherit
guest@proboards.com
37510
0
Nov 28, 2024 3:58:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 9, 2012 4:47:01 GMT -8
not worked sorry
|
|
inherit
14706
0
Jan 28, 2021 15:41:20 GMT -8
Xikeon
170
October 2003
mikeo
|
Post by Xikeon on Nov 9, 2012 5:10:30 GMT -8
Works for me. Can you post the template as it is after you removed that code?
|
|
Former Member
inherit
guest@proboards.com
37510
0
Nov 28, 2024 3:58:14 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 9, 2012 6:57:23 GMT -8
Hi, sorry it has worked but only after I saved changes, it didn't work before because I only previewed. Thank you
|
|
inherit
14706
0
Jan 28, 2021 15:41:20 GMT -8
Xikeon
170
October 2003
mikeo
|
Post by Xikeon on Nov 9, 2012 7:05:33 GMT -8
Glad it worked, no problem.
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Nov 17, 2012 4:36:00 GMT -8
Absolutely brilliant Xikeon! Does the job perfectly. Thank you very much
|
|
inherit
99060
0
May 28, 2024 11:56:49 GMT -8
JJ
1,660
February 2007
justjj
|
Post by JJ on Feb 4, 2013 15:35:33 GMT -8
Thank you very much, it works perfectly.
|
|
inherit
189816
0
Nov 27, 2020 19:26:05 GMT -8
jhomes87
29
February 2013
jhomes87
|
Post by jhomes87 on Feb 10, 2013 1:14:54 GMT -8
Xikeon, if I'd like to add this code back in, do you know where it is supposed to go? I made the change to remove this code, but I've decided I'd like to bring back the "last edited by" feature.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 10, 2013 1:32:10 GMT -8
Xikeon, if I'd like to add this code back in, do you know where it is supposed to go? I made the change to remove this code, but I've decided I'd like to bring back the "last edited by" feature. Line 32-34, so that it's just above the signature code and below post message, like so: <h3 class="title aria-hidden">Post by $[post.created_by_user.name] on $[post.date]</h3> <div class="message">$[post.message]</div> </td> </tr> <tr> <td class="foot"> {if $[post.edited]} <div class="edited_by"><span class="italic">Last Edit:</span> $[post.edited.date] by $[post.edited.by_user]{if $[post.edited.reason]}: $[post.edited.reason]{/if}</div> {/if} {if $[post.created_by_user.signature]} <div class="signature">$[post.created_by_user.signature]</div> {/if} </td> </tr> </table>
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 11, 2013 11:53:53 GMT -8
Xikeon - this no longer works for me... "edited by" is now showing on posts... Any idea what is wrong please?? RF
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Feb 11, 2013 23:30:50 GMT -8
Xikeon - this no longer works for me... "edited by" is now showing on posts... Any idea what is wrong please?? RF If you removed that from your template layouts, it should not be showing. Do me a tiny favour.. Open a notepad file. Copy your "post list" layout template to your clipboard and then paste it into this new blank notepad file. Use ctrl+f and search for: edit Whatever it finds, paste into a post for us. If it doesn't find anything, paste all of your layout template please =0
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 11, 2013 23:38:26 GMT -8
Will do Stinky666 - as soon as I get a free minute. I did check yesterday to see if it was still there and it was but will do a copy of the post lists for you. It seems to be a bit of a problem that we are trying to solve on the board as I and another staff members can see when an edit is made and one staff member can't.. RF
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 12, 2013 1:50:38 GMT -8
Stinky666 - did what you wanted and came up with this...still got notepad open if you want it all?? ++++++++++++ {/if} $[post.likes] </div> <div class="controls"> $[post.quote_button] $[post. edit_button] $[post.likes.button] $[post.select_options] <script> EDIT: It's OK - I have sorted it out...thanks...
|
|