GendrixonEvgeny
2017-11-10T15:34:34Z
A maximum of 15 characters and "..." How? prntscr . com/h8qi7t
Sponsor
tha_watcha
2017-11-11T16:22:20Z
Originally Posted by: GendrixonEvgeny 

A maximum of 15 characters and "..." How? prntscr . com/h8qi7t



For that you would need to modify the file ..\controls\ForumActiveDiscussion.ascx.cs

and change line..

var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"]));


to

var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"])).Truncate(15);





UserPostedImage
GendrixonEvgeny
2017-11-11T17:15:54Z
Originally Posted by: tha_watcha 

Originally Posted by: GendrixonEvgeny 

A maximum of 15 characters and "..." How? prntscr . com/h8qi7t



For that you would need to modify the file ..\controls\ForumActiveDiscussion.ascx.cs

and change line..

var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"]));


to

var topicSubject = this.Get<IBadWordReplace>().Replace(this.HtmlEncode(currentRow["Topic"])).Truncate(15);






Excellent, it works). Thank you so much!

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