Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

No Edited by message?

Quote Reply
No Edited by message?
Has anyone managed to get rid of the "This post was edited by ..." message but only when the admin changes his own post? I thought this option would be in the user section but its not Frown

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] No Edited by message? In reply to
Try opening include_post_display.html and finding the:

Code:
<% if post_last_edit_username%>

<%endif%>

...tags. Then just wrap it with the following:

Code:
<%unless post_last_edit_username = 'Your Admin Username'%>

<%endif%>
Quote Reply
Re: [Paul] No Edited by message? In reply to
Hey Paul Thanks,

Wouldn't it also work if your

<%unless post_last_edit_username = 'Your Admin Username'%>

replaced

<% if post_last_edit_username%>

entirely?

I *think* the logic is correct.

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] No Edited by message? In reply to
No because that will print the edit message even if there is no editor because it just checks that the username isn't admin, but doesn't check if the post has actually been edited.

I think though my tags should go inside of:

<%if post_last_edit_username%>

..instead of outside like I originally said.

Last edited by:

Paul: Jun 8, 2003, 3:09 AM
Quote Reply
Re: [BLOOD] No Edited by message? In reply to
It needs to be 'eq' instead of '='. You could also just change the current tag to:

<%if post_last_edit_username and post_last_edit_username ne 'Your Admin Username'%>

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Quote Reply
Re: [Jagerman] No Edited by message? In reply to
This is a very good hack.

Works good - Thanks!

--------------------------------
Privacy Software