YAFLogo

nicolasiac
  • nicolasiac
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Hi,

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

Thanks,

Nicolas

Sponsor
Marinoco
  • Marinoco
  • 51.2% (Neutral)
  • YAF Forumling
10 years ago
Hello, please does anyone know if it is possible? Thank you.
JP
  • JP
  • 100% (Exalted)
  • YAF Leader
10 years ago
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
  • Marinoco
  • 51.2% (Neutral)
  • YAF Forumling
10 years ago
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
  • JP
  • 100% (Exalted)
  • YAF Leader
10 years ago
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
10 years ago
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
  • JP
  • 100% (Exalted)
  • YAF Leader
10 years ago
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
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
8 years ago

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;} 

Originally Posted by: JP 

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
8 years ago
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
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
8 years ago
In YAF 2.2.3 it will be possible to hide the Edited By Message via the host settings.
miloniko
  • miloniko
  • 53.2% (Neutral)
  • YAF Forumling YAF Version: 3.1.8
8 months ago
It has been realized, don't know in which version, but you can find it under:

Host Settings -> Display -> Show Edit Message