Post by HotRod Richard on Apr 8, 2018 13:46:55 GMT -5
To hide the "Last Edit" line found in a post after a member has edited their post, which is the way it's set in this group so all members can edit their post without the notice being left in the post.
Admin > Structure > Layout Templates > click the "Thread" link, then select the "Post List" tab
There are 2 sections that you will need to change in the list.
Scroll down until you find:
{if $[post.thread.first_post.edited]}
<div class="edited_by"><span class="italic">Last Edit:</span> $[post.thread.first_post.edited.date] by $[post.thread.first_post.edited.by_user]{if $[post.thread.first_post.edited.reason]}: $[post.thread.first_post.edited.reason]{/if}</div>
{/if}
Than add <!-- at the beginning and --> at the end so it looks like this code below
<!-- {if $[post.thread.first_post.edited]}
<div class="edited_by"><span class="italic">Last Edit:</span> $[post.thread.first_post.edited.date] by $[post.thread.first_post.edited.by_user]{if $[post.thread.first_post.edited.reason]}: $[post.thread.first_post.edited.reason]{/if}</div>
{/if} -->
The 2nd section is further down the page near the bottom. Scroll down until you find:
{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}
Then again add <!-- at the beginning and --> at the end of the code so it looks like the code below
<!-- {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} -->
Then click the "Save Changes" button
I hope this has been helpful for anyone that needs this information.
Please leave a reply and let us know