nicolasiac
  • Posts: 1
  • Joined: 29/01/2013
Hi,

How can I prevent the "Edited by user" from being displayed in a a topic?


Thanks,
Nicolas
Sponsor
Marinoco
  • Posts: 2
  • Joined: 19/04/2014
Hello, please does anyone know if it is possible? Thank you.
JP
  • Posts: 398
  • Joined: 08/01/2009
There is no forum setting for this, but you could maybe hide it cosmetically with CSS..

In your theme.css file, find the editedinfo class...
If it's not there, add it as shown below. Otherwise edit it so it looks as below.

.yafnet .postfooter .editedinfo {
	display:none; 
} 


Hope this helps.
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
Marinoco
  • Posts: 2
  • Joined: 19/04/2014
Thanks for your reply.
It did not work, but I found the class name is probably different in my version. So I just changed it to
.yafnet .postContainer .MessageDetails {
    display: none; 
}

and it worked.
Thanks for your help 🙂
JP
  • Posts: 398
  • Joined: 08/01/2009
Yep, you are right...

I took a closer look and found that this is what did the trick for me to separate the "Edited by" from the message text with horisontal spacing and make it less "intrusive"...
It was some year(s) ago, so please forgive me for not remembering it 100% correctly today... 😁

.yafnet .MessageDetails {color: #505050; font-weight:normal; font-size: 9pt;padding-top: 30px;} 

He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
EssexMale
  • Posts: 26
  • Joined: 10/12/2013
I have just edited the theme.css files in version 2.1.2 and it doesn't seem to work. Any other suggestions?

Would you please make this as an option so it can be permantly disabled?
JP
  • Posts: 398
  • Joined: 08/01/2009
I agree with you that it should be a configurable option if possible. This option existed in the old Snitz Classic ASP forum software I used before moving to YAF.
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
Zero2Cool
  • Posts: 1082
  • Joined: 26/04/2011
Originally Posted by: JP 

Yep, you are right...

I took a closer look and found that this is what did the trick for me to separate the "Edited by" from the message text with horisontal spacing and make it less "intrusive"...
It was some year(s) ago, so please forgive me for not remembering it 100% correctly today... 😁

.yafnet .MessageDetails {color: #505050; font-weight:normal; font-size: 9pt;padding-top: 30px;} 



Thanks! Really annoying having the Edited By stuff visible all the time. I tried turning it off to save space in the database, but it keeps archiving a "history" of every edit.


One way to not show the Edited By is a setting in the
Administration » Host Settings

Post editing timeout:
Number of seconds while post may be modified without showing that to other users

I've set mine to 10,080 seconds.
pipRaptor
  • Posts: 14
  • Joined: 18/11/2014
Hi

You can also put the style within the code

Insert this lines at the beginning of "/page/posts.ascx"


<style>
    .yafnet .MessageDetails {
        display: none;
    }
</style>


...and it's done!
tha_watcha
  • Posts: 4132
  • Joined: 06/03/2010
In YAF 2.2.3 it will be possible to hide the Edited By Message via the host settings.
UserPostedImage
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved