#1
Hi,

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


Thanks,
Nicolas
Topic Starter
  • nicolasiac
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    50.2%
  • Joined: 29/01/2013
  • Posts: 1
#2
Hello, please does anyone know if it is possible? Thank you.
  • Marinoco
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.2%
  • Joined: 19/04/2014
  • Posts: 2
  •  Woman 
  • Thanks: 1 times
  • Was thanked: 1 time(s) in 1 post(s)
#3
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]
  • JP
  • Rank: YAF Leader
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.
  • Joined: 08/01/2009
  • Posts: 398
  • Thanks: 86 times
  • Was thanked: 39 time(s) in 35 post(s)
#4
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 🙂
  • Marinoco
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.2%
  • Joined: 19/04/2014
  • Posts: 2
  •  Woman 
  • Thanks: 1 times
  • Was thanked: 1 time(s) in 1 post(s)
#5
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]
  • JP
  • Rank: YAF Leader
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.
  • Joined: 08/01/2009
  • Posts: 398
  • Thanks: 86 times
  • Was thanked: 39 time(s) in 35 post(s)
#6
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?
  • EssexMale
  • Rank: YAF Camper
  • Reputation:
    Friendly
    65.6%
  • Joined: 10/12/2013
  • Posts: 26
#7
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]
  • JP
  • Rank: YAF Leader
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for Bug Finder: Given for kick-assery at finding bugs by being excellent at QA.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.
  • Joined: 08/01/2009
  • Posts: 398
  • Thanks: 86 times
  • Was thanked: 39 time(s) in 35 post(s)
#8
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.
  • Zero2Cool
  • Rank: YAF Leader
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor for the Support Knight: Given to a community member who has assisted lots and lots of people!
  • Joined: 26/04/2011
  • Posts: 1,073
  •  Man  United States
  • Location: in a van down by the river
  • Thanks: 243 times
  • Was thanked: 101 time(s) in 92 post(s)
#9
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!
  • pipRaptor
  • Rank: YAF Camper
  • Reputation:
    Neutral
    58.4%
  • Joined: 18/11/2014
  • Posts: 14
  •  Italy
  • Thanks: 1 times
  • Was thanked: 2 time(s) in 2 post(s)
#10
In YAF 2.2.3 it will be possible to hide the Edited By Message via the host settings.
UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,005
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1207 time(s) in 1032 post(s)
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